Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use an external editor for some file types with Netbeans

Tags:

netbeans

So with eclipse I would instruct it to open html/css/js files in textmate, and pretty much just use if for the php side of things.

Would like to do a similar thing with nb if possible.

Any thoughts?

Best, Bob

like image 474
Bob Spryn Avatar asked Jul 03 '10 05:07

Bob Spryn


1 Answers

There exists a Path Tools plugin for Netbeans. It has a command "Edit path...". With this you can select a file in the tree, click "Edit path..." and the file will be opened in an external editor.

You can customize the external program which is called under "Tools" -> "Options" -> "Miscellaneous" -> "Path Tools" -> "Edit Commands For File" .

You can't assign it to specific file types, but at least you can open files without leaving Netbeans.

The webpage of the Path Tools plugin looks not very active, but it works in Netbeans 6.9.1 without problems (Works on My Machine).

It also has other useful actions:

  • Copy Paths Action Copy the full paths of the files/folder of selected node to the clipboard.
  • Explore Action Launch the OS File Explorer
  • Shell On Path Action Launch the OS shell
  • Edit Action Launch the editor

This plugin should be integrated to Netbeans.

like image 153
Soundlink Avatar answered Nov 08 '22 05:11

Soundlink