Skip to content

Commit 6a2280b

Browse files
ppputtyokawabuchi4280
andauthored
Modify server log message (#90)
* ~modify modify lsp log message * chore: add changeset * ~modify modify log message --------- Co-authored-by: kawabuchi4280 <[email protected]>
1 parent febc3a8 commit 6a2280b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"uroborosql-fmt": patch
3+
---
4+
5+
Modify server log message

server/src/server.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,13 @@ async function formatText(
238238
// settings specified by vscode ui
239239
const specifiedSettings = getVSCodeOptions(settings, workspaceFolder);
240240
const settingsString = specifiedSettings
241-
? JSON.stringify(specifiedSettings)
241+
? JSON.stringify(specifiedSettings, null, 2)
242242
: "{}";
243-
console.log(settingsString);
244243
const changes: TextEdit[] = [];
245244

245+
console.log("VSCode settings:", settingsString);
246+
console.log("settings path:", configPath?.toString());
247+
246248
// 全ての選択範囲に対して実行
247249
for (const selection of selections) {
248250
// テキストを取得

0 commit comments

Comments
 (0)