elementary / code

Code editor designed for elementary OS
https://elementary.io
GNU General Public License v3.0
476 stars 113 forks source link

Add the ability to run pre-configured actions #1099

Open mks-h opened 3 years ago

mks-h commented 3 years ago

Problem

There is no way to run pre-configured actions. So, every time you need to run your typical Gtk/Vala application — you need to run ninja and ./src/io.elementary.code commands yourself.

Proposal

Make an extension for running pre-configured actions in the integrated terminal. This would ease debugging because all you need to do to run a program is click on the big green media-playback-start button.

Prior Art

I imagine having a media-playback-start button in the header bar, and right next to it, a combo box with named action to be executed. Users should add these runners by saving a string to be executed in the shell and naming it. Actions should run in the separate session of the integrated terminal, not the one you access by the "Terminal" extension. As a reference, you can look at the Intellij IDEA's feature named Run/debug configurations.

jeremypw commented 3 years ago

See #940 for work in progress in this directions. Making it Flatpak compatible is challenging though. See also #939 for an existing issue with similar intention.