Syntax highlighting on variable initialisation

CodeLite installation/troubleshooting forum
Skumball
CodeLite Curious
Posts: 1
Joined: Mon May 02, 2016 1:09 am
Genuine User: Yes
IDE Question: C++
Contact:

Syntax highlighting on variable initialisation

Post by Skumball »

I have written the following code to initialise three variables of the same type on one line. This is valid syntax however the second a third variables don't highlight in green on the first line or when used subsequently in the second line as if CodeLite doesn't recognise this syntax:

double num = 0, small = 0, large = 0;
cout<<num<<small<<large;
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Syntax highlighting on variable initialisation

Post by eranif »

This is a known issue and reported on GitHub
https://github.com/eranif/codelite/issues/1258
Eran
Make sure you have read the HOW TO POST thread
Post Reply