Hi guys,
I have two questions about "Syntax Highlight" color scheme.
1. is there a way to identify the code as:
- classes
- variables
- methods
I used to use Visual Assist on top of Visual Studio, and I liked very much their way of highlighting the things. Is there a way to "borrow" that behavior in CodeLite?
2. I saw you can set Global background color, but it's pretty annoying to have to set "Style background color" for every single Language Attribute. Is there a way to improve the Syntax Highlight dialog to make the default color for every Language Attribute the "Global background color" unless the user wants to define another color?
Thanks,
Rares
Syntax Highlight Color questions
-
- CodeLite Enthusiast
- Posts: 12
- Joined: Sat Dec 20, 2008 3:01 am
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Syntax Highlight Color questions
settings -> tags settings -> General tabasterisc wrote:1. is there a way to identify the code as:
- classes
- variables
- methods
tick: 'colour local variables' && 'colour workspace tags'
Whats wrong with the 'set global background colour' button which sets the background for all styles for a given language?asterisc wrote:2. I saw you can set Global background color, but it's pretty annoying to have to set "Style background color" for every single Language Attribute. Is there a way to improve the Syntax Highlight dialog to make the default color for every Language Attribute the "Global background color" unless the user wants to define another color?
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 12
- Joined: Sat Dec 20, 2008 3:01 am
- Contact:
Re: Syntax Highlight Color questions
Codelite doesn't see any difference between methods and classes. (basically a class define a new datatype, as "int", and methods don't do that, that's why I like to have a difference between these two).
Furthermore, I believe the methods arguments are seen as "workspace tags" instead of "variables". Is that true?
Set global background works now, but yesterday evening, setting global background color didn't change any Language Attribute background color. Strange.
Thanks Eran.
Furthermore, I believe the methods arguments are seen as "workspace tags" instead of "variables". Is that true?
Set global background works now, but yesterday evening, setting global background color didn't change any Language Attribute background color. Strange.
Thanks Eran.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Syntax Highlight Color questions
It does know the difference, however, codelite allows use to colour two groups:asterisc wrote:Codelite doesn't see any difference between methods and classes. (basically a class define a new datatype, as "int", and methods don't do that, that's why I like to have a difference between these two).
Furthermore, I believe the methods arguments are seen as "workspace tags" instead of "variables". Is that true?
Set global background works now, but yesterday evening, setting global background color didn't change any Language Attribute background color. Strange.
Thanks Eran.
- local variables
- class/methods/enums/members etc.
This is done like this, since we only got 2 colour set available from scintilla.
Eran
Make sure you have read the HOW TO POST thread