Open SerGeRybakov opened 3 years ago
If you're talking about Run configuration, Env tab is a feature of the "EnvFile" plugin - https://plugins.jetbrains.com/plugin/7861-envfile
I mean file support - https://plugins.jetbrains.com/plugin/9525--env-files-support
What exactly "doesn't work"?
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.
What is the plugin version?
Thank you. I'll check.
Sorry for the tab question. I get tons of "issues" with this another plugin...
Having the same issue with current IntelliJ Idea
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:
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
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.
@coordt this is another plugin - https://github.com/ashald/EnvFile/issues/151
D'oh! 😊 Sorry about that.
If you don't see the syntax highlighting for .env files: please check Settings > Editor > File Types. It should look like this:
Updating the .env
file types fixed it for me. Thank you!!
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:
Thank you! The problem has been fixed after adding .env to the .env file group (initially it was in Text group)
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
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?