From 51cd24c0c9c57f2d9f37161380547b251e85402b Mon Sep 17 00:00:00 2001 From: Erick Sasse <148989+esasse@users.noreply.github.com> Date: Mon, 11 Dec 2023 15:16:56 -0300 Subject: [PATCH] Upgrade VS Code extension to Ruby LSP (#162) --- .devcontainer/devcontainer.json | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index c6bc87a..2a059da 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,7 +4,7 @@ "name": "Ruby", "build": { "dockerfile": "Dockerfile", - "args": { + "args": { // Update 'VARIANT' to pick a Ruby version: 3, 3.0, 2, 2.7, 2.6 // Append -bullseye or -buster to pin to an OS version. // Use -bullseye variants on local on arm64/Apple Silicon. @@ -14,14 +14,17 @@ } }, - // Set *default* container specific settings.json values on container create. - "settings": {}, + // Configure tool-specific properties. + "customizations": { + // Configure properties specific to VS Code. + "vscode": { + // Add the IDs of extensions you want installed when the container is created. + "extensions": [ + "Shopify.ruby-lsp" + ] + } + }, - // Add the IDs of extensions you want installed when the container is created. - "extensions": [ - "rebornix.Ruby" - ], - // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [],