-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No highlighting on fresh VS2017 installation #17
Comments
Same issue here, VS2017 Enterprise 15.4, got the "Shader Language" title under 'Options->Text Editor', but no highlight in editor view, no 'Nshader- ...' titles under 'Options->Environment->Fonts and Colors'. |
Same here with VS2017 Enterprise 15.3.4 |
Same issue on Community 15.4.2. Hoping this gets fixed soon. |
can used for vs2017? |
Same here, |
MStachowicz Could you tell us what version of VS you are using? I have tried that, but it didn't fix the problem for me. |
@Schmerzmittel Hey VS is community 2017 15.4.4 using NShader 2.4 |
Okay, guys. I think I figured out something. My VS was in different language. When I changed it to English, the shader started to work again. I don't know how many of you are using VS in different language, but if you are using VS in different language, maybe you can change it to English. |
Same issue here. Visual Studio is using English. Mapping the extensions to NShader did not work. |
Same here, the .fs file extension had a bit of highlighting before using NShader, after adding .fs to the list it became just plain white text in the editor. |
I checked the install log and it said: |
@rienik Thanks, i can confirm that fixed the issue for me as well. |
@rienik Dang, that works indeed! Maybe some additional info: Highlighting used to work until I updated Visual Studio 2017 some days ago. Also installed the latest Windows SDK in addition to previously installed Windows SDKs. Afterwards highlighting was not working anymore. |
@rienik your solution works for me as well. Thanks. |
The issue seems to have reappeared for me. Highlighting has disappeared |
Same here: the issue has reappeared even though Currently, it is working again (by accident?). I have uninstalled and installed it three times in a row. I have no idea, why it behaves that way. Does Visual Studio write to a logfile about problems with extensions? |
Happened again after Windows update KB4074588. |
I am rather certain this is extension is simply broken on VS2017.
|
Sorry I just haven’t had time to maintain this lately. I would suggest you give HLSL Tools a try https://github.com/tgjones/HlslTools
I’m also happy to take pull requests that fix bugs. I won’t have time to look at these bugs for another couple of months at the earliest.
… On 6 Jun 2018, at 6:13 am, ForeverZer0 ***@***.***> wrote:
I am rather certain this is extension is simply broken on VS2017.
Brand new update to VS2017 Enterprise 15.7.3
Created "Microsoft SDKs" folder in my "AppData/Local" directory
Installed latest NShader VSIX (2.4)
Added "frag" and "vert" to open with Nshader in "Tools->Options->Text Editor->File Extension"
Open ".frag" and ".vert" file in VS after restarting and.... NOTHING! No highlighting, no nothing. Might as well just be a regular text document.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thanks for you work and you comments, @samizzo ! |
I've been reading the previous issues and trying every solution, including disabling all the other extensions and reinstalling VS2017 Community (15.3.5). The issue is that no highlighting ever appears on my shader files, and there is no nShader section under Options although "Shader Language" does appear under the Text Editor section. Enabling, disabling, and reinstalling the extension doesn't seem to do anything either, except that with the extension enabled I get no highlighting at all and with it disabled I get the basic highlighting. Opening the file through a solution, manually, or creating a new shader file results in the same thing.
The extension appears in About section, and there are no errors. Going through the activity log and searching for "nShader" yields zero results. Don't really know where to go from there.
The text was updated successfully, but these errors were encountered: