Open wangzhaohe opened 2 years ago
@wangzhaohe do you still have this with the latests version of dart?
@wangzhaohe do you still have this with the latests version of dart?
I do
CocDiagnostics shows hundreds of Target of URI doesn't exist
NVIM v0.7.0 Build type: Release LuaJIT 2.1.0-beta3
node version: v15.5.0 coc.nvim version: 0.0.81-093e4300 2022-06-04 17:10:20 -0700 term: iTerm.app platform: darwin
coc.flutter 1.9.8
@justjew can you share your settings for coc-flutter
Same issue here, can't navigate further after entering 3rd plugins files, and I'm using the default settings.
Is coc-flutter trying to get the repo packages from the pubspec.yaml
or something? Wondering why it can find a package from my repo, but not from a file nested in ~/.pub-cache/hosted/
.
The problem only affects imports starting with package:
, other imports like dart:
work fine.
It do well in flutter project, But display diagnostic error in 3rd party plugins like Provider after I used command
gd
(coc-definition) to jump into the source file.To Reproduce
Provider
gd
keythen error displayed
import 'package:collection/collection.dart'; >>> Target of URI doesn't exist ...
Screenshots
The following image is in my project, it is right!
The following image shows error after jump into provider.dart
Desktop (please complete the following information):
Output channel:
"flutter.trace.server": "verbose"
:CocRestart
:CocCommand workspace.showOutput
open output list and selectflutter
Paste Log from above:
I think whether the path settings right or not?
Please give me some advice, thanks a lot!
Some notes:
The following image is in intellJ IDEA, it is OK!
The following operation took no effect: