Chinaunix首页 | 论坛 | 博客
  • 博客访问: 253665
  • 博文数量: 65
  • 博客积分: 2599
  • 博客等级: 少校
  • 技术积分: 710
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-04 10:49
文章分类

全部博文(65)

文章存档

2015年(4)

2013年(2)

2012年(4)

2011年(51)

2010年(4)

分类: LINUX

2011-12-07 14:51:24

都是从网上整理来的!
0. 配置参考:http://eclipsebook.in/c-cpp-development/

1. 字体:
打开eclipse   windows->preferences->General->apperance->colors  and fonts->Basic->Text Font

2. color scheme:
安装Color Theme Plugin
Windows->Eclipse Marketplace 在里面选择安装
在windows->preferences->General->apperance-》Color Theme里面选择。

3. Doxygen支持:
工作空间默认
Windows -> Preferrences -> C/C++ -> Editor -> Documentation tool comments
默认为none,修改为Doxygen即可
工程特别属性
如果不想设置为整个工作空间的默认属性,可以在工作属性对话框的这里找到:
Project -> Properties -> C/C++ General -> Enable project specific settings
选择Doxygen即可

Check for doxygen     You may well already have doxygen installed, but if not you can install it at the same time as the plugin below via the update site
Install Eclipse plugin:
"Eclox"
    * Eclox is a frontend plugin for Eclipse.
    * Install it using the Eclipse Update Manager
    * To do this go to Help -> Software Updates...
    * Select the 'Available Software' tab then the 'Add Site...' button
    * Enter as the location
    * Eclipse will add the site to the list and you can open the tree to select and install Eclox

You're done! Try!

    * You'll now have a 'build doxygen' button in your toolbar (a blue '@')
    * The first time you click it you'll be prompted for the configuration file. Point it at Build/Mantid.doxyfile
    * This will run doxygen, showing the output in the console and adding warnings symbols on the source files (as for compilation warnings). Hovering over these will show the warning.
    * The documentation will go into Doc/html

配置好的Doxygen模板:


4. C/C++ CodingStyle
选择一个,然后自己重新改。
4.1 Code  Template      :ville_c&c++_coding_style.xml
4.2 Comment Template:ville_c&c++_comment_style.xml

阅读(1992) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~