From a5fdcc1a85aa188ff1b9a15b1a768aced026f360 Mon Sep 17 00:00:00 2001 From: Fabio Di Stasio Date: Fri, 10 Dec 2021 23:30:03 +0100 Subject: [PATCH] feat: language format detection for text fields --- package.json | 1 + .../components/WorkspaceTabQueryTableRow.vue | 51 ++++++++++++------- 2 files changed, 34 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index 8c147a20..f4fd4b9a 100644 --- a/package.json +++ b/package.json @@ -105,6 +105,7 @@ "dependencies": { "@electron/remote": "^2.0.1", "@mdi/font": "^6.1.95", + "@vscode/vscode-languagedetection": "^1.0.21", "ace-builds": "^1.4.13", "better-sqlite3": "^7.4.4", "electron-log": "^4.4.1", diff --git a/src/renderer/components/WorkspaceTabQueryTableRow.vue b/src/renderer/components/WorkspaceTabQueryTableRow.vue index deeab2ce..b31ac667 100644 --- a/src/renderer/components/WorkspaceTabQueryTableRow.vue +++ b/src/renderer/components/WorkspaceTabQueryTableRow.vue @@ -100,23 +100,12 @@ v-model="editorMode" class="form-select select-sm" > - - - - - - @@ -193,6 +182,7 @@