Is there a way to open a folder that contains javascript/ruby files in Netbeans without creating a new project?
+1
A:
If it is a rails project, and have the ruby and rails plugin installed, it will automatically detect the rails folder as a project.
Just select File -> Open Project...
If it is a folder containing just ruby and javascript files, I suspect you might need to create a new project, it used to be really difficult to even open a single file in Netbeans without starting a project.
You can drag and drop files from the OS into the editor, but you won't get the project overview down the left hand side.
Clinton
2010-10-01 21:11:07
I wish there was a way to just open file/folder in Netbeans like Eclipse :(
never_had_a_name
2010-10-01 21:25:57
+1
A:
There is one generic way to show any folder in the file system and its contents in NetBeans. Please follow these steps.
- In NetBeans IDE, invoke Windows Menu and Favorites option. This will open a Favorites panel just besides the Project, Files, Services panels
- Right click in empty area of the Favorites panel and choose "Add to Favorites" option which will show you a dialog box. Now choose any folder from the file system and press Add button.
- Now you have the folder available in Favorites panel with all its contents as nodes. The files can be opened by double clicking in their respective editors if they are supported by NetBeans.
- When you right click on any file node NetBeans IDE will show three options Open (open in NetBeans default editor for that file type), OpenAs.. (choose from a list of editors for different file types) and Open in System (open in OS specific editor registered in OS)
with regards
Tushar Joshi, Nagpur
Tushar Joshi
2010-10-02 03:50:50