mcarifio
mcarifio

Reputation: 891

How do I configure pycharm to "gray out" excluded folders?

How do I configure pycharm to "gray out" excluded folders rather than just removing them from the project view?

Upvotes: 2

Views: 1874

Answers (3)

Shawn
Shawn

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

udo
udo

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

CrazyCoder
CrazyCoder

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

Related Questions