Autoexecute tool(s) at compile command
Posted: Mon May 24, 2010 10:42 pm
A suggestion to improve the project panel and the compile functionality.
It would be fine, if we could assign one ore more 'tools' (from the tools menu) to a single project file.
Why this?
The tool should be executed automatically if the user hits F5 or press the compile button and then the tool should run before the PB compiler is doing it's work.
So the user can assign a preprocessor for example to the maincode of his project.
Without this feature he first have to activate the editortab with the corresponding sourcefile, then execute the preprocessor-tool manually and at last he have to press the compile button.
The tool-execution should work like a manual excution from the tools menu - inclusive the %FILE Parameter etc.
And if possible, the user could assign more than one tools to a sourcfile (like a chain).
Example visualisation:
So if the user hit 'compile' the following should happen:
1) Start Preprocessor Tool 1 (%FILE parameter points to Main.pb)
2) Start Preprocessor Tool 2 (%FILE parameter points to Main.pb)
3) Start Preprocessor Tool 3 (%FILE parameter points to Settings.pb)
4) Start the PB Compile process
If you wonder which preprocessors I am talking about. I mean for example 'Editor-linebreak-preprocessors' or 'automatic procedure declaration-preprocessors' etc...
Sorry for my godawful description - I hope you understand my suggestion... I am so tired at the moment and my english is generally not the best.
It would be fine, if we could assign one ore more 'tools' (from the tools menu) to a single project file.
Why this?
The tool should be executed automatically if the user hits F5 or press the compile button and then the tool should run before the PB compiler is doing it's work.
So the user can assign a preprocessor for example to the maincode of his project.
Without this feature he first have to activate the editortab with the corresponding sourcefile, then execute the preprocessor-tool manually and at last he have to press the compile button.
The tool-execution should work like a manual excution from the tools menu - inclusive the %FILE Parameter etc.
And if possible, the user could assign more than one tools to a sourcfile (like a chain).
Example visualisation:
Code: Select all
Projekt "MyProject"
Projectfiles Assigned Tools
- Main.pb ------------------> Preprocessor Tool 1 --> Preprocessor Tool 2
- Network.pb
- Settings.pb --------------> Preprocessor Tool 3
1) Start Preprocessor Tool 1 (%FILE parameter points to Main.pb)
2) Start Preprocessor Tool 2 (%FILE parameter points to Main.pb)
3) Start Preprocessor Tool 3 (%FILE parameter points to Settings.pb)
4) Start the PB Compile process
If you wonder which preprocessors I am talking about. I mean for example 'Editor-linebreak-preprocessors' or 'automatic procedure declaration-preprocessors' etc...
Sorry for my godawful description - I hope you understand my suggestion... I am so tired at the moment and my english is generally not the best.
