From 09d739499e4639145452e1c7534f9a9b0eaaa11c Mon Sep 17 00:00:00 2001 From: GenericUserIsTaken <65835587+GenericUserIsTaken@users.noreply.github.com> Date: Thu, 21 May 2026 16:11:24 -0700 Subject: [PATCH 1/4] Create vscode settings --- .vscode/extensions.json | 5 ++ .vscode/settings.json | 108 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..701f18c --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "ms-vscode-remote.remote-containers" + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..5c7d559 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,108 @@ +{ + // ================================ + // LANGUAGE FORMATTING + // ================================ + + "files.eol": "\n", + + "[dockerfile]": { + "editor.defaultFormatter": "ms-azuretools.vscode-containers", + "editor.formatOnSave": true + }, + "[xml]": { + "editor.defaultFormatter": "DotJoshJohnson.xml", + "editor.formatOnSave": true + }, + "[python]": { + "editor.defaultFormatter": "charliermarsh.ruff", + "editor.formatOnSave": true, + "editor.formatOnType": true, + "editor.wordBasedSuggestions": "off", + "editor.defaultColorDecorators": "never", + "diffEditor.ignoreTrimWhitespace": false + }, + "[astro]": { + "editor.defaultFormatter": "astro-build.astro-vscode", + "editor.formatOnSave": true, + "editor.formatOnPaste": true + }, + "[javascript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true, + "editor.formatOnPaste": true + }, + "[typescript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true, + "editor.formatOnPaste": true + }, + "[json]": { + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true, + "editor.formatOnPaste": true + }, + "[jsonc]": { + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true, + "editor.formatOnPaste": true + }, + "json.format.keepLines": true, + "json.format.enable": true, + "prettier.tabWidth": 4, + "prettier.trailingComma": "none", + + // ================================ + // GENERAL VSCODE BEHAVIOR + // ================================ + + "editor.rulers": [100], + "files.exclude": { + // General + "**/.git": true, + "**/.hg": true, + "**/.svn": true, + "**/.DS_Store": true, + "**/Thumbs.db": true, + + // Python + "**/.ruff_cache": true, + "**/.mypy_cache": true, + "**/__pycache__": true, + "**/*.egg-info": true, + "build/": true, + "**/.venv": true, + + // Astro website + "docs/.astro": true, + "docs/node_modules": true, + "docs/dist": true + }, + + // ================================ + // PYTHON SETTINGS + // ================================ + + "python.terminal.activateEnvironment": false, + "python.analysis.extraPaths": [ + "/opt/ros/jazzy/lib/python3.10/site-packages", + "/opt/ros/jazzy/local/lib/python3.10/dist-packages", + ".github" + ], + "python.autoComplete.extraPaths": [ + "/opt/ros/jazzy/lib/python3.10/site-packages", + "/opt/ros/jazzy/local/lib/python3.10/dist-packages", + ".github" + ], + "python.analysis.exclude": [ + "./build", + "./install", + "./log" + ], + "python.defaultInterpreterPath": "python3", + "editor.codeActionsOnSave": { + "source.organizeImports": "explicit" + }, + "python.analysis.diagnosticSeverityOverrides": { + "reportMissingModuleSource": "none" + } +} \ No newline at end of file From 7970f2ffc7746692ba31eb435b7a797a0dc46274 Mon Sep 17 00:00:00 2001 From: GenericUserIsTaken <65835587+GenericUserIsTaken@users.noreply.github.com> Date: Thu, 21 May 2026 16:15:58 -0700 Subject: [PATCH 2/4] fix formatting --- .vscode/extensions.json | 6 ++---- .vscode/settings.json | 8 ++------ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 701f18c..1e4b24d 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,5 +1,3 @@ { - "recommendations": [ - "ms-vscode-remote.remote-containers" - ] -} \ No newline at end of file + "recommendations": ["ms-vscode-remote.remote-containers"] +} diff --git a/.vscode/settings.json b/.vscode/settings.json index 5c7d559..87266ab 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -93,11 +93,7 @@ "/opt/ros/jazzy/local/lib/python3.10/dist-packages", ".github" ], - "python.analysis.exclude": [ - "./build", - "./install", - "./log" - ], + "python.analysis.exclude": ["./build", "./install", "./log"], "python.defaultInterpreterPath": "python3", "editor.codeActionsOnSave": { "source.organizeImports": "explicit" @@ -105,4 +101,4 @@ "python.analysis.diagnosticSeverityOverrides": { "reportMissingModuleSource": "none" } -} \ No newline at end of file +} From 8907903005ea2fe71b1e4786717e3c76257cfce1 Mon Sep 17 00:00:00 2001 From: GenericUserIsTaken <65835587+GenericUserIsTaken@users.noreply.github.com> Date: Thu, 21 May 2026 16:19:40 -0700 Subject: [PATCH 3/4] Change eol to insertFinalNewline --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 87266ab..9c30beb 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,7 +3,7 @@ // LANGUAGE FORMATTING // ================================ - "files.eol": "\n", + "files.insertFinalNewline": true, "[dockerfile]": { "editor.defaultFormatter": "ms-azuretools.vscode-containers", From 45451f3d375fc609800a9a08f3547e8503dbf610 Mon Sep 17 00:00:00 2001 From: Matej Stastny Date: Thu, 21 May 2026 19:47:41 -0700 Subject: [PATCH 4/4] Fixed some settings issues --- .vscode/settings.json | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 9c30beb..0deb176 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -21,6 +21,11 @@ "editor.defaultColorDecorators": "never", "diffEditor.ignoreTrimWhitespace": false }, + "[shellscript]": { + "editor.defaultFormatter": "mkhl.shfmt", + "editor.formatOnSave": true, + "editor.formatOnPaste": true + }, "[astro]": { "editor.defaultFormatter": "astro-build.astro-vscode", "editor.formatOnSave": true, @@ -59,18 +64,13 @@ "files.exclude": { // General "**/.git": true, - "**/.hg": true, - "**/.svn": true, "**/.DS_Store": true, - "**/Thumbs.db": true, // Python "**/.ruff_cache": true, "**/.mypy_cache": true, "**/__pycache__": true, "**/*.egg-info": true, - "build/": true, - "**/.venv": true, // Astro website "docs/.astro": true, @@ -84,16 +84,21 @@ "python.terminal.activateEnvironment": false, "python.analysis.extraPaths": [ - "/opt/ros/jazzy/lib/python3.10/site-packages", - "/opt/ros/jazzy/local/lib/python3.10/dist-packages", - ".github" + "/opt/ros/jazzy/lib/python3.12/site-packages", + "/opt/ros/jazzy/local/lib/python3.12/dist-packages" ], "python.autoComplete.extraPaths": [ - "/opt/ros/jazzy/lib/python3.10/site-packages", - "/opt/ros/jazzy/local/lib/python3.10/dist-packages", - ".github" + "/opt/ros/jazzy/lib/python3.12/site-packages", + "/opt/ros/jazzy/local/lib/python3.12/dist-packages" + ], + "python.analysis.exclude": [ + "./build", + "./install", + "./log", + "**/node_modules", + "**/__pycache__", + "**/.*" ], - "python.analysis.exclude": ["./build", "./install", "./log"], "python.defaultInterpreterPath": "python3", "editor.codeActionsOnSave": { "source.organizeImports": "explicit"