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.

Linters and vim mode(s) don't get along #252

@onyxraven

Description

@onyxraven

Your environment

  • vscode-ruby version: 0.16.0 (and 0.15.0 it turns out)
  • Ruby version: 2.4.3
  • VS Code version: Version 1.19.3 (1.19.3)
  • Operating System: OSX 10.13.3 (17D47)
  • Hardware (optional): MacBook Pro (Retina, 15-inch, Mid 2014)

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

Expected behavior

When using Vim or amVim extensions along with Ruby linters enabled, typing should not be delayed every character for lints to complete.

Actual behavior

It seems like for every linter enabled, they are running on the main input thread and blocking the inputs. This looks to even get in between the keypress and the autocomplete/suggestions.

Steps to reproduce the problem

It seems like using either of those extensions, along with any enabled linters (which arguably do hook all editor inputs for modes) cause the issue to show very obviously. Editing other file types with the extensions is not a problem. Disabling all linters makes inputs work again without delay.


I'm happy to help with more investigation, but I just need some guidance on where to look next.

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