This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 148709

Summary: Open project from Windows Explorer
Product: installer Reporter: bveldkamp <bveldkamp>
Component: CodeAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: blocker CC: markiewb
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: pseudocode

Description bveldkamp 2008-09-30 09:16:12 UTC
It would be nice to have the ability to open a NB project from Windows Explorer, i.e. right click on a project folder,
and have an "Open with NetBeans" option, if the folder contains a NB project.

As an aside, NB folders could have a different folder icon on Windows by adding a "Desktop.ini" file inside it, with
these contents:
[.ShellClassInfo]
IconFile=%ProgramFiles%\NetBeans 6.1\bin\netbeans.exe
IconIndex=0
Comment 1 Jesse Glick 2010-04-08 21:16:08 UTC
This is already possible; just run

  netbeans --open file file...

or even

  netbeans file file...

and they will be opened. (This works for project folders, too.) Up to the native installer to register a GUI item for this if it does not already.

Creating a Desktop.ini in project sources just for an icon would not be a good idea for most users.
Comment 2 bveldkamp 2010-04-09 07:15:10 UTC
Well yes, it /is/ possible. I created a shortcut to Netbeans in my SendTo folder, so I can open a project folder, but it's a bit of a hassle.

What I really meant is a shell extension that adds an "Open with Netbeans" menu item to the main popup menu. This item should only be available when clicking on a project folder (folder that has an 'nbproject' subfolder). 
There are many applications that do something similar, i.e. virus scanners, Tortoise, Winzip, ...

Ok, forget about the icons, it was just an idea.
Comment 3 Jiri Rechtacek 2012-10-07 12:58:56 UTC
Assigned to new owner.
Comment 4 brendac1957 2015-10-26 18:47:53 UTC
Created attachment 156981 [details]
pseudocode