[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
Compile only current file in the project
- Didelphodon
- PureBasic Expert
- Posts: 450
- Joined: Sat Dec 18, 2004 11:56 am
- Location: Vienna - Austria
- Contact:
Re: Compile only current file in the project
+1, sounds useful. 

Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
Re: Compile only current file in the project
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".
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".
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and more ― Typeface - Sprite-based font include/module
Lizard - Script language for symbolic calculations and more ― Typeface - Sprite-based font include/module
Re: Compile only current file in the project
I enjoy this 'feature' now by NOT using projects. 

The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Compile only current file in the project
I have a project consisting of 1 (One) Include File (~10.000 lines) for a library and 180 examples (all together ~23.500 LOC).STARGÅTE wrote:why?
in a project are many files with include, so you can't compile it alone.
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.