Author |
Topic  |
|
wip
New Member

Japan
8 Posts |
Posted - Jun 22 2012 : 03:58:30 AM
|
Hello.
I want to be able to visually discriminate variables that are local to a function, and variables that are global, or defined at file level.
Is there currently a setting allowing to change the font color of those variables, or will we have to wait for a next release to see this feature ?
Thank you very much,
W. |
|
feline
Whole Tomato Software
    
United Kingdom
19179 Posts |
|
wip
New Member

Japan
8 Posts |
Posted - Jun 24 2012 : 9:25:55 PM
|
Thank you ! I would have preferred being able to set a separate color for local symbols, but bold will do in the first place. |
 |
|
wip
New Member

Japan
8 Posts |
Posted - Jun 24 2012 : 10:13:00 PM
|
I tried to enbale the "local symbols in bold" option, unfortunately it does not discriminate between function-scope variables and file-scope variable. Is there an other option to display those differently ? |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19179 Posts |
Posted - Jun 25 2012 : 11:50:54 AM
|
Unfortunately no, not currently. Are you trying to show local variables in one colour, and file scope variables in a different colour, to show that both are different to class member variables? Or are you after something else again? |
zen is the art of being at one with the two'ness |
 |
|
wip
New Member

Japan
8 Posts |
Posted - Jun 25 2012 : 9:13:11 PM
|
I am trying to show local variables in one colour, and file scope variables in a different colour, to understand which one can be changed outside of a given function, for example. |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19179 Posts |
Posted - Jun 26 2012 : 3:22:12 PM
|
This makes sense, I have put in a feature request for this, to see what our developers make of it:
case=67495
For now have you considered starting these variable names with "g_" or something similar, to mark them as global, and thus to be treated with care? |
zen is the art of being at one with the two'ness |
 |
|
|
Topic  |
|