iamcco / coc-flutter

flutter support for (Neo)vim
472 stars 38 forks source link

dart error not shown in quickfox window #168

Closed laoshaw closed 1 year ago

laoshaw commented 1 year ago

Describe the bug

vim will display error messages when I save the file, after the save, the error messages disappear, if I move cursor to the line that has bugs, vim displays the error message in status line, see the screenshot below. In my other languages, if coc detects an error, it will remain in the quickfix window until I fix all of them.

To Reproduce Steps to reproduce the behavior:

  1. vim a simple dart file with one line: print(x); named test.dart(see the screenshot)
  2. when save the file, vim will show errors in quickfix window
  3. after save, that error message disappear
  4. move cursor to the line with 'print(x);', the error message shown in status line at the bottom of vim

Expected behavior vim shall keep the error message until it's fixed

Screenshots

image

Desktop (please complete the following information):

Output channel:

It's a dart issue and I'm not doing flutter yet.

  1. Set "flutter.trace.server": "verbose"
  2. Restart coc using :CocRestart
  3. Reproduce the issue
  4. :CocCommand workspace.showOutput open output list and select flutter

Paste Log from above:

Config If you have any config for this specific extenstion in you coc-settings please include them here.

laoshaw commented 1 year ago

my mistake, this occurs for all other languages as well.