Eclipse
Eclipse是著名的跨平台的自由集成开发环境(IDE)。最初主要用来Java语言开发,目前亦有人通过插件使其作为C++、Python、PHP等其他语言的开发工具。
Eclipse的本身只是一个框架平台,但是众多插件的支持,使得Eclipse拥有較佳的灵活性。许多软件开发商以Eclipse为框架开发自己的IDE。
Setup
安装 SDK http://www.oracle.com/technetwork/java/index.html
安装 IDE http://www.eclipse.org/downloads/
---Setup End---
EclipseJava
>安装Eclipse for Java
Skills
>Ctrl+1 Nearest error
>Ctrl+O Quick view
>Ctrl+Space Content assist/Code templates
>Ctrl+Shift+T Open Type
>F3 Open Declaration
>F4 Open Type Hierarchy
>Ctrl+T Quick Type Hierarchy
>Search -> Java search, Select References -> Workspace, Navigate -> Open Call Hierarchy
>Refactor -> Extract Method
>Source -> Organize Imports
>Local History -Replace With -> Element from Local History; -Restore from Local History
>Use tools to New package, class, function
>Refactor -> Rename, Refactor -> Move
Run >Run Configurations Settings, Run As -> Java Application Launch
Debugging
>Debug As, debug button
>Inspect -Watch, Java -> Debug -> Logical Structures
>Window -> Show View -> Display type the expressions like "fFull.size()", RMC->Display will show the content Or RMC-> Inspect
>Evaluating snippets New -> Other -> Java ->Java Run/Debug -> Scrapbook Page, type "System.getProperties()"
EclipseCPP
>Install the eclipse for C++
>下载MinGW, Windows下的C编译器
CDT C/C++ Development Toolkit, Windows下,MinGW和Cygwin 是获取GNU toolchain的2种主要方式(GNU toolchain,GNU下一系列的工具包,gcc g++...)
两者最大的区别是MinGW使用Windows C的运行库,叫做mscvrt,而Cygwin使用了一组基于GPL的DLLs(GPL协议具有传染性,使用GPL协议下的软件开发的东西也要遵守GPL协议),因此MinGW避开了GPL协议。
>安装MinGW, Do not install the MinGW Make feature as the MSYS version of make from step 5 is a more complete implementation of make.
>设置minGW, 假设MinGW安装在C盘根目录下 "PATH" = "C:\MinGW\bin;%PATH%"(包括用户变量和系统变量path) "LIBRARY_PATH" = "C:\MinGW\lib" "C_INCLUDE_PATH" = "C:\MinGW\include"
在运行栏里输入cmd,进入DOS窗口,输入 mingw32-make.exe -version 列出版本信息: GNU Make 3.82 Built for i386-pc-mingw32...
注:mingw是纯绿色软件,如果要在其它机器上安装,只要把本机的mingw目录复制过去就行
http://sourceforge.net/projects/mingw/files/
>Makefile里的行首缩进用的是Tab而不是空格。如果编译时提示 No separator...就是这里有问题
>打开已有工程 File-> import-> existing project into workplace
---Eclipse End---