Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

How to put method parameters in a different colour

$
0
0

I'd like to see the identifiers of method parameters in the method body in a different colour than normal text or local variables. It seems that Visual Studio 2010 and 2013 can't do that on their own. I hear that Resharper should be able to do that, but I couldn't get it to do that and I'm not comfortable with what else it does anyway (that can't be switched off). Now I thought, it shouldn't be too hard to make use of what Visual Studio already knows about the code I'm typing and create a little extension for that.

Now I'm sitting in front of the sample classifier template project and have all my code in purple colour. Well, that's what the sample is supposed to do, and I'm glad it works so far. But I think I'm still far away from finding method parameters in the document text to assign them my new format.

So what's the best way to go now? Are there some resources that can explain me how to make such an extension, without reading a lenghty book or two about it, and preferably without implementing my own C# parser (because VS already did it)? Is there a similar open-source VS extension I could modify for my needs? (I'd like to release my extension as open-source again.) Or should I just ask the Visual Studio developer team to do it for me in the next update or version?


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>