SapphireSteel Forum
Welcome, Guest. Please login or register.
May 21, 2013, 08:40:04 PM

Login with username, password and session length
Search:     Advanced search
Welcome to the SapphireSteel forum - for discussion of the Ruby In Steel and Amethyst IDEs
3884 Posts in 800 Topics by 669 Members
Latest Member: m
* Home Help Search Login Register
+  SapphireSteel Forum
|-+  General
| |-+  Ruby In Steel
| | |-+  adding files to project
« previous next »
Pages: [1] Print
Author Topic: adding files to project  (Read 3537 times)
jimflip
Registered User
Newbie
*
Posts: 17


« on: March 13, 2007, 07:40:01 AM »

I'm having various issues due to ruby project's creating duplicates of files when you add them to a project.

It seems that when I add an existing file to my project it is copied to my project directory, this is causing all sorts of problems for me, and this is not the standard practice for projects in Visual Studio (well not that i have ever encountered).

Is it possible to disable this?

Thanks,
Jim.
Logged
Huw Collingbourne
Administrator
Hero Member
*****
Posts: 934



« Reply #1 on: March 13, 2007, 10:46:17 AM »

Do you mean you'd like an 'Add As Link' option? The default 'Add Existing Item' behaviour for VS (C# as well as Ruby) is to copy files into the current project directory. C# also has an option to 'Add As Link' which creates a link to the original item rather than a copy of the file. We don't yet implement Add as Link but we shall do so shortly.

best wishes

Huw
Logged
jimflip
Registered User
Newbie
*
Posts: 17


« Reply #2 on: March 14, 2007, 04:01:02 AM »

I see, well in C/C++ projects that is not the behavior, trust MS to cause inconsistency.
I would certainly prefer if ruby projects behaved like the C/C++, creating duplicates of files like that is a recipe for disaster and can can be a pain with your SCM.

Thanks,
Jim.
Logged
Dermot
Administrator
Hero Member
*****
Posts: 1005


« Reply #3 on: March 15, 2007, 12:46:34 PM »

I've just been looking at how to create links in a project. There's a bit of extra processing that needs to be done to handle the link - it's not done by default. I hope to get it done at the same time as I do some more work the Cut/Paste/drap/drop between projects - I've been putting off OLE drag'n'drop for some time, but I think I've got to bite the bullet sometime. OLE is *not* my favorite programming thing Sad

Dermot
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!