-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When opening the project for a second time, suggestion database is not sent. #7413
Comments
I can reproduce this on |
Well, that's because the suggestions mechanism has changed. The
|
The reason is that when the initial If we want to support the described scenario, I can try to revive the request. |
Dmitry Bushev reports a new STANDUP for yesterday (2023-08-28): Progress: Started working on the issue. Reproduced the issue and figured out the fact why it was happening. Started implementing the logic to invalidate suggestion indexes in runtime. It should be finished by 2023-08-30. Next Day: Next day I will be working on the #7413 task. Continue working on the task |
Dmitry Bushev reports a new STANDUP for today (2023-08-29): Progress: Continue working on the issue. Added events indicating the client connection and disconnection. Implemented the command that invalidates the caches and re-enables the background tasks processing. Started testing. It should be finished by 2023-08-30. Next Day: Next day I will be working on the #7413 task. Continue working on the task |
Dmitry Bushev reports a new STANDUP for today (2023-08-30): Progress: Continue working on the issue. Turned out there were existing events for the client connection and disconnection. Started listening to them. Implemented the execution context cleanup. Reimplemented the invalidation command in Java. Created a PR. It should be finished by 2023-08-30. Next Day: Next day I will be working on the #7413 task. Continue working on the task |
… sent (#7699) close #7413 Changelog: - update: the language server listens for the client disconnection event and invalidates the suggestions index # Important Notes The component browser contains suggestion entries after the refresh https://github.com/enso-org/enso/assets/357683/bcebb8bf-e09f-4fb0-86cf-95ced58413f3
Discord username
No response
What type of issue is this?
Permanent – Occurring repeatably
Is this issue blocking you from using Enso?
Is this a regression?
What issue are you facing?
When opening a project multiple times in the same engine session, the suggestion database is sent only on the first visit. After that, the
search/getSuggestionsDatabase
endpoint seems to have no effect.Expected behaviour
The full suggestion database should be sent to IDE every time it uses
search/getSuggestionsDatabase
endpoint.How we can reproduce it?
Screenshots or screencasts
Notice only small responses containing suggestion updates.
Logs
No response
Enso Version
2023.2.1-nightly.2023.7.24.1
Browser or standalone distribution
Standalone distribution (local project)
Browser Version or standalone distribution
electron
Operating System
Windows
Operating System Version
11
Hardware you are using
No response
The text was updated successfully, but these errors were encountered: