Page 1 of 1

Compile only current file in the project

Posted: Mon Feb 11, 2013 10:35 pm
by Nico
[French]
Possibilité de compiler seulement la source en cours d'affichage dans l'éditeur lorsque celle ci fait parti d'un projet

[English]
Ability to compile only current source currently displayed in the editor when it is part of a project

Re: Compile only current file in the project

Posted: Tue Feb 12, 2013 3:52 pm
by Didelphodon
+1

Re: Compile only current file in the project

Posted: Tue Feb 12, 2013 8:54 pm
by Shield
+1, sounds useful. :)

Re: Compile only current file in the project

Posted: Wed Feb 13, 2013 1:00 am
by STARGÅTE
why?
in a project are many files with include, so you can't compile it alone.

And with compiler targets you can add some other files as main codes, to compile it "alone".

Re: Compile only current file in the project

Posted: Wed Feb 13, 2013 1:03 am
by skywalk
I enjoy this 'feature' now by NOT using projects. :wink:

Re: Compile only current file in the project

Posted: Wed Feb 13, 2013 7:49 am
by Danilo
STARGÅTE wrote:why?
in a project are many files with include, so you can't compile it alone.
I have a project consisting of 1 (One) Include File (~10.000 lines) for a library and 180 examples (all together ~23.500 LOC).
I can compile and execute all examples with a button press, but sometimes it would be nice to only compile
the current example file I am working on. If I press F5, always all 180 examples compile.
Should I make 180 targets now, for compiling/testing one out of 180 examples? I don't have time to do that,
so I understand this feature request. Compile only currently opened file of a big project (in my case, one of the 180 example files,
which also compile stand-alone, because every example contains "XInclude "xyz.pbi").

Would be nice, +1.