0
I created a file File
of the kind Text
when it should be a file .py
. After trying to rename the file to .py
or delete it the IDE cannot identify the extension by not identifying my code. How do I create a file with the same name but with the correct extension?
obs. I have tried to delete the file with Safe delete
(ALT + del
)
If you are unable to delete from the IDE, you can open the folder where your project is and delete the file yourself, and one more thing Intellij is an IDE for Java development, there is Pycharm a Python IDE created by the same company.
– Vinicius Fernandes
Deleting the file in the folder did not solve my problem. While trying to create the same file the IDE still does not identify the . py extension
– Rafael
The entire Intellij environment was developed for Java, it does not have native Python support, when Intellij detects an extension like . py offers a plugin for you to install to get support, which is not advisable to load a whole environment for Java if you will edit Python files, for this I recommend the great Visual Studio Code text editor with support for various languages, and Pycharm the IDE that Jetbrains created for Python.
– Vinicius Fernandes