IntelliJ IDEA 4 新特性 之 IDE Customization (IDE定制)
扫描二维码
随时随地手机看文章
This feature is ideal for complex projects, with multiple internal dependencies, and especially for J2EE projects. Module is a separate logical part of a project that incorporates your working sources, libraries, reference to target Java SDK, etc. It can be compiled, run or debugged as a standalone entity. A project may consist of one or multiple modules. Modules may depend on each other. Modules can be of the following types: Java modules, EJB modules, Web modules and J2EE Application modules. Modules and libraries can be easily shared among multiple projects.
(这一特点针对复杂的工程尤为理想,特别是J2EE工程。Modules是工程的一个独立部分,它可以包含你的源代码,库,以及目标程序的SDK帮助文档等等,他也可作为一个独立的部分进行编译、运行和调试,一个工程很可能有一个或多个Modules 组成,Modules 间可以相互访问,Modules 以以下几种方式呈现:Java modules, EJB modules, Web modules 和 J2EE Application modules。Modules 和库可以很容易被别其他工程使用)
Appearance of IDE is fully customizable(IDE外观的完全定制)
If you have special preferences in how the IDE should look, from terms of font type and size, applied Look and Feel, position of different windows and the way they appear, etc., this can all be easily achieved using the rich set of the Appearance options available in the IDE Settings dialog.
(你可以通过一些参数设定来改变IDE的外观,从语法突出字体大小外观到到各窗口的样式等等的这些外观选项都可以轻易的通过IDE设置对话框来改变)
This standard UI appearance can be, for example, changed to look as follows:
(例如,标准的UI可以切换成下面的风格)
Customizable editor colors and fonts, with possibility to have multiple configurations(您订制的编辑的字体颜色可以保存)(multiple configurations多配置,就是可以相互切换的意思)
All colors and fonts in the editor are customizable. They can be defined on a file-type basis and previewed directly in the dialog. Each set of definitions can be stored under a unique name, for future use.
(所有的颜色字体均可订制。可以根据文件类型逐个定制,并直接预览,你还可以将你的设置保存起来,以后使用)
Customizable syntax highlighting for arbitrary file formats(对任意文件格式进行语法突出显示)
While IDEA supports such file formats as java, jsp, html and xml, as well as allows users to define custom file formats, it is also rather easy to configure the IDE in such a way that each file format will have its syntax highlighting colors shown according to your personal preference.
(IDE支持各种文件格式,如 java、 jsp、 html 、 xml等,而且还允许用户用过参数设置来自由定值未知文件格式的语法突出,就象定制java、 jsp、 html 、 xml这些文件一样容易)
Differentiating of local variables, parameters, static and instance fields by color(对局部变量、参数、静态类型以及实例域(属性)的颜色区分)
For java files, you can tune highlighting so that local variables, static fields, instance fields and parameters differ from each other by color, background or font effects.
(对于Java文件,你可以调整局部变量、参数、静态类型以及实例域的颜色、背景、合字体效果)