XMLWordPrintable

Details

    Description

      Currently a clang query search will find lots of unrelated stuff [depending on how complex the query is], but especially for simple queries you'll get a vast of results..

      [having a simple subdirs project with 2 cpp files and 2 pro files (all in all I had 7 functions if you count ctors and dtors as well) resulted for me in 17444 matches when searching for functionDecl()]
      (I got results from the Qt I'm using to build the project, I got results from the libclang I'm using, I got results from the STL which is included directly or indirectly...)

      Please, provide ways to limit the search results to:

      • current project (all files below the current project root?)
      • current file (not sure if it makes sense...)
      • ignore moc files (No generated files?)

      If these results aren't limited to the current project it might be problematic when trying to replace something later on (on Linux this might be okay'ish as the global stuff should be owned by root and you normally aren't able to modify them - but on Win you might end up modifying msvc headers...)

      Attachments

        Activity

          People

            Unassigned Unassigned
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: