Silverfrost Forums

Welcome to our forums

VS 2005 Solution Explorer sort & individual compile

20 Jun 2007 1:08 #1984

2 questions:

  1. In the Solution Explorer, when working with FTN, the source files do not sort alphabetically. Is this a function of the FTN plug-in or VS 2005?

  2. Is there a command to allow compiling individual routines in a solution? a 'compile this source routine only'? This doesn't appear in the options for either VS 2005 or FTN.

These may be VS2005 issues rather than FTN.

Working in VS 2003 and before (with other ccompiler plugins) these both appeared to be default and so I'd like the same behavior with VS 2005.

Thanks

27 Jun 2007 4:40 #2002

Both of these things will be looked into. The first issue has never been implemented and for the second, it should be possible to right click a file and 'compile', however this appears to be broken.

11 Jul 2007 2:40 #2044

I've found the easiest way to sort the VS Solution Explorer is to edit the .ftn95p project file in a text editor: there's a block of data for each source file and these can be re-ordered manually - the order they appear in the file is the same as the order in VS.

3 Aug 2007 8:39 #2142

These issues have both been fixed, that is:

  • all files lists are now sorted alphabetcially
  • individual file compile fixed

This will be available in the next release of the Visual Studio plugin (probably with the next release of FTN95)

6 Aug 2007 6:55 #2144

Does this sorting apply all the time, or just when you add a new item ? I have specifically ordered the items in my project into two groups (common 'library' files and project-specific files) - if they are automatically re-ordered it's going to muck all this up 😢

If it does re-order, could we have an option to prevent it happening (even if it's just a registry setting), or even better, is there any chance of being able to add 'Folders' within the FTN95 project (or filters I think they're called in VS2005) to enable code to be organised cleanly within solution explorer - C++ projects let you do this.

Cheers, Alan

7 Aug 2007 10:43 #2149

I will look into both of these things and come up with something. The addition of user defined folders is large task and the best option may be a setting accessed via the folder node properties. I will keep this thread updated as to the outcome.

6 Mar 2008 11:38 #2890

User defined folders have been added to Visual Studio 2005 and Visual Studio 2008 plugins. When a new project is created, Source and Include folders are created by the environment. These however, can be removed or renamed and user folders can be created anywhere in the project structure. Cut/copy/paste and dragging of files between folders has also been implemented.

As previously noted in the thread, individual file compile has also been fixed.

The new plugins will be available with the next release of FTN95 (5.2) which will be available in the very near future.

As can be inferred from above - FTN95 also has full support in Visual Studio 2008 as of 5.20.

Please login to reply.