Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Option to disable solargraph integration #281

Closed

Description

@dmke

Your environment

  • vscode-ruby version: 0.17.0
  • Ruby version: multiple via rbenv, no system-wide ruby
  • VS Code version: 1.20.1
  • Operating System: Debian Stretch (9.3)
  • Hardware (optional):

Expected behavior

When opening the directory of a Rails app, I just want to code :-)

Actual behavior

Since a recent version of this extension, I get a "Solargraph gem not found" message:

image

Installing the solargraph gem won't help, since (a) I don't have a global Ruby installation, and (b) the VSCode process does not evaluate per-directory .ruby-version files, i.e. loading the correct Ruby shims.

Updating the Gemfile is not possible, because I am not the only person managing the repository (but the only one using VSCode).

I don't want/need code completion (this has never really worked meta-programming-heavy languages like Ruby, so I'm used to not having it), so would like to see an option to disable it. I can also live with a "Don't show again" on the error message.

Steps to reproduce the problem

  • manage your Rubies with rbenv
  • don't have a system wide Ruby installed
  • open a Ruby file

Activity

  1. wingrunr21 commented on Mar 5, 2018

    @wingrunr21
    Collaborator

    I'm going to close this as it is a dup of #263

  2. wingrunr21 commented on Mar 5, 2018

    @wingrunr21
    Collaborator

    @dmke if you wouldn't mind adding your viewpoint to #263 it'd be appreciated!

  3. dmke commented on Mar 5, 2018

    @dmke
    Author

    Sorry for the duplicate, is:issue solargraph didn't yield any results...

    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions