想找一个合适的TinyOS编辑器都很困难,更别说是集成开发环境了,经过一段时间的搜索,总结一下现有的编辑器/IDE如下 1.Vim+ctags+grep 听说很不错,但是基于linux平台,玩不转。2.UltraEdit32 +NesC wordfiles只能高亮语法, 支持代码折叠, 脚本扩展机制也很强大。不过偶不会配置脚本,只能拿来简单的看和编辑代码用用... 3.eclipse插件nescdt,只能高亮语法。 严重推荐:4.eclipse插件Yeti 2(http://tos-ide.ethz.ch/wiki/index.php)实时代码验证,语法高亮,导航到引用和定义...功能较完整,基本上可以算是TinyOS的IDE。Key Features* Realtime code validation* Syntax highlighting* Context sensitive code completion* Hyperlink navigation across files and to definitions* Search for declarations and references* Compilation & flashing from within Eclipse* Component graph* Outline view* C preprocessor view* Stub generation for interfaces* MIG & NCG support 程序运行图: 附生成组件关联图一张: