Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Syntax coloring for [[attributes]]

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
sharyex Posted - Jan 02 2018 : 05:39:17 AM
Giving that attributes are starting to become more and more common, any chance we can get a customizable syntax color setting for them?
4   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jan 05 2018 : 1:28:22 PM
This makes sense, I have put in a feature request to see what our developers make of this:

case=113563
sharyex Posted - Jan 04 2018 : 09:35:34 AM
The problem with the current IDE settings is that they don't change the bracket coloring as well (the "[[" and "]]" characters), or at least I haven't found a way to do it without impacting other syntaxes.
What I'm looking for is to have attributes customizable completely and independently from anything else, e.g. have "[[maybe_unused]]" and "[[deprecated]]" coloured dark blue, with nothing else having the same color. It's ok to have all the attributes share the same colour.

The idea is to give them a non-intrusive color to remove the visual noise in documents where they are used a lot.
feline Posted - Jan 02 2018 : 09:52:12 AM
Testing in C++, VS2017, if you change the colour setting:

IDE tools menu -> Options -> Environment -> Fonts and Colors -> Display items = Identifier

this will change the colour of the attribute text in the editor.
feline Posted - Jan 02 2018 : 08:46:19 AM
I assume you are thinking of C++ attributes. Are you just thinking of colouring all attributes in a single colour, treating them like strings, or another simple type, or are you thinking in terms of something more complex?

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