Hi, probably most of you noticed that Unity shaders have no good editor with cg language support. Because of that and because I’m working on shaders(so long at my job and personal projects) I’ve made extension for Visual Studio 2013. Extension is free and downloadable from VS Gallery: https://visualstudiogallery.msdn.microsoft.com/ed812631-a7d3-4ca3-9f84-7efb240c7bb5 .
Tool mostly supports highlighting and code completion but in future I’m going to improve it. As always good advices from tool users may help me a lot with this:)
just downloaded ty looks good at first glance
New update has come: 1.02, whats there:
-fixed some incompatibility problems while using another shader code completion/highlight tools
-non-case sensitive search so you will get more code completions in context menu
Thank you. This is awesome.
Awesome extension, thanks. Could you please make a version that also supports syntax highlighting of .cginc files as well.
Hi, I’ve updated tool and added some new features:
1.03
-keywords highlighting
-better code completion
-supports cginc
-code completion in .shader for opened .cginc files
-braces matching
@MODev can you add support for .compute extension?
Also Global Shortcut are not working when opening shader files
Sure I’ll add in next release
Release 1.04 is release is enabled:
-mostly some issue fixes
-highlighting *.compute files
@MODev : Don’t forget Global shortcut not working, i can’t comment lines without global shortcut
I see no code completion. Only syntax highlighting.
Is there some special stuff I need to do to make it work?
I’ve just launched the downloaded installer, VS installed it - and that’s all.
Any chance for 2015 support?
This seems to be an awesome tool, I need to try it out. I don’t know why Unity doesn’t support those features by default…
Hi! After long absence Visual Studio 2015 is supported by my extension:)
Code completion is after writing 3 signs of word and than using ctrl + space(default shortcut for code completion)
Hi, thanks for a very nice extension!
Would it be possible to:
-
fix: coloring in comments (it does not apply comment color on keywords, like "Blend, Properties, SubShader, Pass and so on)
-
add: color options, like in nshader.
so I will be able to highlight like this:
Good idea:) If I find time I’ll add those features
Hello. Does this add-on also handle proper indentation?
I’m having trouble with bad indentation on some blocks.
At first I thought that it’s because I’m using VsVim, but also when it’s disabled the indentation is bad.
Tried differnet settings of ‘Tabs’ in the options text-editor menu, but obviously I’m doing something wrong
Hmm thats look strange, maybe you have some custom settings for C++ language? Because I import some settings from that data.
Any chance for visual studio code support?