From 3b81d37907f2aab2fe61c05716f2b64d7bdbd206 Mon Sep 17 00:00:00 2001 From: Toshihiko SHIMOKAWA Date: Wed, 24 Jun 2026 15:10:07 +0900 Subject: [PATCH] Leave editor appearance settings to each user Comment out font and window.zoomLevel settings in devcontainer.json so they no longer override each user's personal VS Code configuration: - editor.fontFamily / editor.fontSize - terminal.integrated.fontFamily / terminal.integrated.fontSize - window.zoomLevel (forced zoom reset on every open; more intrusive than fonts, so delegated for the same reason) Functional settings are kept intentionally: terminal bash profile (asdf shims / makefile need a bash login shell), terminal osc52 clipboard copy (used by 'am s'), and the Java home/runtime overrides. The settings are commented out rather than deleted so users can opt into the lab's recommended defaults. Group separators use blank lines instead of bare '//' lines, and the commented block sits between active settings so JSONC stays valid. Indentation of the commented lines is normalized to tabs. --- .devcontainer/devcontainer.json | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index c23509f..84b1721 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -28,16 +28,24 @@ "customizations": { "vscode": { "settings": { - "editor.fontFamily": "HackGen, 'BIZ UDPGothic', Meiryo, 'Hiragino Kaku Gothic ProN', 'SF Mono', Consolas, monospace", - "editor.fontSize": 14, + // 動作に関わる設定(研究室標準として維持。見た目系のように各ユーザへは委ねない): + // - files.autoSave / autoSaveDelay: 編集中ファイルの自動保存 + // - terminal...defaultProfile: makefile / asdf が bash ログインシェルを前提とする + // - terminal...osc52: `am s` のクリップボードコピーに必要 "files.autoSave": "afterDelay", "files.autoSaveDelay": 1000, "terminal.integrated.defaultProfile.linux": "bash", - "terminal.integrated.fontSize": 14, - "terminal.integrated.fontFamily": "HackGen, 'BIZ UDPGothic', Meiryo, 'Hiragino Kaku Gothic ProN', 'SF Mono', Consolas, monospace", "terminal.integrated.osc52": "copy", - //"workbench.colorTheme": "Default Light+", - "window.zoomLevel": 0, + + // フォント・外観設定は各ユーザの VS Code 設定に委ねます。 + // 研究室推奨のデフォルト値を使う場合は、以下のコメントを外してください。 + // "editor.fontSize": 14, + // "editor.fontFamily": "HackGen, 'BIZ UDPGothic', Meiryo, 'Hiragino Kaku Gothic ProN', 'SF Mono', Consolas, monospace", + // "terminal.integrated.fontSize": 14, + // "terminal.integrated.fontFamily": "HackGen, 'BIZ UDPGothic', Meiryo, 'Hiragino Kaku Gothic ProN', 'SF Mono', Consolas, monospace", + // "workbench.colorTheme": "Default Light+", + // "window.zoomLevel": 0, + // Java settings - override host settings for container "java.jdt.ls.java.home": null, "java.configuration.runtimes": [] @@ -51,30 +59,30 @@ "zainchen.json", // Json "oderwat.indent-rainbow", // Indent Rainbow "shardulm94.trailing-spaces", // Trailing Spaces - + // Java "redhat.java", // Language Support for Java(TM) by Red Hat "vscjava.vscode-java-debug", // Debugger for Java "vscjava.vscode-java-test", // Test Runner for Java "vscjava.vscode-maven", // Maven for Java "vscjava.vscode-java-dependency", // Project Manager for Java - + // Python "ms-python.python", // Python "ms-python.debugpy", // Python Debugger "ms-python.pylint", // Pylint "ms-python.flake8", // Flake8 "ms-python.black-formatter", // Black Formatter - + // Ruby "shopify.ruby-lsp", // Ruby LSP (Official Ruby language server) "castwide.solargraph", // Ruby Solargraph "koichisasada.vscode-rdbg", // VSCode rdbg Ruby Debugger - + // Elixir "elixir-lsp.elixir-ls", // ElixirLS: Elixir support and debugger "mjmcloug.vscode-elixir", // vscode-elixir - + // General programming support "ms-vscode.vscode-json", // JSON Language Features "ms-vscode.hexeditor", // Hex Editor