Skip navigation.

陷入虚无的天狼

Vim - DoxyGen Highlighting on top of c/c++/java

http://www.jeffhung.net/blog/articles/jeffhung/447/
   1. 建立 ~/.vim/after/syntax 目录;
   2. 自网页上下载 [URL=http://vim.sourceforge.net/download.php]doxygen[/URL];
   3. 解开后得到 doxygen.vim 与 doxygen.txt 两个文件,前者是 syntax ,后者是说明。
      都放到 ~/.vim/after/syntax 目录下;
   4. 对于每一个想要使用 doxygen syntax coloring 功能的文件类型,做一个 soft link 如下:

      cd ~/.vim/after/syntax;
      ln -s doxygen.vim c.vim;
      ln -s doxygen.vim cpp.vim;
      ln -s doxygen.vim java.vim;

   5. 如果是在 Windows 下,那就在第四步時改用 copy。


另外,以下是看到的几套,doxygen 整合其他 IDE 的 solutions:

* Eclox - Eclox is a simple doxygen frontend plug-in for eclipse.
* Doxbar - DoxBar is an add-in for using doxygen from within Developer Studio (VC6).
* DoxyComment for Visual Studio 2005 - DoxyComment is an add-in for Visual Studio 2005, which can help you insert comment blocks in C/C++ code. Comment blocks are generated based on the current context of the cursor. The add-in integrates nicely into Visual Studio, so you can bind your favourite short-cut keys to its commands.

web2.0下的几个网站张大春-《小说稗类》

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

November 2009
S M T W T F S
October 2009December 2009
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30