3 ms·
I actually used to do this, but got so tired of it that I made a custom plugin that sends my most common commands to an open terminal window on a second monitor
by bogwog 6y ago
I actually used to do this, but got so tired of it that I made a custom plugin that sends my most common commands to an open terminal window on a second monitor via a keyboard shortcut. So now I can press F5 to 1) compile arm64 target and create an APK, 2) install the APK on an Android device, 3) run the newly installed application, and 4) execute logcat to view logs
That's a hacky solution since it requires a server app running in the terminal listening for commands from ST3. There's also some logic in there to make sure nothing happens unless all files have been saved, to avoid some impossible to debug situations. As far as I know there's no better way to accomplish something like this in ST. I've seen some plugins that use a text buffer/tab as a command line output, but that's terrible.
On the bright side, this does allow me to use whichever terminal app I want instead of being forced to use whichever built-in terminal the ST devs might include.