feat(editor): add configurable line comment shortcut

This commit is contained in:
t8y2 committed 2026-07-07 18:32:57 +08:00
1 parent 184e235999
commit 5a9ab5c036
13 files changed
+109 -11

No files matched your search

+3
View File
@@ -3041,6 +3041,7 @@ export default {
shortcutSaveSql: "Save SQL",
shortcutAcceptCompletion: "Accept completion",
shortcutFormatSql: "Format SQL",
shortcutToggleLineComment: "Toggle line comment",
shortcutIndentMore: "Indent more",
shortcutIndentLess: "Indent less",
shortcutDuplicateLine: "Duplicate current line",
@@ -3086,6 +3087,8 @@ export default {
shortcutScopeSearch: "Search fields",
shortcutScopeSidebar: "Sidebar",
shortcutPressShortcut: "Press shortcut",
shortcutSearchPlaceholder: "Search shortcuts",
shortcutSearchNoResults: "No shortcuts match your search.",
shortcutConflict: "This shortcut conflicts with another action in the same scope.",
shortcutClear: "Clear shortcut",
preview: "Live Preview",
+3
View File
@@ -2952,6 +2952,7 @@ export default withEnglishFallback({
shortcutSaveSql: "Guardar SQL",
shortcutAcceptCompletion: "Aceptar completado",
shortcutFormatSql: "Formatear SQL",
shortcutToggleLineComment: "Alternar comentario de línea",
shortcutIndentMore: "Aumentar sangría",
shortcutIndentLess: "Reducir sangría",
shortcutDuplicateLine: "Duplicar línea actual",
@@ -2997,6 +2998,8 @@ export default withEnglishFallback({
shortcutScopeSearch: "Campos de búsqueda",
shortcutScopeSidebar: "Barra lateral",
shortcutPressShortcut: "Presiona un atajo",
shortcutSearchPlaceholder: "Buscar atajos",
shortcutSearchNoResults: "Ningún atajo coincide con la búsqueda.",
shortcutConflict: "Este atajo entra en conflicto con otra acción del mismo ámbito.",
shortcutClear: "Borrar atajo",
preview: "Vista previa en tiempo real",
+3
View File
@@ -2950,6 +2950,7 @@ export default withEnglishFallback({
shortcutSaveSql: "Salva SQL",
shortcutAcceptCompletion: "Accetta completamento",
shortcutFormatSql: "Formatta SQL",
shortcutToggleLineComment: "Attiva/disattiva commento di riga",
shortcutIndentMore: "Aumenta rientro",
shortcutIndentLess: "Riduci rientro",
shortcutDuplicateLine: "Duplica riga corrente",
@@ -2995,6 +2996,8 @@ export default withEnglishFallback({
shortcutScopeSearch: "Cerca campi",
shortcutScopeSidebar: "Barra laterale",
shortcutPressShortcut: "Premi scorciatoia",
shortcutSearchPlaceholder: "Cerca scorciatoie",
shortcutSearchNoResults: "Nessuna scorciatoia corrisponde alla ricerca.",
shortcutConflict: "Questa scorciatoia è in conflitto con un'altra azione nello stesso ambito.",
shortcutClear: "Cancella scorciatoia",
preview: "Anteprima in tempo reale",
+3
View File
@@ -2934,6 +2934,7 @@ export default withEnglishFallback({
shortcutSaveSql: "SQLを保存",
shortcutAcceptCompletion: "補完を受け入れる",
shortcutFormatSql: "SQLをフォーマット",
shortcutToggleLineComment: "行コメントを切り替え",
shortcutIndentMore: "インデントを増やす",
shortcutIndentLess: "インデントを減らす",
shortcutDuplicateLine: "現在行を複製",
@@ -2979,6 +2980,8 @@ export default withEnglishFallback({
shortcutScopeSearch: "フィールド検索",
shortcutScopeSidebar: "サイドバー",
shortcutPressShortcut: "ショートカットを押してください",
shortcutSearchPlaceholder: "ショートカットを検索",
shortcutSearchNoResults: "一致するショートカットはありません。",
shortcutConflict: "このショートカットは同じスコープ内の別のアクションと競合しています。",
shortcutClear: "ショートカットをクリア",
preview: "ライブプレビュー",
+3
View File
@@ -2951,6 +2951,7 @@ export default withEnglishFallback({
shortcutSaveSql: "Salvar SQL",
shortcutAcceptCompletion: "Aceitar autocompletar",
shortcutFormatSql: "Formatar SQL",
shortcutToggleLineComment: "Alternar comentário de linha",
shortcutIndentMore: "Aumentar recuo",
shortcutIndentLess: "Reduzir recuo",
shortcutDuplicateLine: "Duplicar linha atual",
@@ -2996,6 +2997,8 @@ export default withEnglishFallback({
shortcutScopeSearch: "Campos de pesquisa",
shortcutScopeSidebar: "Barra lateral",
shortcutPressShortcut: "Pressione o atalho",
shortcutSearchPlaceholder: "Pesquisar atalhos",
shortcutSearchNoResults: "Nenhum atalho corresponde à pesquisa.",
shortcutConflict: "Este atalho conflita com outra ação no mesmo escopo.",
shortcutClear: "Limpar atalho",
preview: "Pré-visualização ao vivo",
+3
View File
@@ -3041,6 +3041,7 @@ export default withEnglishFallback({
shortcutSaveSql: "保存 SQL",
shortcutAcceptCompletion: "接受补全",
shortcutFormatSql: "格式化 SQL",
shortcutToggleLineComment: "切换行注释",
shortcutIndentMore: "增加缩进",
shortcutIndentLess: "减少缩进",
shortcutDuplicateLine: "复制当前行",
@@ -3089,6 +3090,8 @@ export default withEnglishFallback({
shortcutScopeSearch: "搜索框",
shortcutScopeSidebar: "侧边栏",
shortcutPressShortcut: "按下快捷键",
shortcutSearchPlaceholder: "搜索快捷键",
shortcutSearchNoResults: "没有匹配的快捷键。",
shortcutConflict: "这个快捷键与同一作用域内的其他操作冲突。",
shortcutClear: "清除快捷键",
preview: "实时预览",
+3
View File
@@ -2838,6 +2838,7 @@ export default withEnglishFallback({
shortcutSaveSql: "儲存 SQL",
shortcutAcceptCompletion: "接受補全",
shortcutFormatSql: "格式化 SQL",
shortcutToggleLineComment: "切換行註解",
shortcutIndentMore: "增加縮排",
shortcutIndentLess: "減少縮排",
shortcutDuplicateLine: "複製目前行",
@@ -2883,6 +2884,8 @@ export default withEnglishFallback({
shortcutScopeSearch: "搜尋框",
shortcutScopeSidebar: "側邊欄",
shortcutPressShortcut: "按下快速鍵",
shortcutSearchPlaceholder: "搜尋快速鍵",
shortcutSearchNoResults: "沒有符合的快速鍵。",
shortcutConflict: "這個快速鍵與同一作用域內的其他操作衝突。",
shortcutClear: "清除快速鍵",
preview: "即時預覽",