开发者

In Eclipse PyDev is there a way to exclude arbitrary file-types from the Pydev Package explorer?

开发者 https://www.devze.com 2023-01-05 13:45 出处:网络
If you click on the icon resembling a downard-pointing triangle in the PyDev Package Explorer and then select \"Customize View\", The \"Available Customizations\" pop-down allows the user to select wh

If you click on the icon resembling a downard-pointing triangle in the PyDev Package Explorer and then select "Customize View", The "Available Customizations" pop-down allows the user to select which of a standard set of files are visible in the package explorer.

That's great if you wish to exlude or include certain standard types of file from the view, however I'd like to exclude a type which is currently unknown to PyDev.

In this case, I'd like to exclude "*,cover" - that's any automatically generated coverage report file. PyDev creates these files any time you try to run a coverage analysis but does not seem to have a way of excluding these files from the views. I'd love to hide all the ",cover" files in 开发者_StackOverfloworder to reduce the clutter in my package explorer.


To the left of the down arrow is the "Setup custom filters" button. You can enter custom filters delimited by commas. If that file name indeed has a comma in it, then you will have to enter the filter as *cover since *,cover is treated as two separate filters.

0

精彩评论

暂无评论...
验证码 换一张
取 消