Path Tools - plugin detail
Path Tools module provides Copy Paths, Explore, Shell and External Edit actions.
| Plugin owner: |
sandipchitale |
| Website: |
http://blogs.sun.com/scblog |
| Added: |
2007-03-22 |
| Last updated: |
2008-05-09 |
| NetBeans Versions: |
6.0 |
| License: |
CDDL |
| Category: |
Utilities |
| Size: |
0.02 MB |
| Downloaded: |
10,489 times |
| Rating: |
|
Verifications for NetBeans versions
Decisions of individual verifiers for Path Tools plugin for NetBeans IDE 6.0
Comments
Decisions of individual verifiers for Path Tools plugin for NetBeans IDE 6.1
Comments
|
Introduction
This module provides the following actions: - Copy Paths Action Copy
the full paths of the files/folder of selected node to the clipboard.
This also included the System File System nodes. Each file path is on a
line. The lines are separated using the value specified by system
property line.separator. For Project nodes the full path of the project
directory is copied.
- Explore Action Launch the
OS File Explorer (such as Windows Explorer or Finder or Koquerer or
Nautilus) with the path of the file or folder of selected node selected
in it. For Project nodes the project directory is selected. The Windows
Explorer is used on MS Windows. Finder is used on MacOS. The Nautilus
or Konquerer is used on Linux. The FileMgr is used on Solaris.
- Shell On Path Action
Launch the OS shell (such as Command Prompt orXterm or Terminal) with
the current directory set to path of the folder or parent path of the
file of selected node. For Project nodes the project directory is used.
The Command Prompt is used on MS Windows. Terminal.app is used on MacOS
(not implemented yet). The Xterm is used on Linux and Solaris (not
implemented yet).
- Edit Action Launch the
editor (such as Notepad or Edit or TextPad) with the path of the file
or folder of selected node selected in it. For Project nodes the
project directory is selected. The Notepad is used on MS Windows.
The commands to launch the external program can be configured using Tools:Options.The commands are
parsed using the following API:
http://www.netbeans.org/download/5_5/javadoc/org-openide-util/org/openide/util/Utilities.html#parseParameters(java.lang.String)
Thus you can quote the paths with spaces in them.
Sources
DISCLAIMER: This module is experimental. So no guarantees. Use the module at your own risk.
Download NetBeans 5.x compatible version.
What's new in this version
Now the NBM is signed.
Added /D command line argument to the cd command of the default shell commands on WIndows platform.
|
[ You have to be logged in to be able to comment. ]
User Comments
Works with NB 7.1
I can also confirm that this plugin works with NB 7.1.
But one issue: When you copy paths in favorites view, ".shadow" will be appended to filename.
Posted by markiewb on Jan 17, 2012
Works with 7.1 release
I confirm: it works with NB 7.1 release
Posted by jmborer on Jan 09, 2012
Works with 7.1
Works with 7.1
Posted by sfiedler on Dec 15, 2011
shell on path not working netbeans 7.0 / ubuntu
shell on path not working netbeans 7.0
getting java.lang.ArrayIndexOutOfBoundsException: 0
Posted by sasime2 on Jul 18, 2011
Beats all the VIM Plugins…
… because you can use the one and only original Vim. Hint: use
cmd /C start path to vim\gvim.exe -g --servername project-name --remote-silent "{path}"
to start. That way all files will be opened by the same vim server instance. On Mac OS and Linux you won't need the cmd stuff as vim will spawn itself into the background.
Posted by krischik on Dec 13, 2010
RE: Does not work with 6.8
Hi thomasbarnett,
Glad to hear you got it working.
I have tried fix to the bugs in my plugins several times but I just could not get the hg clone of the main and main/contrib mercurial repos to finish after several attempts. The repos have just gotten too huge. Very frustrating.
thanks,
Sandip
Posted by sandipchitale on Jun 25, 2010
[solved] RE: RE: Does not work with 6.8
I did not change any setting though the quotes were not escaped, e.g. was "explorer /e, "{path}"". Escaping quotes did not make a difference. However, "cmd /C start..." did the trick. Thanks. I would try to debug, if I could figure out how to checkout the pathtools only and not the entire contrib :)
Posted by thomasbarnett on Jun 25, 2010
[solved] RE: RE: Does not work with 6.8
I did not change any setting though the quotes were not escaped, e.g. was "explorer /e, "{path}"". Escaping quotes did not make a difference. However, "cmd /C start..." did the trick. Thanks. I would try to debug, if I could figure out how to checkout the pathtools only and not the entire contrib :)
Posted by thomasbarnett on Jun 25, 2010
RE: Does not work with 6.8
Did you by any chance change the settings for explore command file or folder ? The default settings are - "explorer /e, \"{path}\"" for folder and "explorer /e,/select, \"{path}\"" for file. If that does not work you can try something like "cmd /C start explorer \"{path}\"".
I currently do not have access to a Windows XP machine so I could not try it.
BTW the source code for the plugin is at http://hg.netbeans.org/main/contrib/file/tip/pathtools in case you want to attempt to debug it.
Posted by sandipchitale on Jun 06, 2010
Does not work with 6.8
While it lasted it was an indispensable plugin, alas does not work properly with 6.8. When one use's "Explore Path..." from the context menu within the Projects pane IDE freezes until the launched Explorer window is closed. NetBeans 6.8 (Build 200912041610); XP Pro SP3.
Posted by thomasbarnett on Jun 05, 2010
RE: 6.8 version
Hi zudrom,
I just tried Path Tools on NetBeans 6.8 and it worked. What is not working for you?
Regards,
Sandip
Posted by sandipchitale on Mar 28, 2010
6.8 version
Could you please update plugin to work with current Netbeans version (6.8)?
Posted by zurom on Mar 26, 2010
RE: edit problem on linux
Hi calcifer,
I tried with the following edit command for File: and it worked for me.
/usr/bin/gedit "{path}"
Can you try that and let me know it it works?
Posted by sandipchitale on Aug 07, 2009
Enhancement requests
I would love to see some of the enhancements I asked for iin this feature request:
http://www.netbeans.org/issues/show_bug.cgi?id=169084
They involve being able to copy & paste files to/from the Projects/Files views and the local file system.
Also, the "Explore" option should be available when right-clicking files (in addition to folders) for easier use on folders that have a lot of files.
Awesome plugin!
Posted by markeb on Jul 24, 2009
works fine
windows xp\netbeans 6.5\jdk1.6.0_12
thank you very much.
Posted by lmw on Mar 10, 2009
edit problem on linux
i installed it on linux but not working edit button.
i tried {path} and the other marks but file name is incuding extra ":" char at end of the file name
for ex: index.php:
so dont work
Posted by calcifer on Feb 03, 2009
Excellent
I love this plugin! Great work!
I do much of my work from the cygwin command line, and having the ability to just click a button to open a bash prompt at the desired location is a great time saver.
BTW: I have not had any problems using it with NB 6.5
Posted by frosty on Jan 28, 2009
Hi
First of all. great job!it's a very usefull netbeans plugin.I'm having some trouble with it, I'm using netbeans 6.5 and after having a couple of files open I wan't to explore a path, the explorer is open but the ide freezes... :(
Posted by wadijm on Jan 13, 2009
Editor Context Menu? Editor Tab Context Menu
I thank you for this as well. It is indeed very useful.
Could you add options to add these choices to the Editor context menu
and especially to the Context Menu that is displayed from the Editor Tabs
themselves?
When your cursor hovers over one of these tabs, a tool tip displays the
full path for the file that is being edited with the editor page associated
with that tab, but you can't copy that full path to the clip board at that
time.
Posted by mbarnes on Jan 02, 2009
Copy Path and Explore actions in popup menus of file and folder nodes
Copy Path and Explore actions have been added to the popup menus of file and folder nodes
Posted by sandipchitale on Sep 10, 2008
6.5 support
Seems to work in 6.5 also.
Posted by sandipchitale on Jul 14, 2008
6.5 support
Will you ever get around to provide support for NB 6.5?
Posted by nsegura3 on Jul 09, 2008
RE: Suggestion
bbtech, I have added the /D command line argument as suggested by you. Thanks.
Posted by sandipchitale on Jan 22, 2008
Suggestion
Thanks for the great plugin!
I would like to suggest that you change the default shell commands to:
cmd /C start cmd /K cd /D "{path}"
cmd /C start cmd /K cd /D "{parent-path}"
(note the /D option)
That will make it so that it will open the prompt in the correct drive.
Posted by bbtech on Jan 17, 2008
Thanks
Thanks for your comments. I am looking into adding some of these actions to the nodes in Files and Projects windows. I need to find the sources myself ;)
Posted by sandipchitale on Dec 21, 2007
Perfect
Thanks for the plugin. This is exactly what I was looking for, especially the "Explore Action" that launches the File Explorer. I use it all the time now.
Posted by brian_S on Dec 20, 2007
Feature request --- context menu item & sources
I really like this plugin (as it saves me hours of typing “cd” commands into a terminal:)
Would it be possible to add two context menu items – “Explorer path” and “Shell on path” in the project/files view? (like Explore from here has http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=15)
Also are there sources available? (Your blog says coming soon :)
Best regards,
Ajasja
Posted by ajasja on Dec 18, 2007
Download file extension changed to .nbm
Done.
Posted by sandipchitale on Oct 24, 2007
Change file extension to .nbm
It happened to me too. I will have it corrected.
Posted by sandipchitale on Oct 09, 2007
Change file extension to .nbm
The file that I downloaded has a .zip extension, in order to install it in Netbeans it needs to be changed to .nbm.
Posted by heismann on Sep 20, 2007