Comments (9)
@wwwdata I've figured it out, is's bug of dart language server, it claimed to support increment document sync, but it's buggy. vim-lsp could work because it doesn't support increment sync.
from coc.nvim.
Or add "forceFullSync": true
to configuration section of dart languageserver.
from coc.nvim.
Figured out dart language server expect optional rangeLength
field on document change params, I've added that field, so forceFullSync
not needed any more.
from coc.nvim.
Looks like the server need sometime to build the cache for completion, it works well after the server get started for a while.
I think this is unnecessary:
cwd": "./lib",
from coc.nvim.
Hm, also after waiting a while it doesn't work for me. On the contrary, yes it seems to display completions after I type in the DOT so for example variable.
and then I get other global completions and not completions of methods for the instance variable i am currently using.
from coc.nvim.
Example: lots of global namespace stuff again and not completions for context
from coc.nvim.
I have increase the timeout for content sync, hope that could solve your issue.
You have to build from source right now it see the result.
from coc.nvim.
no doesn't work for me, I still see a lot of global results. I am currently using vim-lsc which works just fine with the dart_language_server
from coc.nvim.
thx, that forceFullSync
was fixing it for me!
from coc.nvim.
Related Issues (20)
- Is it able to open multiple list window. HOT 1
- List not work after some operation HOT 5
- client coc abnormal exit with: 4 HOT 2
- jumpdefinition buffer 1 not created HOT 13
- Add global argument to disable autocommands on CursorMove HOT 6
- change `codeLens.separator` accoding to filetype comment char HOT 2
- Repeated Diagnostic Messages with Verible Language Server HOT 6
- Can't install any plugins if node is installed inside a folder with a space on Windows HOT 2
- How to stop annoying prompt? HOT 1
- golang lsp gofumpt HOT 1
- ✗ coc-html spawn EINVAL / ✗ coc-pyright spawn EINVAL HOT 1
- Explaining why some LSP needs plugins HOT 1
- coc format behavior differently between Neovim and Vim, create unnecessary empty change in neovim. HOT 8
- something about jumpback after gD coc-definition HOT 2
- 打开rust文件时, coc报错 HOT 2
- Hover/docstring information with custom sources HOT 2
- 为什么会代码提示会提示两次? HOT 5
- [coc.nvim] Server languageserver.ccls failed to start: Error: expected rootUri HOT 1
- Failed open exsit file with list in vim
- The text above get seleted automatically HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coc.nvim.