You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There already a couple of extensions available doing a very similar thing, running a custom command. I am not talking about something like the Task runner which is already part of vscode, but of extensions like these:
My proposal is to add these features to the vscode so people don't have to rely on extensions for these things. I am thinking about a more generic version which lets you:
Execute a custom commands
Execute a custom commands in the integrated terminal
Pre-configure commands in the user's config
Bind custom keyboard shortcuts to (pre-configured) commands
Have variables available which get replaced with things like the current filepath, filename, working directory, line number, preferred line length (for par)
Pass selected text to command
Filter selected text with command (like sort -r)
Read in output of a command
Maybe even:
Attach triggers like onSave to a command
Let me know what you think about integrating this directly into vscode. Keep in mind that vi's :! covers a lot of these cases and has been a feature right from the start.
Alex Hirsch (@W4RH4WK) Main goal of VS Code is to be simple, fast and light weight. We made it open to the community to extend and customize it based on the needs. Those who are using it as a simple editor might not need this functionality.
Above requirement is a perfect example of customizing it and using it as required.
Activity
faustinoaq commentedon Aug 27, 2016
Maybe a plugin that puts it all together. XD
sandy081 commentedon Aug 29, 2016
Alex Hirsch (@W4RH4WK) Main goal of VS Code is to be simple, fast and light weight. We made it open to the community to extend and customize it based on the needs. Those who are using it as a simple editor might not need this functionality.
Above requirement is a perfect example of customizing it and using it as required.
Thanks.
geddski commentedon Nov 18, 2016
I wrote an extension for running custom series of commands (aka macros). Feedback welcome.
https://marketplace.visualstudio.com/items?itemName=geddski.macros