From 315dcec8ce26eb98f5c71678a95c14d51338342a Mon Sep 17 00:00:00 2001 From: Carlos Feria Date: Sat, 20 Jul 2024 13:02:33 -0500 Subject: [PATCH] Enhance devcontainers (#195) --- .devcontainer/devcontainer.json | 10 ++++++---- .vscode/settings.json | 3 --- 2 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0a42cc68..4ad51edf 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "name": "Java 17", + "name": "xhandler", "image": "mcr.microsoft.com/devcontainers/java:17-bullseye", "features": { "ghcr.io/devcontainers/features/java:1": { @@ -9,9 +9,12 @@ }, "ghcr.io/devcontainers/features/docker-in-docker:2": {} }, + "postCreateCommand": "echo \"source /usr/share/bash-completion/completions/git\" >> ~/.bashrc", "customizations": { "vscode": { - "settings": {}, + "settings": { + "java.compile.nullAnalysis.mode": "automatic" + }, "extensions": [ "vscjava.vscode-java-pack", "github.vscode-github-actions", @@ -20,8 +23,7 @@ }, "codespaces": { "openFiles": [ - "README", - "src/index.js" + "README.md" ] } } diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 7b016a89..00000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "java.compile.nullAnalysis.mode": "automatic" -} \ No newline at end of file