Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

Language Support in the Editor

Syntax Highlighting

The colorizer can be configured in the "Editor" setup page of the language settings in Tools->Options->Text Editor->D->Editor:

You can manipulate coloring of identifiers by assigning them to a different color category: if prefixed with one of the section names, they will be highlighted accordingly. The available color categories are:

Without any section given, [Type] is assumed. Here's an example how to map "string" to keyword coloring:

[Keyword]
string

Code Completion and Navigation

Selecting "Open Language options" from the Visual D Menu will take you directly to the global options page for code completion.

This is where you can configure what happens if you want to see code completion.

Triggering completion an import statement will always complete the token from the files and folders available in the import directories.

More features

You might want to check the following features: