Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator 4.8.0 highlight issue

Qt Creator 4.8.0 highlight issue

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 539 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    blazar0112
    wrote on last edited by blazar0112
    #1

    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...

    aha_1980A 1 Reply Last reply
    0
    • B blazar0112

      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...

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by aha_1980
      #2

      hi @blazar0112 ,

      you can start Creator from command line with parameter -settingspath /tmp to get clean settings and see if that helps.

      Qt has to stay free or it will die.

      1 Reply Last reply
      1
      • B Offline
        B Offline
        blazar0112
        wrote on last edited by blazar0112
        #3

        @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 = b

        considered 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.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved