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

Trigger dev terminal commands / aliases with keyboard shortcuts #23432

Closed
sdaschner opened this issue Feb 4, 2022 · 2 comments · Fixed by #23497
Closed

Trigger dev terminal commands / aliases with keyboard shortcuts #23432

sdaschner opened this issue Feb 4, 2022 · 2 comments · Fixed by #23497
Labels
area/devmode kind/enhancement New feature or request
Milestone

Comments

@sdaschner
Copy link
Contributor

Description

It would be really convenient to be able to trigger certain commands or functionalities that one defines in the dev mode terminal (:) via shortcut.

Example:
As we had in #22345, the test pattern can be changed with test pattern include ... and optionally via terminal alias. However, when in dev mode, one has to type : ui <Enter> to switch modes and then (in this example) to trigger the test re-execution (R). It would be nicer, if the command (or alias) can be bound to a function key.

Suggestion:
Using a key that is not assigned (such as t) and bind it to a terminal command, that can be trigger from normal dev mode. If multiple functions should be assigned, we could expand that to t 1, t 2, ... etc.
Setting up could be in terminal mode, such as: bind --shortcut t -- test pattern ... (even possible for other keys that aren't assigned).

Implementation ideas

No response

@sdaschner sdaschner added the kind/enhancement New feature or request label Feb 4, 2022
@sdaschner
Copy link
Contributor Author

Happy to PR something if you think that'd be a nice idea

stuartwdouglas added a commit to stuartwdouglas/quarkus that referenced this issue Feb 8, 2022
If you define a single letter alias in the interactive shell and it is
not mapped to an existing command you can activate it from the normal
terminal.

Fixes quarkusio#23432
stuartwdouglas added a commit to stuartwdouglas/quarkus that referenced this issue Mar 19, 2023
If you define a single letter alias in the interactive shell and it is
not mapped to an existing command you can activate it from the normal
terminal.

Fixes quarkusio#23432
stuartwdouglas added a commit to stuartwdouglas/quarkus that referenced this issue Apr 7, 2023
If you define a single letter alias in the interactive shell and it is
not mapped to an existing command you can activate it from the normal
terminal.

Fixes quarkusio#23432
maxandersen pushed a commit to stuartwdouglas/quarkus that referenced this issue May 22, 2023
If you define a single letter alias in the interactive shell and it is
not mapped to an existing command you can activate it from the normal
terminal.

Fixes quarkusio#23432
maxandersen pushed a commit to stuartwdouglas/quarkus that referenced this issue May 22, 2023
If you define a single letter alias in the interactive shell and it is
not mapped to an existing command you can activate it from the normal
terminal.

Fixes quarkusio#23432
@quarkus-bot quarkus-bot bot added this to the 3.2 - main milestone May 23, 2023
@sdaschner
Copy link
Contributor Author

Woohoo 🙂🎉🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devmode kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants