Open ghost opened 8 years ago
Do you have VS 2015 Update 3 installed?
@madskristensen Yes, it is the 14.0.25431.01 Update 3 version.
Perhaps it's ReSharper interfering. If you have it installed, will it work if you disable it?
@madskristensen no, I haven't installed ReSharper.
Can you check that there is a bunch of folders inside %userprofile%\.vs\Extensions
?
@madskristensen yes, there are folders for each language.
I've got the same issue on VS2015 Enterprise - Version 14.0.25431.01 Update 3 Using Version 2.1.89
I had the same problem. Are you using any custom Visual Studio theme? The 'Visual Studio Extension for TextMate Grammars' seems to work with only the basic VS themes (light, dark, blue). See https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/15880407-add-theme-support-for-textmate-syntax-extensions and https://connect.microsoft.com/VisualStudio/Feedback/Details/2343983 I've found a workaround and posted it at the second link, in " Workarounds" section.
I'm using the standard "dark" theme. I've tried changing it back to "light" (the default) but the highlighting still doesn't appear.
I'm using the standard theme @PeterMacej
I have two installations of VS2015 Update 3 (a 64-bit desktop and a 32-bit laptop, both Windows 10 using the standard "dark" theme) that fail to show syntax highlighting for .cmd and .lisp files. On the same systems, I've installed VS2017RC and the syntax highlighting and vertical dashed lines worked on my Windows 10 64-bit machine for a while until I restarted VS :-(
@markhurd Can you check that there is a bunch of folders inside %userprofile%.vs\Extensions?
No, but %userprofile%\.vs\Extensions has folders on both systems,
I've now had syntax highlighting appear in VS2017RC on the 32-bit laptop. I have no idea what caused it to start working. I haven't yet restarted to confirm I'll lose it again, and, in differences panels, it's only working for the old file, not the current one.
For sake of others looking for the "workaround" - https://connect.microsoft.com/VisualStudio/Feedback/Details/2343983 link provided by @PeterMacej no longer works (connect website has been shut down). The "workaround" is to modify:
c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\XXXXXXXX.YYY\Starterkit\Themes\theme.metadata
where XXXXX.YYY
is some (random) auto generated identifier, and add the lowercase name of your theme into vs-themes
and default
.
Make sure you select the latest (newest) version of the extension with TMLanguage.pkgdef
file in its root folder not TMLanguage.pkgdef.deleteme
, which is there in the old (inactive) extensions.
P.S. I have lost couple of hours to find this workaround, all because "connect" site was shut down in favor new site, but the tickets were not migrated, essentially making all archives not accessible anymore. 😢
Installed product versions
Description
Extension not run in my environement. I have tried a .go file. a .lisp file, a .yml file but no syntax highlighting appears.
Steps to recreate
Current behavior
Code visualized as plain text.
Expected behavior
Syntax highlightning.