Visual Studio 2017, might works with older versions, didn’t try it.
- Syntax coloring + same word highlight. The colors can be changed from Visual Studio “Font and Colors” options, except for the highlight same word. Colors mapping is the following:
- Mercury Comment: Comment
- Brace matching: Brace matching
- String literal: String
- Mercury variable: C++ macros
- Keyword: keyword
- Go to definition
- Find all references: in order to use this functionality you need to open the Output window manually: View -> Output
- Auto-completion: uses tokens from current module and declarations from imported modules. Most of them are approximate, due to the fact that I don’t a have a full Mercury parser.
In order to be able to profit from this plugin functionalities, you need to set up the configuration from Visual Studio options like this: