You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
When I add a new method in one of my Ruby files and save the file, the new method's name should be available in the symbols list.
Actual behavior
This works for a while after starting VS Code but then stops working entirely. I.e. new methods don't appear in the symbols list AND the locations of other methods aren't updated, so jumping to the existing symbols is off by a few lines, depending on how much code was added.
I already debugged this issue and the problem is that the parseQueue in locate.js never clears items (it doesn't call the async-callback) and therefore becomes saturated and never executes later tasks. The fix is to just call the callback, I'll provide a PR.
The text was updated successfully, but these errors were encountered:
Your environment
vscode-ruby
version: 0.20.0Expected behavior
When I add a new method in one of my Ruby files and save the file, the new method's name should be available in the symbols list.
Actual behavior
This works for a while after starting VS Code but then stops working entirely. I.e. new methods don't appear in the symbols list AND the locations of other methods aren't updated, so jumping to the existing symbols is off by a few lines, depending on how much code was added.
I already debugged this issue and the problem is that the
parseQueue
in locate.js never clears items (it doesn't call the async-callback) and therefore becomes saturated and never executes later tasks. The fix is to just call the callback, I'll provide a PR.The text was updated successfully, but these errors were encountered: