A someone mentioned the real issue is that one really wants to have the file
opened in a currently open copy of the IDE if there is one and that requires
either platform specific code or interprocess communications.

-- Mark

-----Original Message-----
From: Sampsa Lehtonen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 02:23a
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [Eap-features] Please allow to associcate .java and .jsp



> Subject: Re: [Eap-features] Please allow to associcate .java and .jsp
> files with IDEA
> Reply-To: [EMAIL PROTECTED]
>
> At 08:34 AM 11/27/2001 -0800, Tal Dayan wrote:
> >Please allow to associate .java and .jsp files with IDEA. Currently I am
> >using jBuilder for
> >that purpose and it is counter productive to have to use two IDE's.
>
> Do you know of any way to do this? AFAIK, Windows simply does not
> allow you
> to associate files with anything except a Windows application -
> and IDEA is
> a Java application. That means that Windows will not support
> *any* kind of
> association to it.

I know way to do it and I've told it to the IntelliJ staff (I sent some mail
to the [EMAIL PROTECTED] but never got response). See the mail below.

> The only OS that I know of which supports associations to Java apps is
> MacOS X.

Actually, you can add associations by creating a launcher exe for the Java
app - no more cmd.exe boxes too!-) See below. This is the way the JBuilder
works.

> And it does no good to complain to Microsoft - they are trying to
> kill Java off.

It isn't Microsoft's fault and it can be fixed. JBuilder (launched as a
JBuilderW.exe) does this and it works just fine. I hope the IntelliJ coders
get into it...

-------

-----Original Message-----
From: Sampsa Lehtonen [mailto:[EMAIL PROTECTED]]
Sent: 18. marraskuuta 2001 17:09
To: IntelliJ Support
Subject: Avoiding batch files and console windows when launching Java
GUI applications

Hello!

At the moment the IDEA needs a batch file to launch itself, but this leaves
an annoying console window to the toolbar. I just wanted you to know that
this can be avoided on windows platform (it appears only on windows
platform, anyway :). With a C/C++ compiler you can make a tiny exe that will
do just the same as the batch file but won't leave a console window open.
Here's a link:

http://www-106.ibm.com/developerworks/java/library/jniexe/jniexe.html?dwzone
=java

Bonus feature about this executable support is that you can then set file
associations so that .java, .jsp and .ipr files will be opened with
idea.exe.

Perhaps next release will have this feature?-)

Thanks!
- Sampsa Lehtonen

--------

- Sampsa Lehtonen


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to