feat(editor): add SQL block comment action

This commit is contained in:
Melody Ruch authored and GitHub committed 2026-08-16 11:29:03 +08:00
1 parent 34a4f5d78a
commit e18222628d
14 files changed
+127 -3

No files matched your search

+2
View File
@@ -1277,6 +1277,7 @@ export default {
exportQueryResultTo: "Export current query result to {format}",
copySelection: "Copy selection",
commentSelection: "Comment selection",
blockCommentSelection: "Block comment selection",
formatSelectionSql: "Format selected SQL",
compressSelectionSql: "Compress selected SQL",
cutSelection: "Cut selection",
@@ -6047,6 +6048,7 @@ export default {
shortcutFormatSql: "Format SQL",
shortcutExpandSelectStar: "Expand * to columns",
shortcutToggleLineComment: "Toggle line comment",
shortcutToggleBlockComment: "Toggle block comment",
shortcutIndentMore: "Indent more",
shortcutIndentLess: "Indent less",
shortcutInsertLineBelow: "Insert line below",
+2
View File
@@ -1255,6 +1255,7 @@ export default withEnglishFallback({
exportQueryResultTo: "Exportar el conjunto de resultados de la consulta actual a {format}",
copySelection: "Copiar seleccion",
commentSelection: "Comentar selección",
blockCommentSelection: "Comentario de bloque en la selección",
formatSelectionSql: "Formatear SQL seleccionado",
compressSelectionSql: "Comprimir SQL seleccionado",
sendToAi: "Enviar a IA",
@@ -5748,6 +5749,7 @@ export default withEnglishFallback({
shortcutFormatSql: "Formatear SQL",
shortcutExpandSelectStar: "Expandir * a columnas",
shortcutToggleLineComment: "Alternar comentario de línea",
shortcutToggleBlockComment: "Alternar comentario de bloque",
shortcutIndentMore: "Aumentar sangría",
shortcutIndentLess: "Reducir sangría",
shortcutInsertLineBelow: "Insertar una línea debajo",
+2
View File
@@ -1253,6 +1253,7 @@ export default withEnglishFallback({
exportQueryResultTo: "Esporta il set di risultati della query corrente in {format}",
copySelection: "Copia selezione",
commentSelection: "Commenta selezione",
blockCommentSelection: "Commenta selezione a blocco",
formatSelectionSql: "Formatta SQL selezionato",
compressSelectionSql: "Comprimi SQL selezionato",
sendToAi: "Invia ad AI",
@@ -5748,6 +5749,7 @@ export default withEnglishFallback({
shortcutFormatSql: "Formatta SQL",
shortcutExpandSelectStar: "Espandi * in colonne",
shortcutToggleLineComment: "Attiva/disattiva commento di riga",
shortcutToggleBlockComment: "Attiva/disattiva commento a blocco",
shortcutIndentMore: "Aumenta rientro",
shortcutIndentLess: "Riduci rientro",
shortcutInsertLineBelow: "Inserisci una riga sotto",
+2
View File
@@ -1273,6 +1273,7 @@ export default withEnglishFallback({
exportQueryResultTo: "現在のクエリ結果セットを {format} にエクスポート",
copySelection: "選択範囲をコピー",
commentSelection: "選択範囲をコメント化",
blockCommentSelection: "選択範囲をブロックコメント化",
formatSelectionSql: "選択した SQL をフォーマット",
compressSelectionSql: "選択した SQL を圧縮",
sendToAi: "AIに送信",
@@ -5763,6 +5764,7 @@ export default withEnglishFallback({
shortcutFormatSql: "SQLをフォーマット",
shortcutExpandSelectStar: "* を列に展開",
shortcutToggleLineComment: "行コメントを切り替え",
shortcutToggleBlockComment: "ブロックコメントを切り替え",
shortcutIndentMore: "インデントを増やす",
shortcutIndentLess: "インデントを減らす",
shortcutInsertLineBelow: "下に行を挿入",
+2
View File
@@ -1164,6 +1164,7 @@ export default withEnglishFallback({
exportQueryResultTo: "현재 쿼리 결과를 {format}(으)로 내보내기",
copySelection: "선택 영역 복사",
commentSelection: "선택 항목 주석 처리",
blockCommentSelection: "선택 항목 블록 주석 처리",
formatSelectionSql: "선택한 SQL 서식 지정",
compressSelectionSql: "선택한 SQL 압축",
cutSelection: "선택 영역 잘라내기",
@@ -5506,6 +5507,7 @@ export default withEnglishFallback({
shortcutFormatSql: "SQL 서식",
shortcutExpandSelectStar: "*을(를) 열로 확장",
shortcutToggleLineComment: "줄 주석 전환",
shortcutToggleBlockComment: "블록 주석 전환",
shortcutIndentMore: "들여쓰기 늘리기",
shortcutIndentLess: "들여쓰기 줄이기",
shortcutInsertLineBelow: "아래에 줄 삽입",
+2
View File
@@ -1254,6 +1254,7 @@ export default withEnglishFallback({
exportQueryResultTo: "Exportar conjunto de resultados da consulta atual para {format}",
copySelection: "Copiar seleção",
commentSelection: "Comentar seleção",
blockCommentSelection: "Comentário de bloco na seleção",
formatSelectionSql: "Formatar SQL selecionado",
compressSelectionSql: "Compactar SQL selecionado",
sendToAi: "Enviar para IA",
@@ -5750,6 +5751,7 @@ export default withEnglishFallback({
shortcutFormatSql: "Formatar SQL",
shortcutExpandSelectStar: "Expandir * em colunas",
shortcutToggleLineComment: "Alternar comentário de linha",
shortcutToggleBlockComment: "Alternar comentário de bloco",
shortcutIndentMore: "Aumentar recuo",
shortcutIndentLess: "Reduzir recuo",
shortcutInsertLineBelow: "Inserir uma linha abaixo",
+2
View File
@@ -1201,6 +1201,7 @@ export default withEnglishFallback({
exportQueryResultTo: "导出当前查询结果集到 {format}",
copySelection: "复制选中内容",
commentSelection: "注释选中内容",
blockCommentSelection: "块注释选中内容",
formatSelectionSql: "格式化选中SQL",
compressSelectionSql: "压缩选中SQL",
cutSelection: "剪切选中内容",
@@ -6033,6 +6034,7 @@ export default withEnglishFallback({
shortcutFormatSql: "格式化 SQL",
shortcutExpandSelectStar: "将 * 展开为字段",
shortcutToggleLineComment: "切换行注释",
shortcutToggleBlockComment: "切换块注释",
shortcutIndentMore: "增加缩进",
shortcutIndentLess: "减少缩进",
shortcutInsertLineBelow: "在下方新增一行",
+2
View File
@@ -1253,6 +1253,7 @@ export default withEnglishFallback({
exportQueryResultTo: "匯出目前查詢結果集到 {format}",
copySelection: "複製選取內容",
commentSelection: "註解選取內容",
blockCommentSelection: "區塊註解選取內容",
formatSelectionSql: "格式化選取的 SQL",
compressSelectionSql: "壓縮選取的 SQL",
sendToAi: "傳送至 AI",
@@ -5074,6 +5075,7 @@ export default withEnglishFallback({
shortcutFormatSql: "格式化 SQL",
shortcutExpandSelectStar: "將 * 展開為欄位",
shortcutToggleLineComment: "切換行註解",
shortcutToggleBlockComment: "切換區塊註解",
shortcutIndentMore: "增加縮排",
shortcutIndentLess: "減少縮排",
shortcutInsertLineBelow: "在下方新增一行",