"Mark directory as ..." option missing from menu
I am running identical versions 2021.1 of PyCharm Community on two systems and while I can see the menu option "Mark directory as ..." just fine when right-clicking a directory on one system, on the other system, the option is completely absent!
Only the "Remove BOM" and "Add BOM" options are present in that subsection.
All the other menu entries are exactly the same, just "Mark Directory as ... " is missing on one system.
How is this possible, and even more important: how can I get the menu entry back?
请先登录再写评论。
Hi,
Are you able to mark directory from Preferences | Project:<name> | Project Structure settings?
If not, could you please share Logs from Help | Collect Logs and Diagnostic Data?
You can use uploading service at https://uploads.jetbrains.com/ , and provide upload ID in your reply.
Andrey Resler I am sorry, but I do not know why you mean by "Preferences | Project:<name> | Project Structure" settings? I could not find an option or menu entry "Preferences" anywhere.
Here's a screenshot for reference
Oh - this window and the menu entry in File.. to get it is called "Settings" here, not "Preferences" . This is the case on both my computers, the one where excluding works and the one where excluding does not work - both call this dialog "Settings" .
However, on the one where excluding does not work, there is no entry " Project: ..." in the list and hence also no sub-entry "Project Structure" although the project structure is nicely shown in the "Project" tab.
I just did this: completely remove the .idea directory and open the project again - this magically brought back the Project: entry in the Settings and the ability to exclude directories!
Thanks!
Glad to hear removing .idea worked, probably some settings got corrupted.
P.S. "Settings" for Windows and Linux, "Preferences" for macOS - this is just historically formed convention.