Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt creator locator case sensitivity?
Forum Updated to NodeBB v4.3 + New Features

Qt creator locator case sensitivity?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 1.6k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    aatwo
    wrote on last edited by aatwo
    #1

    Hey guys. I'm using Qt Creator 4.4.0 based on Qt 5.9.1 and I believe the locator search bar functionality has changed slightly at some point in terms of case sensitivity. Could be a bug, could be me remembering incorrectly, but I'm fairly sure it used to be completely case-insensitive as I use it relentlessly but only recently noticed the weird case sensitivity rules that it seems to operate with.

    If you have a file with mixed uppercase and lowercase letters it will match your search term under the following conditions:

    • search term matches case precisely
    • search term is all lower case

    The file will not match your search term under the following conditions:

    • search term contains any upper case characters (unless all upper case characters are matched precisely). This includes failure when you have correct upper case characters if you missed others.

    The following image shows exactly what I mean:
    alt text

    Bug or feature? Or maybe even a configurable option added in a recent update? :)

    1 Reply Last reply
    0
    • aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by aha_1980
      #2

      @aatwo:

      Bug or feature?

      However you like to name it :) There is [1] explaining a bit more about: "if one capital letter is given, the search is case sensitive". This is not configurable yet.

      I don't know if that has changed somewhere in the past, but I know it will change in 4.5: We've implemented a camel hump matcher [2], so you can search for your file now with "sbv" or "SBV" also (partly or full name still works of course). We are currently fine tuning this feature, and then all your examples should work.

      [1] https://bugreports.qt.io/browse/QTCREATORBUG-18583
      [2] https://bugreports.qt.io/browse/QTCREATORBUG-3111

      Qt has to stay free or it will die.

      1 Reply Last reply
      3
      • A Offline
        A Offline
        aatwo
        wrote on last edited by
        #3

        Cool thanks for the reply and the links! :) Tis good to know! Looking forward to the update! :D

        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