Hi,
I am struggling to find out how to get that brown colored underscore
thing that comes in intellisense,
To better explain
Use this you will get a brown colored underscore at the end if integ
Dim a as integ
The problem is I have seen that brown underscore appear several other places, not just keyword error
It prompted me to rename my variable names, Can anybody tell me what are the otherways you get this options

AutoCorrect inellisenseoptions
Rocky79
Autocorrect was something introduced in 2005 and there are a lot of different errors where it will give you options to correct. As far as a list goes, I couldnt find one in the documentation and I only know that there are a lot because I spoke to the Developer of the feature about it.
So I think you may be out of luck in finding a definitive list in the VB Documentation.
It sounds as though this is more for general information rather than any specific problem with the feature.
SPEEDY9123
If you are talking about the squiggly line(the color of the line is definable) that would appear under the name integ...it is an error telling you that the type is not defined...
but to look at all of the editor color and highlighting options go to tools....options....environment....fonts and colors....and you will see all of the color and highlighting capabilities of the IDE
RayCan
Ah, the error correction glyph is what you're seeing. It shows up for about 250 different types of errors, mostly of the syntactic nature -- clicking on it takes you to the error correction dialog, or sometimes in simple cases you just get a dropdown. (You can also fix errors from the error list as well.) The glyph also shows up (as you noticed) if you change the name of a variable, in case you want to change the name everywhere it's used. Those are the only two cases where we use the glyph.
We call the show-the-glyph code internally, as it is simply part of the editor -- I don't recall the way to show it programmatically from extensions, but you can certainly overlay your own graphics, as the Refactor! guys do. I'll ask around and see if my editor team devs know more.
--Matt--*
[Edit: Upon re-reading, I think you mean that you're interested in the cases where we use it, not how to show it yourself in an extension -- so I'll forego further investigation unless you clarify otherwise.]
issarto
Hi
Thanks for the response, I think you understood me partially
I am not bothered about colors, that underscore character comes not just for keyword syntax error
It also comes in some other places, I got once where my statement was correct, but it provided if I wanted to rename the variable
So I would like to know apart from keyword errors where would I get that,