If I have a project open, which contains a main exe and a DLL, and I just want to do a quick syntax check of my DLL it is quite annoying,
that clicking the "do syntax check" will always only check the main file and not my selected dll file.
From my point of view you could just change the behaviour of the syntax check to always check the selected file and not the main project file.
I can't imagine any scenario, were you want to check a file you are not looking to.
[IDE] Add Syntax-Check for open file
Re: [IDE] Add Syntax-Check for open file
I just wondered if the feature doesn't work. I have a pb code template file that i checked but got no syntax errors where I should. I didn't even know it uses the mainfile. I have a mainfile set so i can F5/compile/run from that file, but the file gets only included via IncludeBinary so the syntax check never reaches the file.
Re: [IDE] Add Syntax-Check for open file
Syntax check actually launch a regular compilation in a special mode, so it's exactly like launching the program (that's why it uses the main file and can't run only on the selected file).