From 60c024709c70b0aa470e593df7e65acffdc5247a Mon Sep 17 00:00:00 2001 From: Roberto Quintanilla <1915931+vovimayhem@users.noreply.github.com> Date: Tue, 15 Nov 2022 10:32:49 -0600 Subject: [PATCH] Visual Studio Code Extension Updates (#13) * Minor sintax correction on devcontainer compose config * Removes the no-longer usable rebornix.ruby extension * Removed unused 'miguel-savignano.ruby-symbols' extension * Add & recommend the SVG preview extension * Prevent bundler from loading development gems not required to run the app Co-authored-by: Guillermo Alvarez <43304616+memoalv@users.noreply.github.com> --- .devcontainer.json | 14 +++++--------- .vscode/extensions.json | 5 ++++- Gemfile | 8 ++++---- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.devcontainer.json b/.devcontainer.json index 2dfaa8d..4a804d9 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -24,7 +24,7 @@ // Docker Compose configuration. The order of the array matters since the // contents of later files can override values set in previous ones. "dockerComposeFile": [ - "docker-compose.yml", // The compose file with the common services + "docker-compose.yml" // The compose file with the common services ], "shutdownAction": "stopCompose", @@ -49,10 +49,6 @@ "KoichiSasada.vscode-rdbg", - // Provides enhanced Ruby language and debugging support for Visual Studio - // Code: - "rebornix.ruby", - // execute rubocop for current Ruby code. "misogi.ruby-rubocop", @@ -60,9 +56,6 @@ // documentation for Ruby: "castwide.solargraph", - // Search modules, class and methods in ruby files using vscode go to symbol: - "miguel-savignano.ruby-symbols", - // Git Lens: "eamodio.gitlens", @@ -81,6 +74,9 @@ "github.copilot", // Format ERB files: - "aliariff.vscode-erb-beautify" + "aliariff.vscode-erb-beautify", + + // SVG preview, etc: + "jock.svg" ] } diff --git a/.vscode/extensions.json b/.vscode/extensions.json index cb70f14..8247744 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -7,6 +7,9 @@ "kaiwood.endwise", "ninoseki.vscode-gem-lens", "castwide.solargraph", - "ldrner.rspec-snippets-vscode" + "ldrner.rspec-snippets-vscode", + + // SVG preview, etc: + "jock.svg" ] } diff --git a/Gemfile b/Gemfile index 0251044..9542935 100644 --- a/Gemfile +++ b/Gemfile @@ -85,18 +85,18 @@ group :development do # gem "spring" # Linters, etc: - gem 'htmlbeautifier', '~> 1.4', '>= 1.4.2' + gem 'htmlbeautifier', '~> 1.4', '>= 1.4.2', require: false # Ruby code style checking and code formatting tool. It aims to enforce the # community-driven Ruby Style Guide. - gem 'rubocop', '~> 1.36' + gem 'rubocop', '~> 1.36', require: false # IDE tools for code completion, inline documentation, and static analysis - gem 'solargraph', '~> 0.46.0' + gem 'solargraph', '~> 0.46.0', require: false # Process manager for applications with multiple components - we'll use it to # launch both Rails and TailwindCSS processes in one go. - gem 'foreman', '~> 0.87.2' + gem 'foreman', '~> 0.87.2', require: false end group :test do