quick open project path match mode?
Christoph Cullmann
christoph at cullmann.io
Wed Aug 21 17:00:03 BST 2019
On 2019-08-20 22:36, Daan De Meyer wrote:
> Hi,
>
> Currently, when I want to open Kate's CMakeLists.txt using quick open,
> when I type kate it matches on the kate project directory instead of
> the kate subfolder in the kate project folder. Ideally, there would be
> a matching mode where I can match on paths relative to the project
> directory if that makes sense (so typing kate would match immediately
> on the kate subfolder instead of the project directory).
>
> However, as the quick open functionality does not depend on the
> project plugin, I'm not entirely sure how to implement this. We
> somehow need access to the project directory in katequickopenmodel but
> where can I get the project directory from and what do we do if there
> is no project directory (e.g. when a regular file is opened in kate)?
There are some hacks to query info from the project plugin via
properties.
That way the quickopen retrieves the full file list, too.
One can take a look at what is exposed as property for the project
plugin.
Greetings
Christoph
>
> Any thoughts?
>
> Regards,
>
> Daan
--
Ignorance is bliss...
https://cullmann.io | https://kate-editor.org
More information about the KWrite-Devel
mailing list