-
Notifications
You must be signed in to change notification settings - Fork 6
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
Language server does not recognize files that have been added or changed #299
Comments
Installation of watchman is recommended, not required. Check this section of the README. |
but after |
You can check if watchman is working properly by
In this state, create a vue file or ts, etc file in your project and save the file. If there is a change on the watchman screen side, it is working correctly. |
Although Watchman has logs, the notifications are still not functioning properly. |
It seems to be working fine in my environment. I have tried the following steps. I am using the latest version of @yaegassy/coc-volar. DEMO(mp4) coc-volar-issue-299-1.mp4
|
sorry, i test through copy older files.if you copy components/FooBar.vue to components/FooBar2.vue. Work normal? |
in this way, i work normal. |
There are no settings regarding the watchman. In my environment, if I copy a component, of course it will reflect that as well. |
|
By the way, I will also tell you how to check the logs at the language server level. When coc.nvim detects changes in watchman, it sends the files to the language server with the LSP method
coc-volar-issue-299-2.mp4 |
i copy demo2.vue, it works well. but when create demo3.vue, demo4.vue. it's bad. |
It may be a problem with the language server itself. Please check the issue on the language server itself or report the issue. If possible, it would be easier for maintainers to understand the problem if they can reproduce it in VSCode. |
Changed the title of the issue. |
Are you experiencing the same issue as me? |
Yes. It reproduced. It also reproduces with another LSP client plugin for Vim/Neovim, so perhaps it will reproduce with VSCode as well. |
so, link volar issue: vuejs/language-tools#3344 |
I believe this problem has been resolved in version 2 of the language server. coc-volar has also changed its language server to version 2. You are probably currently using Neovim's built-in lsp feature, but if a case arises where you need coc.nvim, try it. |
volar must work with watchman?
The text was updated successfully, but these errors were encountered: