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.

Wrong line gets underlined #307

Closed
Closed

Description

@garyking

I'm using Rubocop, and I've got a line underlined for the rule Metrics/MethodLength. I moved a few things around at the top of the file, and now I've got this rule still appearing, but a comment is underlined instead.

Is there any way to force the linting to run again, so it doesn't highlight the wrong lines?

Activity

  1. gurgeous commented on Mar 27, 2018

    @gurgeous
    Contributor

    I've seen this as well and I don't know the cause. I think that a recent (not yet released) change that debounces/slows the linter might fix it. In the current release the linter runs on every single keystroke, which is super aggressive and error prone.

    In the meantime, you may have to restart vscode. Sorry...

  2. andrewmcodes commented on Sep 14, 2018

    @andrewmcodes

    Is this still an issue with 0.20.0?

  3. wingrunr21 commented on Feb 24, 2019

    @wingrunr21
    Collaborator

    This should be working correctly on v0.22.2 and up with language server based linting

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