Skip to content

Commit

Permalink
Update the ruby extension to use Ruby LSP
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Sep 1, 2023
1 parent 2650778 commit 2fab171
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -14,14 +14,15 @@
}
},

// Set *default* container specific settings.json values on container create.
"settings": {},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"rebornix.Ruby"
],

// Configure tool-specific properties.
"customizations": {
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"Shopify.ruby-lsp"
]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

Expand All @@ -30,8 +31,10 @@

// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"github-cli": "latest"
"ghcr.io/devcontainers/features/github-cli:1": {
"version": "latest"
}
}

}
}

0 comments on commit 2fab171

Please sign in to comment.