Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

[LSP] Problems for a deleted file are shown after deletion #716

Closed
RealTYPICAL opened this issue Apr 25, 2018 · 8 comments
Closed

[LSP] Problems for a deleted file are shown after deletion #716

RealTYPICAL opened this issue Apr 25, 2018 · 8 comments
Assignees
Milestone

Comments

@RealTYPICAL
Copy link
Contributor

Steps to reproduce:

  1. Create a file with some errors in it.
  2. Delete the file.
  3. Check the errors produced.

Behaviour:

The errors for that file still exist even though the file doesn't.

Expected:

The errors for that file should be cleared.

https://github.com/RealTYPICAL/MyDSL_Imports

A small DSL example exists here but the behaviour should still work on any language.

If you need anymore feedback then please let me know.

@cdietrich
Copy link
Member

what do you exactly mean by "The errors for that file still exist"

@RealTYPICAL
Copy link
Contributor Author

After deleting the file, the server still gives errors as if the file still exists/hadn't been deleted.

@cdietrich
Copy link
Member

which client do you use?

i am not sure how the protocol is for this usecase.
at least in my debugging i did not see any new messages regarding issues sent after deletion so i am not sure what should happen in this case

@RealTYPICAL
Copy link
Contributor Author

VSCode

@cdietrich
Copy link
Member

@cdietrich
Copy link
Member

prepared a pr but still wont to wait until the protocol issue is cleared

cdietrich added a commit that referenced this issue Apr 25, 2018
cdietrich added a commit to eclipse/xtext-xtend that referenced this issue Apr 25, 2018
cdietrich added a commit that referenced this issue Apr 26, 2018
[#716] [LSP] Problems for a deleted file are shown after deletion
cdietrich added a commit to eclipse/xtext-xtend that referenced this issue Apr 26, 2018
@cdietrich
Copy link
Member

@RealTYPICAL
Copy link
Contributor Author

Works on my side.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants