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
542 stars 129 forks source link

Support for editing files directly #80

Open cn-src opened 5 years ago

cn-src commented 5 years ago

Edit files in idea.

ashald commented 5 years ago

Could you please elaborate?

cn-src commented 5 years ago

Read and list configuration items. Configuration files can be quickly opened and edited in idea. Currently, you must be in system file manager to view and edit it.

ashald commented 5 years ago

@cn-src do you think you can somehow demonstrate what you mean?

Here is an example how I add my.env to a run configuration:

image

And then edit it in the same IDE:

image

And then just load them

cn-src commented 5 years ago

@ashald Because the configuration file is not in the project's directory. If can edit the file content like this:

Jietu20190424-100259@2x Jietu20190424-100349@2x
ashald commented 5 years ago

@cn-src thanks - I think I understand your use case now. This indeed make sense and would've been a nice addition to the plugin. I'm not a huge expert on JetBrains platform APIs so it might take a while to figure out how to implement it so contributions are welcome!