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.

couldn't find rubocop for formatting (ENOENT) #370

@vedmant

Description

@vedmant

Your environment

  • c version: 0.18.0
  • Ruby version: 2.4.1
  • VS Code version: Version 1.25.1 (1.25.1)
  • Operating System: MacOS
  • Hardware (optional):

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

Expected behavior

Formatting should work

Actual behavior

Shows: couldn't find rubocop for formatting (ENOENT) on window reload

Steps to reproduce the problem

  1. Install couldn't find rubocop for formatting (ENOENT)
  2. Set "ruby.format": "rubocop"
  3. Reload window

rubocop gem is installed with gem install rubocop and which rubocop shows: /Users/vedmant/.rvm/gems/ruby-2.5.1/bin/rubocop

I couldn't find a way to specify path for rubocop

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