(New page: I often use :make to build my c++ project and then go through the compile errors and fix them using [http://www.vim.org/htmldoc/quickfix.html QuickFix]. This simple tip shows how you can ...) |
(Change <tt> to <code>, perhaps also minor tweak.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{TipNew |
||
⚫ | |||
+ | |id=1617 |
||
+ | |previous=1616 |
||
+ | |next=1618 |
||
+ | |created=2009 |
||
+ | |complexity=basic |
||
+ | |author=Gdw2 |
||
+ | |version=7.0 |
||
+ | |subpage=/200902 |
||
+ | |category1= |
||
+ | |category2= |
||
+ | }} |
||
⚫ | |||
+ | This simple tip shows how you can use <code>:make</code> to use Quickfix with [http://www.stack.nl/~dimitri/doxygen/ doxygen]. |
||
⚫ | |||
⚫ | |||
<pre> |
<pre> |
||
− | $doxygen -g |
+ | $doxygen -g |
</pre> |
</pre> |
||
⚫ | |||
− | The above command generates a generic doxygen configuration file and runs doxygen storing errors/warnings in errors.txt. (It also generates the documentation in the same folder). |
||
− | |||
⚫ | |||
− | |||
<pre> |
<pre> |
||
− | :set makeprg= |
+ | :set makeprg=doxygen |
− | :make |
+ | :make Doxyfile |
</pre> |
</pre> |
||
− | Quickfix will then allow you to go through your doxygen errors as you would through gcc errors |
+ | Quickfix will then allow you to go through your doxygen errors as you would through gcc errors. |
+ | ==Comments== |
||
− | I'm sure there's a much more glamorous way to do this. |
Revision as of 06:39, 13 July 2012
Tip 1617 Printable Monobook Previous Next
created 2009 · complexity basic · author Gdw2 · version 7.0
I often use :make
to build my C++ project and then go through the compile errors and fix them. :help quickfix
This simple tip shows how you can use :make
to use Quickfix with doxygen.
From the shell command line, generate a default config file:
$doxygen -g
From within Vim do the following:
:set makeprg=doxygen :make Doxyfile
Quickfix will then allow you to go through your doxygen errors as you would through gcc errors.