Auto-Indentation and Text Formatting

已回答

Hello all,

I am learning python and new to PyCharm. I am having issues with PyCharm not auto-indenting or coloring text. I have looked through settings, but none of the preset "File and code templates" seem to be applying. Any help appreciated!

Eli

0

Hi, could you please provide a screenshot of the problem? Make sure the Python file is not associated with the Text file type (Settings | Editor | File Types | Text | Registered Patterns).

0
Avatar
Permanently deleted user

I believe I solved the issue - I created the python file outside of the virtual environment directory... Files inside the directory are formatted and colored nicely.

0

请先登录再写评论。