From 755817849cc6cc2934d901f2aae5d4a672d3787a Mon Sep 17 00:00:00 2001 From: luorijun Date: Thu, 20 Nov 2025 18:35:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20vscode=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +-- .vscode/launch.json | 15 +++++++++++++++ .vscode/settings.json | 12 ++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 948f45b..f8285f9 100644 --- a/.gitignore +++ b/.gitignore @@ -41,5 +41,4 @@ yarn-error.log* next-env.d.ts # editor -.idea/ -.vscode/ \ No newline at end of file +.idea/ \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..c2a5914 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // 使用 IntelliSense 了解相关属性。 + // 悬停以查看现有属性的描述。 + // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "node-terminal", + "name": "dev", + "request": "launch", + "command": "bun run dev", + "cwd": "${workspaceFolder}" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..512aa97 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,12 @@ +{ + "[typescript]": { + "editor.defaultFormatter": "dbaeumer.vscode-eslint" + }, + "[typescriptreact]": { + "editor.defaultFormatter": "dbaeumer.vscode-eslint" + }, + "[json]": { + "editor.defaultFormatter": "dbaeumer.vscode-eslint" + }, + "git.rebaseWhenSync": true +} \ No newline at end of file