Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script Snips #7721

Closed
torrentx opened this issue Sep 24, 2020 · 2 comments
Closed

Script Snips #7721

torrentx opened this issue Sep 24, 2020 · 2 comments
Labels
Issue-Question For questions or discussion Needs-Tag-Fix Doesn't match tag requirements Resolution-Answered Related to questions that have been answered

Comments

@torrentx
Copy link

Description of the new feature/enhancement

A way to save and quickly use common command line inputs. For example git commands such as:

git.exe pull --progress -v -no-rebase "origin"

Proposed technical implementation details (optional)

Add a Snips folder to the drop down next to tabs at the top. Functionality here would be edit/delete/add/reorder snippets.

From the command line Alt-Shift- would copy it to the command line and allow for immediate running.

For example
alt-shift-1 Enter would pull the snippet and run it.

@torrentx torrentx added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Sep 24, 2020
@ghost ghost added Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Sep 24, 2020
@KalleOlaviNiemitalo
Copy link

You can already edit settings.json to bind Alt+Shift+1 to the sendInput action (#3799) with the snippet as a parameter. #1564 mentions that key bindings would be part of the settings UI in the future.

@DHowett
Copy link
Member

DHowett commented Sep 25, 2020

Indeed. sendInput is going to be our story for now, and once we get the ability to bind actions into the menu and toolbar and stuff it'll be easy to build up a compendium of snippets.

Gotta ask, though: why not use an alias in your shell? They're way more flexible than a "blast this input into the terminal" button...

@DHowett DHowett closed this as completed Sep 25, 2020
@DHowett DHowett added Issue-Question For questions or discussion Resolution-Answered Related to questions that have been answered and removed Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Sep 25, 2020
@ghost ghost added the Needs-Tag-Fix Doesn't match tag requirements label Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Question For questions or discussion Needs-Tag-Fix Doesn't match tag requirements Resolution-Answered Related to questions that have been answered
Projects
None yet
Development

No branches or pull requests

3 participants