Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with PyCharm 2021.2 Pro #90

Open
SerGeRybakov opened this issue Aug 5, 2021 · 16 comments
Open

Doesn't work with PyCharm 2021.2 Pro #90

SerGeRybakov opened this issue Aug 5, 2021 · 16 comments

Comments

@SerGeRybakov
Copy link

Hi!
Unfortunately your plugin is unsupported by IntelliJ for new version of PyCharm (PyCharm 2021.2 (Professional Edition) Build #PY-212.4746.96, built on July 27, 2021).
Is there any hope for making it work back?

@adelf
Copy link
Collaborator

adelf commented Aug 5, 2021

If you're talking about Run configuration, Env tab is a feature of the "EnvFile" plugin - https://plugins.jetbrains.com/plugin/7861-envfile

@SerGeRybakov
Copy link
Author

@adelf
Copy link
Collaborator

adelf commented Aug 5, 2021 via email

@SerGeRybakov
Copy link
Author

SerGeRybakov commented Aug 5, 2021

Actually everything. Even if IDE settings are configured to treat .env-files as Env Files they're still being treated as text files.
No hints in code, I can't even comment a string in env-file with CTRL+/.
I tried to switch it on/off in settings and to download it from the link mentioned above - no result.

@adelf
Copy link
Collaborator

adelf commented Aug 5, 2021

What is the plugin version?

@SerGeRybakov
Copy link
Author

image

@adelf
Copy link
Collaborator

adelf commented Aug 5, 2021

Thank you. I'll check.

Sorry for the tab question. I get tons of "issues" with this another plugin...

@vojkny
Copy link

vojkny commented Aug 12, 2021

Screenshot 2021-08-12 at 16 22 44

Having the same issue with current IntelliJ Idea

@adelf
Copy link
Collaborator

adelf commented Aug 13, 2021

I installed PyCharm and checked - everything works.
What exactly doesn't work? If you're missing the Env tab in Run configuration: it is a feature of the another plugin - "EnvFile" https://plugins.jetbrains.com/plugin/7861-envfile

If you don't see the syntax highlighting for .env files: please check Settings > Editor > File Types.
It should look like this:

image

@coordt
Copy link

coordt commented Aug 13, 2021

I get this error at startup:

Plugin error: File '~/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/212.4746.96/PyCharm 2021.2 EAP.app.plugins/EnvFile/lib/envfile-3.2.1.jar' contains invalid plugin descriptor

@thomscode
Copy link

On mine it said the installed plugin version was only compatible with PyCharm build 203 or older, but didn't give me an upgrade option. After disabling the plugin and trying to uninstall it, I could then see the upgrade option and the plugin is working now.

@adelf
Copy link
Collaborator

adelf commented Aug 13, 2021

@coordt this is another plugin - ashald/EnvFile#151

@coordt
Copy link

coordt commented Aug 14, 2021

D'oh! 😊 Sorry about that.

@nitinsavant
Copy link

nitinsavant commented Sep 7, 2021

If you don't see the syntax highlighting for .env files: please check Settings > Editor > File Types.
It should look like this:

image

Updating the .env file types fixed it for me. Thank you!!

@sakhdevel
Copy link

I installed PyCharm and checked - everything works. What exactly doesn't work? If you're missing the Env tab in Run configuration: it is a feature of the another plugin - "EnvFile" https://plugins.jetbrains.com/plugin/7861-envfile

If you don't see the syntax highlighting for .env files: please check Settings > Editor > File Types. It should look like this:

image

Thank you! The problem has been fixed after adding .env to the .env file group (initially it was in Text group)

@ibra86
Copy link

ibra86 commented Jul 11, 2022

had same problem with '.env' file which was being treated by default as a 'Text file' - adding to '.env file' group it solved the issue, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants