Open angelozerr opened 1 year ago
When LSP client cannot support workspace/didChangeWatchedFiles, the Qute LS uses FileSystemWatcher and if the project have no src/main/resources/templates, it blocks the language server https://github.com/redhat-developer/quarkus-ls/blob/2be29a3628711e829aa99fd8fcf9a67432a888c9/qute.ls/com.redhat.qute.ls/src/main/java/com/redhat/qute/project/WatchDir.java#L102
workspace/didChangeWatchedFiles
We need to poll the existing of src/main/resources/templates in Thread.
Please note that:
When LSP client cannot support
workspace/didChangeWatchedFiles
, the Qute LS uses FileSystemWatcher and if the project have no src/main/resources/templates, it blocks the language server https://github.com/redhat-developer/quarkus-ls/blob/2be29a3628711e829aa99fd8fcf9a67432a888c9/qute.ls/com.redhat.qute.ls/src/main/java/com/redhat/qute/project/WatchDir.java#L102We need to poll the existing of src/main/resources/templates in Thread.
Please note that:
workspace/didChangeWatchedFiles
workspace/didChangeWatchedFiles
https://github.com/redhat-developer/intellij-quarkus/pull/1163workspace/didChangeWatchedFiles
https://github.com/eclipse/lsp4e/issues/807 //cc @sbouchet