Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Suggestion about the Method Color in C#

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
speedfirst Posted - Feb 16 2006 : 10:05:48 PM
My version is 1418

In C# editor of VS.Net 2003

If I write like this:

this.fun();

fun is recognized as a method and its color is deep red.
However, if I write:

fun();

fun is simply shown as black, just like normal text.

Is it a bug or a unsolved function? If it is latter, I think VAX should support this case in few next versions.
6   L A T E S T    R E P L I E S    (Newest First)
support Posted - Feb 18 2006 : 01:36:41 AM
Make sure you have coloring enabled for "Source Windows" in our options dialog.

Try "Use Defaults" we suggested in our last post.
speedfirst Posted - Feb 18 2006 : 01:25:34 AM
I download the 1440 and install it, unfortunately, nothing seems changed.

When I click on "GetSchemaTable", the definition shows:


Wired problem, isn't it.
support Posted - Feb 17 2006 : 10:59:48 AM
The tooltip you see is produced by default Intellisense of the IDE. We suspect the IDE knows what the symbol is but not VA X. If you click on the symbol, the Definition field at the top of your source window tells you what VA X thinks the symbol is.

But.... since you have a lot of black, we assume something else is not working. We recommend you try build 1440, or press "Use Defaults" in Tools|Options|Environment|Fonts and Colors.

VA X colors tooltips produced by the IDE, and its own of course. VA X sees only the text within a tooltip -- completely out of context. VA X guesses at color within the tip and since there is no //, VA X has no idea the second line is a comment.
speedfirst Posted - Feb 17 2006 : 02:53:57 AM
When I click on fun(), the definition field shows this function's signiture indeed.
Let's have a look example


From this image, we can see, GetSchemaTable is a method defined in this class(show in the bottom of the image). But the call of this method is black. However, when I hover the cursor on this invoking position, the tips's color is absolutely great.

Another problem in this image is that the color in the tip for a comment. My VAX color them just like method and variants. Maybe that's a problem.

By the way, I use a Simplified Chinese Editon VS.Net 2003. Is it the reason for all of above? Perhaps, I should taste 1440 right away.
jpizzi Posted - Feb 17 2006 : 02:02:04 AM
FYI, it works as expected in 1246.
support Posted - Feb 17 2006 : 01:09:08 AM
We suspect VA X does not think fun() is valid in the content (whether that is right is an entirely different matter.)

If you click on fun(), does anything appear in our Definition field at the top of your source window? If not, that tells you VA X does not know the symbol.

The next thing we ask is.... does the problem occur with our latest build 1440?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000