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.

ruby.reloadProject command not found if intellisense provider is not rubyLocate #301

@jiparis

Description

@jiparis

Your environment

  • vscode-ruby version: 0.17.0
  • Ruby version: 2.3.1
  • VS Code version: 1.21.0
  • Operating System: macOS 10.12.6
  • Hardware (optional):

Make sure you have ruby, ruby-debug-ide and ruby-debug-basex19 installed before submitting your issue -- thank you !

Expected behavior

After executing the command "Ruby: Reload Project", it should show "Indexing Ruby source files" message in the status bar.

Actual behavior

A message pops up with "ruby.reloadProject command not found" message.

Steps to reproduce the problem

Change intellisense provider (ruby.intellisense preference) to "solargraph". Try to execute command "Ruby: Reload Project" and it will fail. Also "Goto definition" and "Peek definition" won't work.

I guess that the problem is that the command registration is being skipped here https://github.com/rubyide/vscode-ruby/blob/master/src/ruby.ts#L32 if the provider is different than rubyLocate.
Maybe the solution would be not allowing to execute that command at all, and relying on the Solargraph extension for intellisense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions