dzsessona / QuickOpener-NetBeans

Sometimes while programming in NetBeans you want to explore a particular file that you are editing on the file system browser, or maybe launch a command in a terminal to do something with it.
52 stars 41 forks source link

Terminal won't open properly if project is in folder with special characters #26

Closed QuietNoise closed 11 years ago

QuietNoise commented 11 years ago

Hi, There is a problem with action associated to Open in the default OS terminal (Alt+1) button.

Background Operating system: Windows 7 64bit One of my projects is under the folder which has ampersand in the name.

Action 1 Pressing Open in the default OS terminal (Alt+1) button with file/folder selected in Projects panel; Or Pressing Open in the default OS terminal (Alt+1) button while editing file in the editor;

Result for Action 1 Terminal with shell opens with the following error:

The system cannot find the path specified.

Expected result for Action 1 Shell Terminal should open with file’s current drive and folder.

Workaround Create custom action with command which wraps the folder name in double quotes:

cmd /c start cd /D "${currentFolder}"

and launch it using Launch custom command option.

dzsessona commented 11 years ago

Hello QuietNoise, I have just changed it and created a new .nbm file. I would upload it to test it but I think github removed the section downloads (or, at least i cannot find it anymore). Can you write a mail to diego.sessona@gmail.com so i can send you the new .nbm file to test it?

Thank you.

dzsessona commented 11 years ago

Anybody want to test it?

boenrobot commented 10 years ago

I have compiled your "master" branch myself, and I can confirm this is fixed.

dzsessona commented 10 years ago

@boenrobot thank you! I will publish the plugin for 7.4 friday evening :-) busy week before that...