自迁移出 MediaWiki 以来,本页内容尚未经过审查。如果您愿意帮忙,请查看帮助指南!
An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger. Most modern IDEs offer intelligent code completion features. ImageJ 可以使用任何支持 Maven 的 IDE 进行开发,其中包括:
Why use an IDE?
There are many advantages of using an IDE for software development:
- It is easy to access documentation about classes (i.e. javadoc): just point your cursor over the name of the class, or press the keyboard shortcut (e.g., in Eclipse: ⇧ Shift + F2).
- 您可以使用代码补全:只需键入要使用的类名、变量、方法等的开头,然后按键盘快捷键(例如,在 Eclipse 中:⌃ Ctrl + ␣ Space)。 3、编译错误以简明列表列出;双击该列表中的一行会将光标移动到问题处。
- 您可以debug your program interactively:仅打开主类(即具有
public static void main(String[] args)方法的类)并在调试模式下启动它。例如,在 Eclipse 中:转到 Run › Debug As › Java Application)。这将切换到不同的窗口布局(调试透视图),它为您提供一系列对调试有用的视图,例如:局部变量、线程堆栈跟踪等。您可以随时通过单击暂停符号来中断程序并检查当前状态,单步执行代码,甚至可以即时替换有限数量的代码。 - 最重要的版本控制系统可以通过IDE的GUI轻松访问。
- 有很多很棒的键盘快捷键,对于快速探索大型项目特别有效。 (参见例如keyboard shortcuts for Eclipse)。
- 可以通过插件来增强它们。例如,对于 Eclipse,Vrapper plugin 添加了类似 vim 的输入方案。
现代 IDE 的主要缺点是它们非常大并且需要大量资源,尤其是 RAM 和屏幕尺寸。
