-
Notifications
You must be signed in to change notification settings - Fork 0
Open a Java source file from its import statement
vim-scripts/javaimp.vim
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a mirror of http://www.vim.org/scripts/script.php?script_id=75 Set of functions to open a Java import statement as a file. Maintained by Darren Greaves http://boncey.org/showBlog.go?id=138 Suggested stuff to add to your ~.vimrc: let $JAVASOURCEPATH="$SERVLET_HOME/src/share,$JAVA_HOME/src,$XML_HOME/src" map H :call OpenJavaImport($JAVASOURCEPATH)<CR> Then press H while on a import line and the file should open (you'll need the source files and the path to have been set already. The paths in $JAVASOURCEPATH should have the source packages directly underneath each path. The script needs to be able to add the package to the path element and open a file.
About
Open a Java source file from its import statement
Resources
Stars
Watchers
Forks
Packages 0
No packages published