you can also copy the folder over from another project (e.g. c#) in the same solution (sometimes i create a dummy project just to do this and delete it after).

I've only used this for resources and configurations files though, not sure how it would affect the compilation order for .fs files

By on 4/1/2009 7:37 AM ()

We don't support that feature; hopefully maybe in a future release.

By on 2/24/2009 10:11 AM ()

We don't support that feature; hopefully maybe in a future release.

Thanks for the response. Hopefully this is reasonably high priority. It's a bit painful to be unable to organize project files in folders! Not a problem for toy apps, but for serious apps a necessity!

Regards,

Bill

By on 2/24/2009 1:41 PM ()

We don't support that feature; hopefully maybe in a future release.

Thanks for the response. Hopefully this is reasonably high priority. It's a bit painful to be unable to organize project files in folders! Not a problem for toy apps, but for serious apps a necessity!

Regards,

Bill

I agree wholehartedly. If your project has more than a handful of files, working with them through the solution explorer becomes really difficult for obvoius reason - the order these files are shown in the windows explorer does not match the order in the solution explorer and you need to work with both.

I understand prefectly well the need to compile the code in a particular order - I assume breaking it would make type inference really difficult, still I think that there are several ways to show the files in the solution explorer in a more meaningful order.

One way is to make it a responsibility of the IDE to calculate the order of files (or report an error if it is not possible). This seems to be a simple matter of ordering a dirgraph of the files.

If for any reason (on the fly performance?) this is not possible, I would still like the solution explorer to show the files in the "windows explorer order" - sorted by name, and use a different screen/view/tool to specify the order in which the files have to be compiled.

I just do not see how these two functions - displaying project file directory and controlling compilation order can be combined in a single screen in a way usable for bigger projects

By on 4/1/2009 1:17 PM ()

The issue is complicated by the fact that compilation order is relevant. Hence you could get an ordering like:

  • file1.fs
  • folder1 (containing .fs files)
  • file2.fsi
  • file3.fs
  • folder2

It's on my list to look into this for #develop. If I find a reasonable solution, I'll implement it. If not, you will still be able to order your files in directories, but the files will show as non-hierarchical list in the project explorer.

By on 2/24/2009 9:37 PM ()

The issue is complicated by the fact that compilation order is relevant. Hence you could get an ordering like:

  • file1.fs
  • folder1 (containing .fs files)
  • file2.fsi
  • file3.fs
  • folder2

It's on my list to look into this for #develop. If I find a reasonable solution, I'll implement it. If not, you will still be able to order your files in directories, but the files will show as non-hierarchical list in the project explorer.

Well, in my case I'm putting "resources" in the folder; i.e., files whose "Build Action" is "Embedded Resource" so the compilation order is not an issue. I see your point though.

Bill

By on 2/24/2009 10:16 PM ()

If you really want this now, I'll let you in on a little secret; you can get most of the functionality by editing the .fsproj file by hand and doing e.g. Include="Folder\filename" (just as a C# project would do for you using the UI). This non-feature is not well tested and has some known bugs, but for just 'keeping the resources out of the way' it will probably work ok if you want to 'use at your own peril'.

By on 2/24/2009 10:19 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper