BingCoke

Results 14 comments of BingCoke

Now I get it.i get same bug and fight with it 1 hour...

something interesting, ![image](https://github.com/hrsh7th/nvim-cmp/assets/81607010/07dd3560-6324-4699-8419-eeda9c6bd76b) I will get all item above of '@Injectable' but miss item above of class AppService ![image](https://github.com/hrsh7th/nvim-cmp/assets/81607010/56cb4fad-fa3d-47d5-b410-c797a638ea71) In vscode everything is ok. ![image](https://github.com/hrsh7th/nvim-cmp/assets/81607010/3f405454-6142-4bcf-83c5-52fbd01fbba2)

![image](https://github.com/hrsh7th/nvim-cmp/assets/81607010/630974e4-9a57-44ae-a1ba-2322f1212be5) The author of typescript-tools there is no problem in lsp, so it cloud be a something wrong in cmp?

In addition,here is my conf ```json "rust-analyzer.checkOnSave": true, "rust-analyzer.diagnostics.enable": true, "rust-analyzer.workspace.symbol.search.kind": "all_symbols", "rust-analyzer.workspace.symbol.search.scope": "workspace_and_dependencies", "rust-analyzer.cargo.autoreload": true, ``` When i set checkOnSave false , that will not trigger cargo check but...

> coc-rust-analyzer won't trigger cargo check, it's rust-analyzer's behavior. but jumpDefinition is coc's behavior.When I use vscode,ererything is fine.

> coc-rust-analyzer won't trigger cargo check, it's rust-analyzer's behavior. When i set checkOnSave true, jumpDefinition will trigger cargo check.So jumpDefinition may will unexpectedly trigger "check on save". Other ide will...

> Yes, coc did jumpDefinition. When you do `jumpDefinition`, coc requests with file and position to rust-analyzer server, the server responses location and coc jumped. When you return to origin...

Ok,I got it.After ide send textDocument/definition request and get response, coc and vscode will Sending notification "textDocument/didOpen". That is right.But coc will send notification 'workspace/didChangeWorkspaceFolders' which will make rust-analyzer load...

> > coc will send notification 'workspace/didChangeWorkspaceFolders' which will make rust-analyzer load a new workspace > > VS Code didn't send this request? yes ![image](https://user-images.githubusercontent.com/81607010/221133136-f7c429f9-5156-4398-9d4e-010326ed9ef4.png) The subsequent requests I just...

what's more when i do jumpDefinition and trigger cargo check , coc will misinterpret the code is wrong like "tokio::main" proc macro. ![image](https://user-images.githubusercontent.com/81607010/223904196-267eb7d7-9faa-4179-96ed-dde5063f6364.png) ![Peek 2023-03-09 10-49](https://user-images.githubusercontent.com/81607010/223904338-e64f2451-7178-4b92-9c02-892ccc6f8283.gif) But When I reload...