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 Difftool : ignore case and whitespace?
Forum Updated to NodeBB v4.3 + New Features

Qt Creator Difftool : ignore case and whitespace?

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 2 Posters 466 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.
  • G Offline
    G Offline
    G_ka
    wrote on last edited by G_ka
    #1

    Hey,
    I've tried lots of difftools, but I like the ability of Qt Creator to show all the files at once, and set the number of context lines.
    But from what I can see, it's missing a feature : ignoring whitespace (all whitespace including line break, not just indentation) and being case-insensitive.
    This is what I mean. Those lines should be considered as the same:

                    Result
                        = RegQueryValueEx(hKey, L"installed path", NULL, &dwType, (LPBYTE) &value, &value_length);
    
    				result = RegQueryValueEx(hKey, L"installed path", NULL, &dwType, (LPBYTE)&value, &value_length);
    

    So, is there a way to enable it that I'm not seeing, or is it just not possible?
    Thanks.

    aha_1980A 1 Reply Last reply
    0
    • G G_ka

      Hey,
      I've tried lots of difftools, but I like the ability of Qt Creator to show all the files at once, and set the number of context lines.
      But from what I can see, it's missing a feature : ignoring whitespace (all whitespace including line break, not just indentation) and being case-insensitive.
      This is what I mean. Those lines should be considered as the same:

                      Result
                          = RegQueryValueEx(hKey, L"installed path", NULL, &dwType, (LPBYTE) &value, &value_length);
      
      				result = RegQueryValueEx(hKey, L"installed path", NULL, &dwType, (LPBYTE)&value, &value_length);
      

      So, is there a way to enable it that I'm not seeing, or is it just not possible?
      Thanks.

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

      Hi @G_ka,

      to my knowledge, this is not possible currently.

      We have Ignore Spaces in the Toolbar, but AFAIK this does not ignore line breaks.

      You might want to file a report at bugreports.qt.io/QTCREATORBUG (and please post the link here so we can follow).

      Thanks and regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      2
      • G Offline
        G Offline
        G_ka
        wrote on last edited by
        #3

        Done here.
        Thanks for the suggestion

        aha_1980A 1 Reply Last reply
        1
        • G G_ka

          Done here.
          Thanks for the suggestion

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

          @G_ka Thanks. So please mark this topic as SOLVED.

          Qt has to stay free or it will die.

          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