Qt Creator 4.8.0 highlight issue
-
Have some questions about 4.8.0, since I saw in its change log it said
- Added highlighting style for punctuation tokens (QTCREATORBUG-20666)
which I reported as this, at the time I didn't know QTCREATORBUG-20666, searched but not found it.
I see change log and think highlight issue is solved so I build QtCreator 4.8.0 from source along with LLVM 7.0.0
Environment
OS: Linux CentOS 7
GCC 7.2.0
Qt: 5.11.1 (configure -nomake tests -qt-xcb -skip webengine)and it's still broken like this.
It should be looked like this when I use 4.6.2
Also I noticed that my project tree view is not separated by cmake target, which is (seems after 4.6.0) tree view for some other teammates on same Linux and my window Qt verision.
I like the old tree view though, but this makes me wonder if my issue is cause by some old configuration QtCreator stored in ~/.config/
And default Color Schemes (Qt Creator Dark, etc) did not change Parenthesis/Operator colors, I can't test if it's problem with my customed Scheme setting or not.
So I don't know if others have same issue or QtCreator does not consider for existing config and hesitate to make a new bug report.
I really looking forward to use QtCreator 4.8 which leveraging new LLVM 7.0.0 to see if it speed up of development...
-
Have some questions about 4.8.0, since I saw in its change log it said
- Added highlighting style for punctuation tokens (QTCREATORBUG-20666)
which I reported as this, at the time I didn't know QTCREATORBUG-20666, searched but not found it.
I see change log and think highlight issue is solved so I build QtCreator 4.8.0 from source along with LLVM 7.0.0
Environment
OS: Linux CentOS 7
GCC 7.2.0
Qt: 5.11.1 (configure -nomake tests -qt-xcb -skip webengine)and it's still broken like this.
It should be looked like this when I use 4.6.2
Also I noticed that my project tree view is not separated by cmake target, which is (seems after 4.6.0) tree view for some other teammates on same Linux and my window Qt verision.
I like the old tree view though, but this makes me wonder if my issue is cause by some old configuration QtCreator stored in ~/.config/
And default Color Schemes (Qt Creator Dark, etc) did not change Parenthesis/Operator colors, I can't test if it's problem with my customed Scheme setting or not.
So I don't know if others have same issue or QtCreator does not consider for existing config and hesitate to make a new bug report.
I really looking forward to use QtCreator 4.8 which leveraging new LLVM 7.0.0 to see if it speed up of development...
hi @blazar0112 ,
you can start Creator from command line with parameter
-settingspath /tmp
to get clean settings and see if that helps. -
@aha_1980 Thanks for the setting path tip, I can use it in future if suspect setting/creator problems.
I discovered that I didn't set Punctuation color in my scheme. (such blind)
And characters become default white color are that ones that considered as Punctuation after 4.7.
I expected them to be Parenthesis/Operators so it looks weird. I change it to match Parenthesis/Operators color and it looks better now.
However, it still seems very strange that
'(){}' in main() {...}
'#' in #include
'<' '>' in #include <string>
'=' in int a = bconsidered Punctuation.
In my opinion, maybe '#' in #include, ';' after statement can call Punctuation.
(){}<> should be classified as Parenthesis
'<>' should make <string> and "string" has same color, it looks really inconsistent.
Operator should follow definition from
https://en.cppreference.com/w/cpp/language/operator_precedence
why is '=' and '::' a Punctuation?
These were not problem before 4.7.Also I've tried 4.8 with LLVM 7 now, open same file in 20k LOC size project. it's very obviously that 4.6 with LLVM 6 is faster and has less CPU usage.
Seems I have to keep using 4.6.2 until I found some new version is better.