因爲用於Android開發的Eclipse 不支持cpp 語法高亮,html
只要增長以下的插件便可實現漂亮的cpp 語法高亮.app
1.下載jar 插件. http://gstaff.org/colorEditor/download.html 下載頁面eclipse
2.安裝插件. 很是簡單 直接複製到c:/apps/eclipse/plugins. 重啓Eclipse 便可.spa
Installation is simple.插件
- Drop the jar into your Eclipse plugins directory. (No need to unzip if you're using > Eclise 3.1). For example c:/apps/eclipse/plugins.
- Restart Eclipse, once Eclipse is restarted you should be able to use the colorEditor by selecting a file. If there is already a default editor for the file you would like to edit you can right mouse click and choose Open With | Syntax Coloring Editor
附送截圖