coc-java icon indicating copy to clipboard operation
coc-java copied to clipboard

Error choosing `show errors` action on workspace import

Open asmodeus812 opened this issue 1 year ago • 1 comments

If we execute workspace.clean, and there are errors in the project, we are asked to see the errors, when i select show errors, i get the following error

image

[coc.nvim]: UnhandledRejection: Command: workbench.panel.markers.view.focus not found
Error: Command: workbench.panel.markers.view.focus not found
    at CommandManager.executeCommand (/home/asmodeus/.local/share/nvim/lazy/coc.nvim/build/index.js:27975:17)
    at showImportFinishNotification (/home/asmodeus/.config/coc/extensions/node_modules/coc-java/lib/index.js:29227:29)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
``

asmodeus812 avatar Mar 22 '24 18:03 asmodeus812

same error Windows 11 jdk 17 (autoinstalled jre from npm (why?))

xiran56 avatar Jun 05 '24 08:06 xiran56

Probably the release file is missing, see

  • https://github.com/eclipse-jdt/eclipse.jdt.core/issues/405#issuecomment-1249082357
  • https://github.com/microsoft/vscode-java-debug/issues/1212#issuecomment-1250932155

azat avatar Jan 04 '25 16:01 azat

Fixed, you use :CocList diagnostics for this case

chemzqm avatar Feb 26 '25 07:02 chemzqm