-
Notifications
You must be signed in to change notification settings - Fork 77
Syntax highlighting does not work in 2013 now #1194
Comments
Does any other feature work, like Highlight references or Rename refactoring? |
No, no |
If I remember correctly, some people had this issue on win 10 and it's been resolved by installing VFPT under administrative privileges. @dungpa, am I right? |
Yeah, please try to remove and reinstall the extension using Admin accounts. |
does installing the extension from VS that started under Adming account counts? I 99% certain my collegue did so and still had the same issue. We both have win10. Anyway I will try reinstalling tomorrow at work. |
Nope, does not work. I installed the tools using VS in admin mode. I installed in launching FSharpVSPowerTools.vsix from the elevated app. Is there any log file I could provide you? |
Try to click on the VSIX and launch "Run as Administrator". |
@marhoily Could you try to (1) remove the extension (2) download the vsix and (3) Run the vsix as an elevated app? If it doesn't work, you may find some F# Power Tools entries in C:\Users\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml. |
@vasily-kirichenko That's why I said I tried to launch it from an elevated app. I do not know how to click on it and launch "Run as Administrator" :) Could you give instructions on how to do it? @dungpa here is the log of my last session of work on f# code. https://onedrive.live.com/redir?resid=7735C81255E71EA7!25810&authkey=!AOX4ZxYD3S02fag&ithint=file%2cxml |
@marhoily The issue I mentioned is this one github/VisualStudio#28 (comment). Could you log in as an Admin user and click to install? |
I'm sorry guys, I'm not an expert in UAC. vsix does not have a context menu item "run as administrator". I am logged in as an admin. I tried running total commander as admin and then launching the vsix from there. It did not help. I repeat: it did not. |
Did you remove the extension from Visual Studio before installing the downloaded version? Do you have the installation log of the extension? I don't know where things go wrong since there is no error in the log files you attached above. |
I do uninstall before reinstalling. I have done that 5 times by now. the log I provided is the installation log of extansion as far as I understand. If you explain how to retrieve better log I will. I think that is it: plugin get's installed correctly and there must be some other issue inside. |
Sorry for the confusion. When you install the extension, Another way to ensure Admin installation is to run |
here are log files that accumulated in my temp folder over the last couple of days. https://onedrive.live.com/redir?resid=7735C81255E71EA7!25861&authkey=!AE1XIksgFiQ-Zqc&ithint=folder%2clog as you can see even in the oldest log when I installed the plugin without elevated permissions there were no errors As to installing elevated I've done it as you proposed. it did not help. I am 100% sure now that the plugin is installed in elevated |
just accept it: there must be something else wrong |
Yes, it's installed successfully. Sorry. Could you enable Diagnostics mode and check Output windows http://fsprojects.github.io/VisualFSharpPowerTools/faq.html#What-is-Diagnostic-mode-When-should-I-use-it? There might be relevant information. Thanks. |
This is all I've got in the output: [VFPT][Information 05:29:43 PM] [SyntaxConstructClassifier] [Fast stage] [VFPT][Information 05:30:04 PM] [SyntaxConstructClassifier] [Fast stage] [VFPT][Information 05:30:04 PM] [SyntaxConstructClassifier] [Fast stage] [VFPT][Information 05:30:44 PM] [SyntaxConstructClassifier] [Fast stage] [VFPT][Information 05:30:44 PM] [SyntaxConstructClassifier] [Fast stage] |
If I had to guess I would say that vfpt or some module of it just fails to initialize earlier than it is able to log about it |
I'm seeing this same behavior on all of our systems with VS 2013 here - some of which are Windows 7, some Windows 10. Installing extension as an administrator has no effect. Most other functionality seems to work, but the coloring doesn't seem to do anything. |
I have the same problem on VS 2015, but it colors types at least. In VS 2013 everything works ok. |
It seems syntax coloring does happen but colors are reset to default ones. Until we know how to fix this, please try to modify colors manually on Fonts and Colors dialog. |
@dungpa is correct - I was wrong - it seems like it just stomps the colors back to black on white, so it looks like its doing nothing until you manually overwrite them. |
Fixed long ago. |
On the screenshot you can see a sample code that contains a lot of syntax elements that should have been coloured:
I'm using the following version of the extension:
And here is why I think the colorization should be on:
And here is why I think the colors in settings do not work:
The text was updated successfully, but these errors were encountered: