Fandom

Vim Tips Wiki

Vim Doclet

1,625pages on
this wiki
Add New Page
Talk0 Share
Tip 1533 Printable Monobook Previous Next

created 2007 · complexity intermediate · author David Copeland · version 7.0


By running a doclet on the JDK source code, you can put the resulting Vim help files in your help path and read Javadoc from directly within Vim. :help String and :help java.util.List bring up the javadoc for those files, within Vim. Everything's hyperlinked and the entire javadoc is present.

If you set keywordprg to blank, you can do a K on any Java keyword and bring up the javadoc quickly. This has really cut down on the amount of time I spend outside Vim while coding.

Go to vimdoclet.sourceforge.net to download the doclet and see what the output looks like. There is a sample download of javadoc for java.lang and java.util if you'd like to try it out before running the doclet.

CommentsEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.