sponsor Vim development Vim logo Vim Book Ad

Dscanner : Autocompletion for the D language.

 script karma  Rating 13/4, Downloaded by 1068  Comments, bugs, improvements  Vim wiki

created by
Idan Arye
 
script type
ftplugin
 
description
Dscanner is a D source code analyzer created by Hackerpilot. This plugin uses Dscanner to provide autocompletion for class/struct/object/enum members, for function calls, and for scope and version statements.

This plugin is developed  under the Dscanner repository in GitHub:
Main repo: https://github.com/Hackerpilot/Dscanner
Vim plugin repo: https://github.com/Hackerpilot/Dscanner/tree/master/editors/vim
 
install details
Installation and Configuration:

Put the autoload and ftplugin folders in your vim runtime path.

Compile dscanner and put it in your path, or set the global variable g:dscanner_path to where you put dscanner.

If you need to use an include path, use the global variable g:dscanner_includePath as a list of those paths.


Using on Windows:

Under Linux, Dscanner reads /etc/dmd.conf to get the default include paths. The equivalent file in Windows - 'sc.ini' - does not have a fixed location, so you need to configure the import paths manually. You need the \src\phobos and \src\druntime\import folders from where you installed dmd. For example,

let g:dscanner_includePath=['C:\Program Files\dmd2\src\phobos','C:\Program Files\dmd2\src\druntime\import']
 

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
Dscanner.zip 1.0 2012-12-13 7.3 Idan Arye Initial upload
ip used for rating: 142.132.191.50

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