Reputation: 891
How do I configure pycharm to "gray out" excluded folders rather than just removing them from the project view?
Upvotes: 2
Views: 1874
Reputation: 713
With new version of Pycharm it is possible to "gray out" a folder while still keep it in your project view. (if that's what you're asking for)
You can simply right-click the folder in your project view and "Mark directory as excluded."
You can then chose to show/not to show excluded folders/files with the setting button on the project view panel.
Refer this official documentation for more options: https://www.jetbrains.com/pycharm/help/configuring-ignored-files.html
Upvotes: 1
Reputation: 5210
meanwhile it is possible to mark directories or single files as "excluded" so they become "invisible" for PyCharm. just right-click the item and select form the context menu Mark Directory As > Excluded
PyCharm help reference: link
Upvotes: 0
Reputation: 402375
It's not possible at the moment, there is an open feature request to provide semi-excluded folders.
UPDATE: if you need to mark certain directories/files with specific colors or not show them in all the views, consider using the Scopes feature.
Upvotes: 2