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 182040 - Show new files to open
Summary: Show new files to open
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Rails (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-15 13:58 UTC by pupeno
Modified: 2011-01-28 20:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pupeno 2010-03-15 13:58:18 UTC
In Ruby on Rails it's very common to generate files from the command line, like controllers, migrations, models, etc. Almost always, right after generating one of those files, I want to open them.

I think it would be amazing if NetBeans, upon detecting a new file, it would show a dialog offering to open them. Not every file should be treated that well. I don't care about files in log or tmp, but I think it's pretty clear which files should be open in a Ruby on Rails project.

The dialog could be a popup, but I think it would be better if it appears from the bottom, like the console, the tests, and so on. It should go away after a while maybe.

One way to architect it is to have a view/widget/pane whatever you call them in NetBeans, like the one for tests, output and so on, called "Recently Created Files" that list all files in order of creation, or maybe some, that is shown when there's activity, like output.

I think this would be one of those feature that make you desperately want a product because when you use it, it seems like it's reading your mind and doing exactly what you want.
Comment 1 Erno Mononen 2010-03-16 15:22:52 UTC
That's an interesting idea; I can see that this could be useful. Note that the plan is to have a terminal emulator integrated in the IDE so well that using an external terminal should become less and less needed - please see http://wiki.netbeans.org/TerminalEmulator. Running commands that create files through the TE within the IDE would hyperlink the output so that one could easily open any of the created files. While the TE is already available in 6.9 builds, it is not yet integrated with the Ruby features. In any case, what you propose would have additional value even when the TE is fully integrated. For 6.9 it is too late though (we're in a bugfixing phase now); will have to get back to this after 6.9.
Comment 2 pupeno 2010-03-16 18:05:38 UTC
That integrated console sounds awesome! I hope at some moment you have integrated irb / script/console. I find myself leaving NetBeans to go to those very often.