KEMBAR78
Fix the built-in Ruby LSP add-on not restarting when `.rubocop_todo.yml` changes by Earlopain · Pull Request #14506 · rubocop/rubocop · GitHub
Skip to content

Conversation

@Earlopain
Copy link
Contributor

The glob already contained it but it was not acted upon


Before submitting the PR make sure the following are checked:

  • The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
  • Wrote good commit messages.
  • Commit message starts with [Fix #issue-number] (if the related issue exists).
  • Feature branch is up-to-date with master (if not - rebase it).
  • Squashed related commits together.
  • Added tests.
  • Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
  • Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

…l` changes

The glob already contained it but it was not acted upon
@koic koic merged commit 14f876c into rubocop:master Sep 4, 2025
22 checks passed
@koic
Copy link
Member

koic commented Sep 4, 2025

Thanks!

@Earlopain Earlopain deleted the lsp-addon-todo-file branch September 4, 2025 08:07
Earlopain added a commit to Earlopain/rubocop that referenced this pull request Sep 4, 2025
…rubocop.yml`, `.rubocop_todo.yml`) change

I did not actually verify rubocop#14506 by making changes to a todo.

Since the adapter is given over to ruby-lsp, simply overwriting the instance variable doesn't do anything.

I've adapted tests to check for the presence of the reload log message,
and added one that actually goes through and checks config changes in detail.
Earlopain added a commit to Earlopain/rubocop that referenced this pull request Sep 4, 2025
…rubocop.yml`, `.rubocop_todo.yml`) change

I did not actually verify rubocop#14506 by making changes to a todo.

Since the adapter is given over to ruby-lsp, simply overwriting the instance variable doesn't do anything.

I've adapted tests to check for the presence of the reload log message,
and added one that actually goes through and checks config changes in detail.
Earlopain added a commit to Earlopain/rubocop that referenced this pull request Sep 4, 2025
…rubocop.yml`, `.rubocop_todo.yml`) change

I did not actually verify rubocop#14506 by making changes to a todo.

Since the adapter is given over to ruby-lsp, simply overwriting the instance variable doesn't do anything.

I've adapted tests to check for the presence of the reload log message,
and added one that actually goes through and checks config changes in detail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants