How do you hide pyc files, specifically in the Tree Browser? I've looked through all the project and plugin settings, but I can't find any field that lists extensions to hide.
On Thu, 2017-08-17 at 14:45 -0400, Chris Spencer wrote:
How do you hide pyc files, specifically in the Tree Browser? I've looked through all the project and plugin settings, but I can't find any field that lists extensions to hide.
In theory it should be possible to add filters in the Tree Browser, in the text field just above the path (move your mouse pointer over that field to see a tooltip about it).
Practically I've just tried an inverting filter with something like "!*.png" to filter out png files in my home directory, but that doesn't seem to work properly at least for me here. Instead of filtering out *.png files only, it just doesn't show anything at all. Is that a bug or am I doing something wrong? Probably expressions can also be more complex regular expressions?
Regards, Dominic
Thanks. This seems like a temporary solution, but it'll work for now.
On Thu, Aug 17, 2017 at 3:13 PM, Dominic Hopf dmaphy@googlemail.com wrote:
On Thu, 2017-08-17 at 14:45 -0400, Chris Spencer wrote:
How do you hide pyc files, specifically in the Tree Browser? I've looked through all the project and plugin settings, but I can't find any field that lists extensions to hide.
In theory it should be possible to add filters in the Tree Browser, in the text field just above the path (move your mouse pointer over that field to see a tooltip about it).
Practically I've just tried an inverting filter with something like "!*.png" to filter out png files in my home directory, but that doesn't seem to work properly at least for me here. Instead of filtering out *.png files only, it just doesn't show anything at all. Is that a bug or am I doing something wrong? Probably expressions can also be more complex regular expressions?
Regards, Dominic _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 2017-08-17 11:45 AM, Chris Spencer wrote:
How do you hide pyc files, specifically in the Tree Browser? I've looked through all the project and plugin settings, but I can't find any field that lists extensions to hide.
Not a direct answer since I don't use that plugin...
If you can use normal Python from the last decade or so, it will put all of the files below a single `__pycache__` directory, which seems less annoying than a bunch of separate .pyc files.
Another possible workaround would be to use the Project Organizer plugin which allows excluding files/dirs. It doesn't provide the same set of features as Tree Browser but there is some overlap.
Regards, Matthew Brush
In the plugin preferences just select "hide object files" and treebrowser doesn't show .pyc and other such stuff.
Cheers Lex
On 18 August 2017 at 04:45, Chris Spencer chrisspen@gmail.com wrote:
How do you hide pyc files, specifically in the Tree Browser? I've looked through all the project and plugin settings, but I can't find any field that lists extensions to hide.
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users