Closed gojimmypi closed 5 years ago
Indeed this was the same problem as encountered in the GCode highlighter: the semi-colon delimited extensions are apparently not supported in VS2015, so explicit declarations were created for each like this:
//[Export]
//[FileExtension(".v;.verilog;.vh")] // semi-colon delimited file extensions (only works with VS2017 and VS2019)
//[ContentType("verilog")]
//[BaseDefinition("code")]
//[BaseDefinition("projection")]
//internal static FileExtensionToContentTypeDefinition VerilogFileType = null;
// semi-colon delimited file extensions doe not seem to work for VS2015 (but find for VS2017 and 2019)
// so we'll pull them out into different declarations
[Export]
[FileExtension(".v")]
[ContentType("verilog")]
[BaseDefinition("code")]
[BaseDefinition("projection")]
internal static FileExtensionToContentTypeDefinition VerilogFileTypeV = null; // the ".v" extension
[Export]
[FileExtension(".verilog")] // semi-colon delimited file extensions
[ContentType("verilog")]
[BaseDefinition("code")]
[BaseDefinition("projection")]
internal static FileExtensionToContentTypeDefinition VerilogFileTypeVerilog = null; // the ".verilog" extension
[Export]
[FileExtension(".vh")] // semi-colon delimited file extensions
[ContentType("verilog")]
[BaseDefinition("code")]
[BaseDefinition("projection")]
internal static FileExtensionToContentTypeDefinition VerilogFileTypeVH = null; // the " .vh extension
This is fixed in version 0.3.1 and can be downloaded from the marketplace here.
Extension not working in VS2015. Nothing highlighted in V0.2.1 nor 0.3.0. See similar issue that occured in GCode Language Extension