Author |
Topic |
|
sharyex
New Member
2 Posts |
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? |
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
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? |
zen is the art of being at one with the two'ness |
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
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.
|
zen is the art of being at one with the two'ness |
|
|
sharyex
New Member
2 Posts |
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
Whole Tomato Software
United Kingdom
19022 Posts |
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 |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|