File tree Expand file tree Collapse file tree 5 files changed +0
-16
lines changed Expand file tree Collapse file tree 5 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,6 @@ export const DEFAULT_HOTKEY_GROUPS: HotkeysGroup[] = [
2626 title : i18n ( 'hotkeys.execute-selected-query' ) ,
2727 value : isMac ( ) ? 'cmd+shift+enter' : 'ctrl+shift+enter' ,
2828 } ,
29- {
30- title : i18n ( 'hotkeys.previous-query' ) ,
31- value : isMac ( ) ? 'cmd+arrowUp' : 'ctrl+arrowUp' ,
32- } ,
33- {
34- title : i18n ( 'hotkeys.next-query' ) ,
35- value : isMac ( ) ? 'cmd+arrowDown' : 'ctrl+arrowDown' ,
36- } ,
3729 {
3830 title : i18n ( 'hotkeys.save-query' ) ,
3931 value : isMac ( ) ? 'cmd+s' : 'ctrl+s' ,
Original file line number Diff line number Diff line change 1515 "hotkeys.title" : " Keyboard shortcuts" ,
1616 "hotkeys.execute-query" : " Execute query" ,
1717 "hotkeys.execute-selected-query" : " Execute selected query" ,
18- "hotkeys.previous-query" : " Previous query" ,
19- "hotkeys.next-query" : " Next query" ,
2018 "hotkeys.save-query" : " Save query" ,
2119 "hotkeys.save-selected-query" : " Save selected query"
2220}
Original file line number Diff line number Diff line change 1515 "hotkeys.title" : " Быстрые клавиши" ,
1616 "hotkeys.execute-query" : " Выполнить запрос" ,
1717 "hotkeys.execute-selected-query" : " Выполнить выбранный запрос" ,
18- "hotkeys.previous-query" : " Предыдущий запрос" ,
19- "hotkeys.next-query" : " Следующий запрос" ,
2018 "hotkeys.save-query" : " Сохранить запрос" ,
2119 "hotkeys.save-selected-query" : " Сохранить выбранный запрос"
2220}
Original file line number Diff line number Diff line change @@ -157,7 +157,6 @@ export function YqlEditor({
157157 editor . addAction ( {
158158 id : 'previous-query' ,
159159 label : i18n ( 'action.previous-query' ) ,
160- keybindings : [ keybindings . selectPreviousQuery ] ,
161160 contextMenuGroupId : CONTEXT_MENU_GROUP_ID ,
162161 contextMenuOrder : 2 ,
163162 run : ( ) => {
@@ -167,7 +166,6 @@ export function YqlEditor({
167166 editor . addAction ( {
168167 id : 'next-query' ,
169168 label : i18n ( 'action.next-query' ) ,
170- keybindings : [ keybindings . selectNextQuery ] ,
171169 contextMenuGroupId : CONTEXT_MENU_GROUP_ID ,
172170 contextMenuOrder : 3 ,
173171 run : ( ) => {
Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ export function getKeyBindings(monaco: typeof Monaco) {
99 return {
1010 sendQuery : ctrlKey | KeyCode . Enter ,
1111 sendSelectedQuery : ctrlKey | KeyMod . Shift | monaco . KeyCode . Enter ,
12- selectPreviousQuery : ctrlKey | KeyCode . UpArrow ,
13- selectNextQuery : ctrlKey | KeyCode . DownArrow ,
1412 saveQuery : ctrlKey | KeyCode . KeyS ,
1513 saveSelectedQuery : ctrlKey | KeyMod . Shift | KeyCode . KeyS ,
1614 shortcutsHotkey : ctrlKey | KeyCode . KeyK ,
You can’t perform that action at this time.
0 commit comments