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. QTCreator 17 : Silver Searcher options not visible in find.
Forum Updated to NodeBB v4.3 + New Features

QTCreator 17 : Silver Searcher options not visible in find.

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

    I have ag installed to PATH (/usr/bin) on arch. Works fine from command line.

    I have enabled the silver searcher extension/plugin.

    I am not seeing any silver search/ search engine options in the find dialog (C-S-f).

    What have I inadvertently missed?

    https://doc.qt.io/qtcreator/creator-how-to-silver-searcher.html

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

      Hi @RichhieHH,

      I just tried it:

      1. Installed with sudo apt install silversearcher-ag
      2. In QtCreator > Extensions > Silver Searcher > Active (set enabled, restart QtCreator)
      3. In the advanced find dialog, select: Scope > Files in File System and Search Engine > Silver Searcher.

      Works like a charm for me.

      Regards

      Qt has to stay free or it will die.

      R 2 Replies Last reply
      1
      • aha_1980A aha_1980

        Hi @RichhieHH,

        I just tried it:

        1. Installed with sudo apt install silversearcher-ag
        2. In QtCreator > Extensions > Silver Searcher > Active (set enabled, restart QtCreator)
        3. In the advanced find dialog, select: Scope > Files in File System and Search Engine > Silver Searcher.

        Works like a charm for me.

        Regards

        R Offline
        R Offline
        RichhieHH
        wrote last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • aha_1980A aha_1980

          Hi @RichhieHH,

          I just tried it:

          1. Installed with sudo apt install silversearcher-ag
          2. In QtCreator > Extensions > Silver Searcher > Active (set enabled, restart QtCreator)
          3. In the advanced find dialog, select: Scope > Files in File System and Search Engine > Silver Searcher.

          Works like a charm for me.

          Regards

          R Offline
          R Offline
          RichhieHH
          wrote last edited by RichhieHH
          #4

          @aha_1980

          I see. My error was not setting scope to "files in file system" - which then requires a root dir. The option isnt available in the project/projects scope for some reason. Since I cant tell if ag is being used in project scope, I'll assume it is after setting it in file scope.

          post edit : it doesnt. Hmm. Ok. so use "file system" and set directory root to "current".

          It seems a little strange. But all good.

          1 Reply Last reply
          1
          • R RichhieHH has marked this topic as solved

          • Login

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