Built-in Konsoles
Currently we have:
- the Konsole of the Project Plugin. It is automatically set to project root:
- the Terminal Tool View. It can be automatically set to the current directory
Development Process
We also have tools (the Build plugin) to build the code with a keyboard shortcut.
What is missing, is way to easily automate the "Run" part of the development with these properties:
- easy and flexible to setup
- as close as possible to the normal workflow of executing some shell command
Idea
One could add one (or later more) dedicated "Run Konsole" for a project:
- There, the user can configure the command line that should be executed upon run (exactly as one would type it into the console)
- the command can also contain runtime environment settings
- (A separate way to set the runtime environment would then not be needed, would it?)
- (also, the command line can contain the change to the build directory)
- There is a default keyboard shortcut to execute this action
- To be on the safe side, the Run Konsole is always reset upon a new run
The good side effect is that the user can make use of the shell history to quickly re-run the command with different options when needed.
Optionally, it could be useful that instead of using the built-in Konsole part to launch a fresh external Konsole which can be maximized etc.
Basic mockup:
(the text next to "Run command: " is a LineEdit or ComboBox)