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 - Open project from Windows Explorer
Summary: Open project from Windows Explorer
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-30 09:15 UTC by bveldkamp
Modified: 2016-10-28 21:01 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
pseudocode (1.80 KB, text/plain)
2015-10-26 18:47 UTC, brendac1957
Details

Note You need to log in before you can comment on or make changes to this bug.
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