Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Syntax Highlighting Suggestion

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
eddieparker Posted - Nov 12 2010 : 2:46:56 PM
I'm not sure if this is the best place for this, as it's a suggestion for people *using* Visual Assist, but I find it quite useful:

I use syntax highlighting to help me find when Visual Assist can/can't understand a symbol. If you set the colour for 'Identifier' to something very apparently wrong (bright red, in my case). Since VA colourizes everything it understands, the only things that'll be garishly red will be those things that VA couldn't parse properly (usually macros, or identifiers generated from macros).

I find this useful so I can use F12 vs Alt-G appropriately, mostly, but maybe there's some other uses for it.

Just thought I'd share.

-e-
3   L A T E S T    R E P L I E S    (Newest First)
hfrmobile Posted - Dec 09 2010 : 03:44:54 AM
Just encountered a third drawback:
3. Copy&Paste into an app (RTF Editor, MS Word, ...) will use the syntax coloring from VS (even VA enhanced coloring is enabled) and so you'll get tons of red identifiers which isn't very beautifully if e.g. posting code snippets in a blog etc.
hfrmobile Posted - Dec 07 2010 : 09:57:14 AM
Nice idea! Thank you for sharing.

But there are disadvantages:
1. std::string(L"text") --> the L will be displayed as red; if using Unicode you'll often have L"" instead of "" string constants
2. when opening a source file all identifiers are displayed red for a short time (<1 sec) (Syntax coloring from VS and then the enhanced syntax coloring will take effect)

But anyway it is a cool idea!
feline Posted - Nov 15 2010 : 11:14:42 AM
An interesting thought, thank you for sharing this.

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