I am using PyCharm Community Edition 4.5.1. Suppose I have a file open in the editor, and I want to see it in the project view (usually so I can open a sibling file). How do I do that?
I've googled all manner of "navigate" and "find" and such, and it's always some related concept, but not this one.
Press Shift+F4 for a file selected in the Project tool window. Shift + mouse double click on a file name in the Project tool window.
By default, PyCharm shows all classes, methods, and other elements of the current file. To toggle the elements you want to show, click the corresponding buttons on the Structure tool window toolbar. to show class fields.
The files in Pycharm are under Version Control. Pycharm changes the file's color by the status of file. The 'red' color of the file you mentioned indicated that the file is 'Unkown' status to the version control. If you add the 'Unkonwn' file to version control and commit to repository, the 'red' color can be changed.
4 comments. Created January 12, 2021 08:53. Those orange folders are marked as Excluded (PyCharm doesn't build indices for them). You can change it by right-clicking the folder and choosing Mark Directory as, if needed.
I got here, so maybe this will help some other folks like me :
How to show current working file in pycharm Project:
Alt + 1 \ Ctrl + Shift + 1
- open the Project nav bar.settings wheel
in top right of the project bar"Always Select Opened File"
.Now try and navigate to some files and watch them being displayed in the project bar .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With