[Qt-creator] Exclude build directory from locator results
Tobias Hunger
tobias.hunger at gmail.com
Tue Jul 10 11:35:44 CEST 2018
Hi David!
On Mon, Jul 9, 2018 at 8:41 AM David Mirochnik <my.hegemon at gmail.com> wrote:
>
> Hello,
> I am using Qt Creator 4.6.0 to compile CMake project. The build directory keeps appearing in my searches and makes it very annoying.
>
> How to exclude build directory from:
>
> Method locator results (Ctrl+K , m )
> Usages results (Ctrl+Shift+U)
> Go to definition results (F2)
Those are all provided by the code model. I do not think they even
have the information whether or not those files are generated or not
anymore:-/ We can not really leave out those files from the code model
either: They are needed to parse the code after all.
The .ui files are handled by ExtraCompilers. The "big solution" would
probably be to write one for your .q files.
Sorry, I do not have a good idea on how to do what you want right now.
I'll think about it a bit more.
Best Regards,
Tobias
More information about the Qt-creator
mailing list