//安装eclipse
sudo apt-get install eclipse
//安装ADT必要环境
sudo apt-get install eclipse-pde
sudo apt-get install eclipse-jdt
2、选择Help->Install New Software...,在Work with的框框下复制下面的地址: http://download.eclipse.org/releases/galileo
3、选择Collaboration->Mylyn Bridge: C/C++ Development,安装,重启eclipse。
4、选择Programming Languages->Eclipse C/C++ Development。
一、C/C++环境配置:Window - Preferences - C/C++
1、Appearance,选中Group method definitions in the Outline view
2、Code Style,通过New来新建一个代码风格,命名为qpsoft,且初始化为BSD/Allmain,然后按习惯修改一些细节。我建议是采用默认的,或许是我过去编Java编写习惯的原因。可按自己的意愿来。
3、Editor - Content Assist - Auto-Activation - Delay(ms),原值为500,改为100,则智能提示速度将非常快!
4、Indexer,清空Files to index up-front的内容,修改Cache limits的值,尽可能大,可以提高速度!
二、修改智能提示快捷键:
Window - Preferences - General - Keys,输入Content,找到Content Assist,在Binding中修改为Shift+Space,要顺手的多。
我觉得这个可以按照自己的习惯来,呵呵。
三、其他设置
1. Window - Preferences - General - Editors - Text Editors,选中Show line numbers,设置Print margin column为110
2. Window - Preferences - General - Workspace,取消Build automatically,选中Save automatically before build
对于这个设置,我有点不明白,不过我也按照他这样设置了。如有明白的,看到这篇文章,望留言解答。
四、通过插件扩展功能
1. 支持Subversion:Eclipse官方出品,主页位于http://www.eclipse.org/subversive/。
在安装时可以通过Help->Install New Software...,在work with框框复制地址:http://download.eclipse.org/technology/subversive/0.7/update-site/
sudo apt-get install eclipse
//安装ADT必要环境
sudo apt-get install eclipse-pde
sudo apt-get install eclipse-jdt
//安装ADT插件
2、选择Help->Install New Software...,在Work with的框框下复制下面的地址: http://download.eclipse.org/releases/galileo
3、选择Collaboration->Mylyn Bridge: C/C++ Development,安装,重启eclipse。
4、选择Programming Languages->Eclipse C/C++ Development。
按照上面的安装老是报错后来这样安装成功
1. sudo apt-get install eclipse-cdt一、C/C++环境配置:Window - Preferences - C/C++
1、Appearance,选中Group method definitions in the Outline view
2、Code Style,通过New来新建一个代码风格,命名为qpsoft,且初始化为BSD/Allmain,然后按习惯修改一些细节。我建议是采用默认的,或许是我过去编Java编写习惯的原因。可按自己的意愿来。
3、Editor - Content Assist - Auto-Activation - Delay(ms),原值为500,改为100,则智能提示速度将非常快!
4、Indexer,清空Files to index up-front的内容,修改Cache limits的值,尽可能大,可以提高速度!
二、修改智能提示快捷键:
Window - Preferences - General - Keys,输入Content,找到Content Assist,在Binding中修改为Shift+Space,要顺手的多。
我觉得这个可以按照自己的习惯来,呵呵。
三、其他设置
1. Window - Preferences - General - Editors - Text Editors,选中Show line numbers,设置Print margin column为110
2. Window - Preferences - General - Workspace,取消Build automatically,选中Save automatically before build
对于这个设置,我有点不明白,不过我也按照他这样设置了。如有明白的,看到这篇文章,望留言解答。
四、通过插件扩展功能
1. 支持Subversion:Eclipse官方出品,主页位于http://www.eclipse.org/subversive/。
在安装时可以通过Help->Install New Software...,在work with框框复制地址:http://download.eclipse.org/technology/subversive/0.7/update-site/