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

Add docs for keyboard shortcuts. #138

Open
junhaoliao opened this issue Nov 28, 2024 · 0 comments
Open

Add docs for keyboard shortcuts. #138

junhaoliao opened this issue Nov 28, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@junhaoliao
Copy link
Member

junhaoliao commented Nov 28, 2024

Request

We have keyboard shortcuts configured for the Monaco editor:

const EDITOR_ACTIONS : EditorAction[] = [
{
actionName: null,
label: "Focus on Editor",
keyBindings: [monaco.KeyCode.Backquote],
},
{
actionName: ACTION_NAME.FIRST_PAGE,
label: "First page",
keyBindings: [monaco.KeyMod.CtrlCmd | monaco.KeyMod.Shift | monaco.KeyCode.BracketLeft],
},
{
actionName: ACTION_NAME.PREV_PAGE,
label: "Previous page",
keyBindings: [monaco.KeyMod.CtrlCmd | monaco.KeyCode.BracketLeft],
},
{
actionName: ACTION_NAME.NEXT_PAGE,
label: "Next page",
keyBindings: [monaco.KeyMod.CtrlCmd | monaco.KeyCode.BracketRight],
},
{
actionName: ACTION_NAME.LAST_PAGE,
label: "Last page",
keyBindings: [monaco.KeyMod.CtrlCmd | monaco.KeyMod.Shift | monaco.KeyCode.BracketRight],
},
{
actionName: ACTION_NAME.PAGE_TOP,
label: "Top of page",
keyBindings: [monaco.KeyMod.CtrlCmd | monaco.KeyCode.KeyU],
},
{
actionName: ACTION_NAME.PAGE_BOTTOM,
label: "Bottom of page",
keyBindings: [monaco.KeyMod.CtrlCmd | monaco.KeyCode.KeyI],
},
];

but there's no user guide / help menu explaining what are available in the new log viewer.

Possible implementation

We can either add a helper menu, or document the shortcuts in the user guide.

@junhaoliao junhaoliao added documentation Improvements or additions to documentation enhancement New feature or request labels Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant