Why can't I add files that aren't in the same directory?

RubyMine does not seem to support my arrangement of files.

I have a 'Rakfile' in a directory named 'build'
And under 'build' is a directory called 'Rake', where the rest of the Ruby files are.
Unfortunately, this doesn't seem to be supported by RubyMine - I can't "add files" manually. Only 1 single folder.
So I can add the subdirectory ('Rake') but then can't add the Rakefile.

Is the project file structure inflexible like this to reflect the nature of Rake applications?
My request is to simply support adding files from anywhere. (Why not?)

2 comments
Comment actions Permalink

Hello Panda,

Why don't you use "Open Directory" on the "build" directory as a whole? The
project structure indeed does not support adding individual files to the
project, and so far we don't plan to change this.

RubyMine does not seem to support my arrangement of files.

I have a 'Rakfile' in a directory named 'build'

And under 'build' is a directory called 'Rake', where the rest of the
Ruby files are.

Unfortunately, this doesn't seem to be supported by RubyMine - I can't
"add files" manually. Only 1 single folder.

So I can add the subdirectory ('Rake') but then can't add the
Rakefile.

Is the project file structure inflexible like this to reflect the
nature of Rake applications? My request is to simply support adding
files from anywhere. (Why not?)

---
Original message URL:
http://www.jetbrains.net/devnet/message/5245929#5245929

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Actually, my mistake. The Rakefile is in the root directory (of my entire .Net C# project)
Root -> Rakefile
Under Root, is a folder 'Rake' with other Ruby files.

I just tried what you suggested, "Open Directory" on the root of my project where my Rakefile is (which has many thousands of c# and other files)
1 minute has gone past, and it is currently at 50%...
All this, to edit 4 Ruby files as part of our Rake build...

Does this constitute an argument for being able to add files individually?

0

Please sign in to leave a comment.