Stuart Fellowes wrote:
I see the new file option but it seems to be disabled regardless.
Also, a very useful thing would be to allow the left pane to show “all
project” in whatever the rails apps directory is. Having to open one
project at a time is a drag.
On 10/1/06, Marcus Ob [email protected] wrote:
- Added “New file…” command to easily create new files
Posted via http://www.ruby-forum.com/.
The “New File” should enable when a file is already opened in the IDE,
f.ex a controller, so it will prompt for the new file path(proposing by
default the view path for the controller) and the new filename
(proposing by default the selected text in the controller file).
So, for example if you are editing “posts_controller.rb”, and you select
the word “search”, and you hit “New File”, then RoRED will propose to
create a new file called
“your_rails_app_path\app\viwes\posts\search.rhtml”, and of course you
can change the whole file name or path.
This default is because usually you need to create new views (at least,
i do…) else you usually use script\generate.
If “New File” does not enable even when a file is opened in the ide,
that should be a wierd bug. Does it?