Is there a way to open a folder that contains javascript/ruby files in Netbeans without creating a new project?
To open a local file/folder (as a file-explorer) in Netbeans, in the top menu-bar goto: Window -> Favourites (or press Ctrl+3), this will open 'Favourites' pane, here you can open files or folders (in Linux, by default you will see your 'home' directory).
In NetBeans IDE, choose File > Open Project. In the file chooser, select the project and click Open Project.
There is one generic way to show any folder in the file system and its contents in NetBeans. Please follow these steps.
UPDATE (05 Nov 2011):
NetBeans IDE latest version 7.1 Beta and onwards also shows one popular project named HTML Project Support. This is the exact project support needed for the HTML static pages and JavaScript static pages. The plugin description shown in the Plugin center is as follows:
Support for directories containing HTML files as first-class projects. Automatically opens any dir named 'www' or 'public-html' as a project; other directories can be opened via New > Project. Stores nothing inside your web directory that might clutter your web server. Provides a flattened logical view of all HTML files in all subdirs of the project, listed by HTML title rather than file title, and support for 'building' (zipping) and 'running' (viewing). Generally should be handy for doing documentation and articles.
This plugin can be installed from the Plugins dialog box and selecting the module names "HTML Project support"
(Short answer: just use 'Favourites')
To open a local file/folder (as a file-explorer) in Netbeans, in the top menu-bar goto: Window -> Favourites (or press Ctrl+3), this will open 'Favourites' pane, here you can open files or folders (in Linux, by default you will see your 'home' directory).
HTH Aditya
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With