ashald / EnvFile

EnvFile 3.x is a plugin for JetBrains IDEs that allows you to set environment variables for your run configurations from one or multiple files.
MIT License
548 stars 129 forks source link

Support for WebStorm? #94

Closed tonioriol closed 5 years ago

tonioriol commented 5 years ago

Would it be possible to enable support for WebStorm?

ashald commented 5 years ago

What kind of run configurations are you using in WebStorm?

tonioriol commented 5 years ago

i have a node project with jest for testing and the test environment variables are loaded from an env file.

tonioriol commented 5 years ago

That is done in a js file that is called to run all tests from the console. That file loads the env variables from a file and then runs jest programmatically. What i'd like is to run jest straight out from the run config, and load the env from the file.

ashald commented 5 years ago

NodeJS support in WebStorm if handled by the special JetBrains plugin - it's just bundled by default with WebStorm but you also can install it in other their IDEs. What this means, is that for this to work we need to integrate with NodeJS plugin and it actually lacks extension points required by EnvFile. Please follow #36 for updates. Other community members raised this with JetBrains and you can help by upvoting the ticket: https://github.com/ashald/EnvFile/issues/36#issuecomment-496575370