Using an external editor

Answered

Hi,

I'd like to know if there is a way to use an external editor for hmtl in IDEA 7 m2? example, bbedit.

Thanks,

A.C.

8 comments
Comment actions Permalink

Hello Angelo,

I'd like to know if there is a way to use an external editor for hmtl
in IDEA 7 m2? example, bbedit.


What exactly do you need, and why? (As far as I know, the HTML editing support
of IntelliJ IDEA is much, much better than bbedit.)

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Sometimes you like to use tools you have been using for a long time:) I use the Intellij's html editor most of the time, but sometimes I'd like to open it in BBedit, one of reasons is, I like to browse/edit the file in a maximzied window. that will be a nice addition for Intellij to have that. thanks.

A.C.

0
Comment actions Permalink

Hello Angelo,

Sometimes you like to use tools you have been using for a long time:)
I use the Intellij's html editor most of the time, but sometimes I'd
like to open it in BBedit, one of reasons is, I like to browse/edit
the file in a maximzied window. that will be a nice addition for
Intellij to have that. thanks.


You can set up an external tool (Settings | External Tools) to open the selected
file in BBEdit.

You can double-click the editor tab to maximize the editor in IntelliJ IDEA,
by hiding all toolwindows.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Is it possible to make IntelliJ use the external tool when automatically when opening the file with a double-click?

Is it possible to register an external tool and create this association/behavior from within my plugin?

0
Comment actions Permalink

Please see https://www.jetbrains.com/help/idea/opening-files-from-command-line.html .

Association can be done externally using the OS specific methods. 

0
Comment actions Permalink

Thanks for the swift reply. Does this link not illustrated the reverse use case? I have developed an IntelliJ plugin, which creates a new file type based on the templates I registered. Now I would like these files to be opened in the external proprietary editor. I have manually registered it as an external editor and can open them via the context menu. However, I would like the external editor with the file to open when I double-click the file in Intellij (instead of seeing the file content inside the IntelliJ editor window).

0
Comment actions Permalink

It's controlled via the file types:

0
Comment actions Permalink

Thanks again! This does the trick (https://www.jetbrains.com/help/idea/creating-and-registering-file-types.html) manually. I will explore the SKD documentation such as https://www.jetbrains.org/intellij/sdk/docs/reference_guide/custom_language_support/registering_file_type.html further to determine how to achieve this file type registration und "Files Opened in Associated Applications" programmatically from within my plugin. Any pointers you may have handy would also be appreciated ;)

 

0

Please sign in to leave a comment.