Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Browse information

Quite a few functions of Visual D rely on proper browse information being generated by the compiler. These are files listing classes, functions, etc. and their types and source location. The file format used is JSON, that's why they are often referred to as JSON-files here. Generating these should be enabled on the project configuration page "Documentation":

source:wiki/prop_doc.png

Apart from the browse information of the projects in the solutions, other JSON files can be stored in the directories given in the global options.

Browse information for the standard runtime library

To build browse information for the standard runtime library, you can use the command "Build phobos browse info" from the Visual D menu. This will compile the JSON files from the DMD installation given on the global options page.

The files will be written to the first directory of the JSON paths specified on the same page. If none is given, a directory in the Visual D installation folder is used. Please make sure that you have write access to that directory.

Object Browser and Class View

The browse information read from the JSON files can now be browsed by the Visual Studio Object Browser and Class View.

source:wiki/objectbrowser.PNG