From 92bb5dc993947d964b52d2ec97c8109e5f2bd13f Mon Sep 17 00:00:00 2001 From: hachi8833 Date: Wed, 25 Dec 2024 14:42:23 +0900 Subject: [PATCH] =?UTF-8?q?vscode-ruby-lsp=E3=82=92ruby-lsp=E3=81=AB?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devcontainer/devcontainer.json | 8 ++++---- Gemfile.lock | 4 ++++ README.md | 4 ++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 4519b6b..075666e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -43,10 +43,10 @@ "vscode": { "extensions": [ "GitHub.codespaces", - "Shopify.ruby-lsp", // https://github.com/Shopify/vscode-ruby-lsp + "Shopify.ruby-lsp", // https://github.com/Shopify/ruby-lsp "castwide.solargraph" // https://github.com/castwide/vscode-solargraph //"rebornix.Ruby", // https://github.com/rubyide/vscode-ruby (Deprecated) - + ], "settings": { // General settings for Codespaces (VS Code) @@ -65,7 +65,7 @@ }, "files.associations": { "*.erb": "erb" }, "emmet.includeLanguages": { "erb": "html" }, - + // Settings for Solargraph // https://github.com/castwide/solargraph "solargraph.useBundler": false, @@ -78,7 +78,7 @@ "solargraph.symbols": true, "solargraph.rename": true, "solargraph.hover": true, - + // Settings for Ruby LSP // https://github.com/Shopify/ruby-lsp "rubyLsp.rubyVersionManager": { diff --git a/Gemfile.lock b/Gemfile.lock index 6de4656..5d23b7e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -165,6 +165,8 @@ GEM net-smtp (0.3.3) net-protocol nio4r (2.5.9) + nokogiri (1.14.3-aarch64-linux) + racc (~> 1.4) nokogiri (1.14.3-arm64-darwin) racc (~> 1.4) nokogiri (1.14.3-x86_64-darwin) @@ -289,6 +291,7 @@ GEM actionpack (>= 5.2) activesupport (>= 5.2) sprockets (>= 3.0.0) + sqlite3 (1.6.1-aarch64-linux) sqlite3 (1.6.1-arm64-darwin) sqlite3 (1.6.1-x86_64-darwin) sqlite3 (1.6.1-x86_64-linux) @@ -324,6 +327,7 @@ GEM zeitwerk (2.6.7) PLATFORMS + aarch64-linux arm64-darwin-21 x86_64-darwin-21 x86_64-linux diff --git a/README.md b/README.md index 72fda30..99be6dc 100644 --- a/README.md +++ b/README.md @@ -53,8 +53,8 @@ ## インストール済みの拡張機能について より良い学習体験に繋げるため、本テンプレートには以下の VS Code 拡張機能がデフォルトで入っています。 -- [:octocat: Shopify/vscode-ruby-lsp](https://github.com/Shopify/vscode-ruby-lsp): - - Ruby コードを色分けして表示するハイライト機能や、コード補完機能などが使えます(以下は[公式のデモ動画](https://github.com/Shopify/vscode-ruby-lsp#readme)です)\ +- [:octocat: Shopify/ruby-lsp](https://github.com/Shopify/ruby-lsp): + - Ruby コードを色分けして表示するハイライト機能や、コード補完機能などが使えます(以下は[公式のデモ動画](https://github.com/Shopify/ruby-lsp#readme)です)\ ![Ruby LSP Official DEMO](https://i.gyazo.com/71a5c5114b7836d942a5145ca58eadb9.gif) \ 参考記事: [Ruby LSPのコードナビゲーションで強化された主な機能 - TechRacho](https://techracho.bpsinc.jp/hachi8833/2024_07_29/143652)