Skip to content

@theia/git: missing filesystem notifications (create, delete,..) #14640

Answered by msujew
MikeKoda asked this question in Q&A
Discussion options

You must be logged in to vote

only the dispatched events from ExtHostFileSystemEventService .$onDidRunFileOperation will end up in the respective handler code here e.g. DidCreateFilesFeature

Yes, but that's by design. I didn't quite notice that you explicitly meant those lsp events only. In the LSP, the editor is only supposed to send events that are explicitly triggered by the user in the IDE. For events that happen outside of the IDE, you need to use the workspace/didChangeWatchedFiles notification. I believe those are reliably sent by Theia and VS Code as well.

Generally, if you notice that something doesn't work as expected in Theia with a VS Code extension, please confirm the behavior in VS Code first. We will …

Replies: 3 comments 17 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@msujew
Comment options

@tsmaeder
Comment options

@MikeKoda
Comment options

@tsmaeder
Comment options

Comment options

You must be logged in to vote
12 replies
@MikeKoda
Comment options

@JonasHelming
Comment options

@MikeKoda
Comment options

@msujew
Comment options

Answer selected by msujew
@MikeKoda
Comment options

@msujew
Comment options

@MikeKoda
Comment options

@tsmaeder
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants