Skip to content

Changes to .reek.yml not updated in VSCode integration #4

@thejonroberts

Description

@thejonroberts

The issues from #2 are fixed (very quickly, nice work!).

There is no LSP server error when .reek.yml is updated... However, config changes are not reflected in syntax highlighting.

For example, going from an 'empty' config file to:

---
detectors:
  IrresponsibleModule:
    enabled: false

Will restart the add on, but this will still be shown in the file:
Screenshot 2024-11-21 at 8 43 08 AM

Notes:

  • File was opened before config change.
  • Warning is still present if file is closed/re-opened.
  • Goes away if Ruby LSP server restarted.
  • I confirmed that changes to .rubocop.yml are reflected without restart (both in rubyLsp.linters VSCode config)

Not as big an issue as previous, config shouldn't change often, & restarting LSP is easy. But unexpected behavior nonetheless.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions