Eclipse IDE学习笔记
For Eclipse plug-in Project
快捷键
方法提示: alt+/
删除: ctrl+D
undo: ctrl+Z
redo: ctrl+Y
source提示: alt+shift+S
comment: ctrl+/
comment: ctrl+shift+/
1.Menu(菜单栏)
File
New(新建工程)
new plug-in project
- Project-->Plug-in Development-->Plug-in Project
- "Would you like to create a rich client application" is set to "Yes".
Import(导入现有工程)
existing project
- General-->Existing Project in workspace
Export(导出工程成jar包)
如果是Eclipse Plug-in工程,需选择Plug-in Development
Edit
Source
Refactor
Navigate
Search
Project
Run
- Run
- Run Configurations
- Debug
- Debug Configurations
Window
Preferences(首选项)
Help
2.Window(窗体)
2.1.Editor(用来编程的主界面)
PDE-Editor (Plug-in Development Enviroment Editor)
2.1.1.[Overview]Tab
2.1.2.[Dependencies]Tab
2.1.3.[Runtime]Tab
2.1.4.[Extensions]Tab
2.1.5.[Extension Points]Tab
2.1.6.[Build]Tab
2.1.7.[MANIFEST.MF]Tab
2.1.8.[plugin.xml]Tab
2.1.9.[build.properties]Tab
2.2.Package(资源管理器)
2.2.1.General Project Hierarchy(文件结构)
-
|- .classpath
|- .project
|- build.properties
|- HelloTeamcenter.launch
|- plugin.xml(插件)
|- fragment.xml(插件片段)
|- feature.xml (功能部件)
|- META-INF/
|- MANIFEST.MF(jar package metadata)
|- .settings/
|- ...
|- icons/
|- ...
|- lib/
|- ...
|- bin/
|- ...
|- src/
|- ...
2.2.2.Java Project Hierarchy(文件结构)
2.2.3.Plug-in Project Hierarchy(文件结构)
-
|- .classpath
|- .project
|- build.properties
|- HelloTeamcenter.launch
|- plugin.xml(插件)
|- fragment.xml(插件片段)
|- feature.xml (功能部件)
|- META-INF/
|- MANIFEST.MF(jar package metadata)
|- .settings/
|- ...
|- icons/
|- ...
|- lib/
|- ...
|- bin/
|- ...
|- src/
|- ...
2.3.Preferences(首选项窗体)
2.3.1.添加平台
- Plug-in Development -->Target Platform
- Add按钮-->%TC_ROOT%\portal 文件夹
2.3.2.Eclipse workspace
- General > Startup and Shutdown 选中 Prompt for workspace on startup
- or configuration.settings\org.eclipse.ui.ide.prefs 修改RECENT_WORKSPACES
2.3.3.调整字体
- General-->Appearance-->Color and Fonts-->Basic-->Text Font
2.4Debug Configurations(调试设置页面)
2.4.1.[Main]Tab
2.4.2.[Arguments]Tab
3.Plug-in 插件
subclipse(SVN工具)
GUI 工具
- Visual Editor(VE)
- SWT Designer
- jigloo
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。