This is the transcript of a conversation with IDEA support. Basically, it is a request for a new feature that would allow the IDE to use external environment variables while managing project paths.
---------------------------------------------------------------------------------------------
Hello Ovidiu,
I don't think you'll be able to implement it using Open API and we can't provide you access to IDEA project.
Please submit a request at
http://jetbrains.net/jira/browse/IDEA
and we'll consider this feature for the future IDEA versions.
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
----
Original Message----
From: "Ovidiu Feodorov" <ovidiu@feodorov.com>
Sent: Tuesday, February 5, 2008, 3:35:03 AM
To: Serge Baranov <support@jetbrains.com>
Subject:
[IDEA-Howto] Is there any way I can use OS environment variables with IntelliJ projects?
That is true, but I need to manually change the value of the IDEA path variable defined there, (awkwardly) using a GUI, every time my external value changes.
What I would like to achieve is to have the IDE pick up an external environment variable value and use it with its path definitions. This way, I get a tighter integration with the external environment in a very generic way, especially that environment variables are quite ubiquitously used across the board. Moreover, it'll seamlessly work with
Windows and Linux.
My offer to implement the feature still stands, if you think it'll be beneficial for other users. Could you please forward this e-mail to product management or to a development manager?
Cheers,
Ovidu
Serge Baranov wrote:
> > Hello Ovidiu,
> >
> > IDEA provides similar feature, see Settings | Path Variables.
> >
> >
> > Serge Baranov
> > JetBrains, Inc
> >
http://www.jetbrains.com
> > "Develop with pleasure!"
> >
> > ----
Original Message----
> > From: "Ovidiu Feodorov" <ovidiu@feodorov.com>
> > Sent: Tuesday, February 5, 2008, 3:16:37 AM
> > To: Serge Baranov <support@jetbrains.com>
> > Subject:
[IDEA-Howto] Is there any way I can use OS environment variables with IntelliJ projects?
> >
> >
> > Would you like to have this functionality?
> >
> > I can implement it for free, provided that you integrated it in your
> > code base and make it available with the future releases.
> >
> > Cheers,
> > Ovidiu
> >
> >
> > Serge Baranov wrote:
> >
>> >> Hello Ovidiu,
>> >>
>> >> No, it's not possible.
>> >>
>> >>
>> >> Serge Baranov
>> >> JetBrains, Inc
>> >>
http://www.jetbrains.com
>> >> "Develop with pleasure!"
>> >>
>> >> ----
Original Message----
>> >> From: "Ovidiu Feodorov" <ovidiu@feodorov.com>
>> >> Sent: Tuesday, February 5, 2008, 3:08:48 AM
>> >> To: support@jetbrains.com
>> >> Subject:
[IDEA-Howto] Is there any way I can use OS environment variables with IntelliJ projects?
>> >>
>> >> My projects use OS environment variables in their ant build.xml files and other environment configuration files, and they do that independently of the IDE.
>> >>
>> >> I was wondering if I can use IntelliJ with environment variables, too.
>> >>
>> >> For example, if I define MY_LOCATION as an environment variable, I would like to be able to use it in IntelliJ the same way I use it in a build.xml ant script (<pathelement location="${ENV.MY_LOCATION}/myjar.jar"/>)
>> >>
>> >> Please advise.
>> >>
>> >> –
>> >> OS: Windows XP
>> >> JDK: JDK 1.5.0
>> >> IDEA: 6.0
>> >> Build: 6197