Comments (13)
from envfile.
I will try to reproduce it and will be in a contact, stay tuned. ;)
from envfile.
@ashald is the "Languages & Frameworks > Django" implementation supposed to have it's own "Read from file" selection (i don't see a selector there), or is it borrowing from the "Console > Django Console" values?
from envfile.
Ooops, was out of the loop for a while.
I believe current implementation only integrates with run configuration window...
Hope to do a release with bugfixes within next month - will try to get to this issue as well.
from envfile.
@ashald that would be welcome. i miss using the plugin.
from envfile.
For some visual clarification, there are two locations to configure Django. Only one of them is used for the run commands and that one does not currently use the env file:
from envfile.
I just ran into this issue. Cannot tun manage.py
commands correctly because I cannot load my environment file under Languages & Frameworks > Django.
from envfile.
Can you please explain how do I get to the window that doesn't have env file component?
from envfile.
I should mention that I have switched to using Django-environ instead. It works very well (although the documentation could be better), and is IDE independent.
from envfile.
This is not feasible to implement considering current design of the plugin so it won't be included in v2.0 but may be added in future. Stay tuned.
from envfile.
The biggest problem with Django support in PyCharm is that it's part of the "ultimate" edition and therefore there are no source code available for any components involved. It appears that EnvFile
version 1.x.x
was partially compatible with it due to a mere coincidence (I was doing dirty patching in order to integrate the plugin with UI).
Since version 2.0
was released it appears that there is no way to use the plugin with any of components designed for integration with Django. While I understand how Django is popular among PyCharm community at the moment I don't see a feasible way to integrate EnvFile
with it. I'm going to close the issue for now but I'll keep an eye on further PyCharm updates with the hope that we will get a way for integration in future.
from envfile.
Sorry to bump, but does this apply to "Build, Execution, Deployment > Console > Python Console" as well? (Or should I create another issue for this?)
I'm on professional edition, but I believe plain (non-Django) Python console is a part of community edition. EnvFile used to work there as well, now it's gone.
from envfile.
Yeah, unfortunately, that's not going to work. Previously EnvFile plugin was injecting its UI components into so-called PyCommonOptions
panel. It's widely used in PyCharm and that's the reason why we saw the plugin in many places. Unfortunately, such approach involved some "hacking" which wasn't super stable and absolutely not compatible with other platforms. The new version integrates in a more proper way via RunConfigurationExtension
s which is supported across many JetBrains platforms. I understand that some people going to miss EnvFile
plugin functionality in such places as Django Console
and Python Console
and I'd hope to figure out to bring EnvFile back to those places but so far I haven't discovered a feasible way to do so.
from envfile.
Related Issues (20)
- EnvFile 3.4.1 crash HOT 4
- Error response from daemon: invalid environment variable: =::=::\ HOT 2
- Issues when using with IntelliJ 2023.1 HOT 19
- Allow Kubernetes yaml style
- Read access is allowed from inside read-action (or EDT) only HOT 3
- Does not work with custom defined files.
- New Release 3.4.2
- Causes ModuleNotFoundError error in PyCharm HOT 1
- Missing EnvFile tab in 2023.2.2 HOT 6
- $PROJECT_DIR$ is not working HOT 1
- Crash when starting a springboot application with a YAML env file
- Security vulnerability in apache commons-text v1.9 HOT 2
- When executable is ticked, please add an option to run it from the working dir configured in the run config
- command line to set envfile extension
- env file not loaded for Gradle run/debug configurations HOT 3
- Support for all Macros
- Support for react native configurations HOT 1
- EnvFile not working in Kotlin Configurations
- With "Ignore missing files" option off no visible error is shown if the file is missing, all gradle commands fail silently HOT 1
- EnvFile configuration resets on restart for ScalaTest setups HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from envfile.