Eclipse

Eclipse是著名的跨平台自由集成开发环境(IDE)。最初主要用来Java语言开发,目前亦有人通过插件使其作为C++PythonPHP等其他语言的开发工具。
Eclipse的本身只是一个框架平台,但是众多插件的支持,使得Eclipse拥有較佳的灵活性。许多软件开发商以Eclipse为框架开发自己的IDE。

Setup

安装 SDK http://www.oracle.com/technetwork/java/index.html 

安装 IDE http://www.eclipse.org/downloads/ 

---Setup End---


EclipseJava

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---


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值