sponsor Vim development Vim logo Vim Book Ad

d.vim : Filetype plugin for D

 script karma  Rating 0/0, Downloaded by 560  Comments, bugs, improvements  Vim wiki

created by
Alexander Suhoverhov
 
script type
ftplugin
 
description
Not much is done yet. It has the following features:
- Autoimport. Searches the tags file for the symbol under the cursor and adds import to the module where it is declared. Default keybinding is <LocalLeader>i
- OrganizeImports. Removes duplicates, groups imports by root packages and sorts them alphabetically. It won't break your selective and renamed imports and won't touch versioned imports. Default keybinding is <LocalLeader>o

To include libraries in import search put symlinks to them in your project directory so that ctags can find the sources.
 
install details
Unpack to $HOME/.vim or %HOME%\vimfiles

You'll need patched ctags for it to work. The patch is here: http://www.prowiki.org/wiki4d/wiki.cgi?ReferenceForTools/ExuberantCtags
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
d-0.0.1.tar.bz2 0.0.1 2009-02-01 7.0 Alexander Suhoverhov Initial upload
ip used for rating: 204.236.220.47

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github