To browser

Is there a quick way to pop open something like an html file in the browser
from the Project view or the editor? Seems like there ought to be a way to
do so that uses the "Web browser path" setting.

Thanks,
Jon


4 comments
Comment actions Permalink

Jon Steelman wrote:

Is there a quick way to pop open something like an html file in the browser
from the Project view or the editor? Seems like there ought to be a way to
do so that uses the "Web browser path" setting.

Thanks,
Jon

on windows, regardless of IDEA's browser setting,
you can define an external tool that will open the OS default browser on
html files and windows explorer on folders :

program: rundll32
parameters: url.dll,FileProtocolHandler $FilePath$
working directory: C\

enjoy,
Edo

0
Comment actions Permalink

Yes, but I wanted to do so from inside of IDEA, for example, from the
Project View.

Jon

"Edoardo Comar" <e.comar.no.spam@no.spam.btinternet.com> wrote in message
news:bgoik4$unp$1@is.intellij.net...

on windows, regardless of IDEA's browser setting,
you can define an external tool that will open the OS default browser on
html files and windows explorer on folders :

>

program: rundll32
parameters: url.dll,FileProtocolHandler $FilePath$
working directory: C\

>

enjoy,
Edo



0
Comment actions Permalink

Create an external tool as Edo said and you will be able to right-click on a
file in the project view and run that tool.

"Jon Steelman" <jon@cc.gatech.edu> wrote in message
news:bgojf8$8i0$1@is.intellij.net...

Yes, but I wanted to do so from inside of IDEA, for example, from the
Project View.

>

Jon

>

"Edoardo Comar" <e.comar.no.spam@no.spam.btinternet.com> wrote in message
news:bgoik4$unp$1@is.intellij.net...

on windows, regardless of IDEA's browser setting,
you can define an external tool that will open the OS default browser on
html files and windows explorer on folders :

>

program: rundll32
parameters: url.dll,FileProtocolHandler $FilePath$
working directory: C\

>

enjoy,
Edo

>
>


0
Comment actions Permalink

Doh! Sweet. I had never explored External Tools. Thanks Edo and Brad.

Jon

"Brad Lane" <_no_spam_brad.lane@pearson.com> wrote in message
news:bgolm5$md0$1@is.intellij.net...

Create an external tool as Edo said and you will be able to right-click on

a

file in the project view and run that tool.

>

"Jon Steelman" <jon@cc.gatech.edu> wrote in message
news:bgojf8$8i0$1@is.intellij.net...

Yes, but I wanted to do so from inside of IDEA, for example, from the
Project View.

>

Jon

>

"Edoardo Comar" <e.comar.no.spam@no.spam.btinternet.com> wrote in

message

news:bgoik4$unp$1@is.intellij.net...

on windows, regardless of IDEA's browser setting,
you can define an external tool that will open the OS default browser

on

html files and windows explorer on folders :

>

program: rundll32
parameters: url.dll,FileProtocolHandler $FilePath$
working directory: C\

>

enjoy,
Edo

>
>

>
>


0

Please sign in to leave a comment.