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

Own command list #11573

Closed
ManPython opened this issue Oct 21, 2021 · 3 comments
Closed

Own command list #11573

ManPython opened this issue Oct 21, 2021 · 3 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Issue-Question For questions or discussion Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something 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 Resolution-Answered Related to questions that have been answered

Comments

@ManPython
Copy link

ManPython commented Oct 21, 2021

Description of the new feature/enhancement

Want have Own command list, eg. for own env #11572

  • python manage.py runserver
  • python manage.py runserver -host=1.2.3.4
  • python manage.py runserver -host:1.2.3.4 port:12
  • python manage.py runserver -host=1.2.3.4 port=12
  • ..etc

Proposed technical implementation details (optional)

  • it be nice to see navigator for commands (explorer like scripts)
  • run these commands by shortcuts per custom tab with special env (eg. each env can have own scripts and shortcuts, in manage can select for which tab/env this commands pallete/shortcuts can work)
  • easy select last used commands, favorites
  • commands can be runed by ctr+shift+p from list where commands can have own names/descriptions
  • inspired cmder ;p
@ManPython ManPython added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Oct 21, 2021
@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 Oct 21, 2021
@zadjii-msft
Copy link
Member

Okay so I'm gonna try and read between the lines a bit here. I discussed something similar in #5273 (comment).

{ "command": { "action": "sendInput", "input": "git status\r" }, "keys":"ctrl+g", "name": "git status", "icon": "🌿"},

@ManPython
Copy link
Author

Yeaa.. this what I'm looking

Soo.. where is sendInput ?
Where to put this?:
{ "command": { "action": "sendInput", "input": "python manage.py runserver\r" }, "keys":"ctrl+r", "name": "Run Django", "icon": ""},

@zadjii-msft
Copy link
Member

In the actions in your settings file: https://github.com/microsoft/terminal/blob/main/src/cascadia/TerminalSettingsModel/userDefaults.json#L24.

For more info, check out the docs.

@zadjii-msft zadjii-msft added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Issue-Question For questions or discussion Resolution-Answered Related to questions that have been answered labels Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Issue-Question For questions or discussion Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something 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 Resolution-Answered Related to questions that have been answered
Projects
None yet
Development

No branches or pull requests

2 participants