Skip to content
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

3.0: Multi Language cannot handle file renames #1408

Closed
cdietrich opened this issue Mar 7, 2024 · 0 comments · Fixed by #1455
Closed

3.0: Multi Language cannot handle file renames #1408

cdietrich opened this issue Mar 7, 2024 · 0 comments · Fixed by #1455
Labels
bug Something isn't working

Comments

@cdietrich
Copy link
Contributor

cdietrich commented Mar 7, 2024

having more than one language leads to service registry use the map and not the singleton.
if you rename a file from as dsl file extension to a non dsl file extension (.hello to .hello_bak) this will
lead to the language server crashing cause the update call is called with the new file extension,
which is not in the registry (of course)
cause it is not a dsl extension.

grafik

unfortunately the documentupdatehandler is not exported so i cannot do some fuzzing workaround in a subclass

did not test if renaming from one extension of a dsl to another one will leave dead bodies in the index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant