Open viktortomov opened 1 year ago
I hit the same issue with 2847. besides, I have the below error.
Verible Verilog Language Server built at v0.0-2850-gb5cc2ca4
E0208 16:19:58.316629 30416 json-rpc-dispatcher.cc:58] Unhandled notification 'initialized'
with 2858 and vscode, it exists as well on centos7.9
Verible Verilog Language Server built at v0.0-2858-g0f9f5f21
E0209 10:54:07.027395 60160 json-rpc-dispatcher.cc:58] Unhandled notification 'initialized'
E0209 10:54:07.034828 60160 json-rpc-dispatcher.cc:58] Unhandled notification '$/setTrace'
E0209 10:54:08.032300 60160 json-rpc-dispatcher.cc:58] Unhandled notification '$/setTrace'
E0209 10:54:08.555797 60160 json-rpc-dispatcher.cc:58] Unhandled notification '$/setTrace'
E0209 10:54:10.027790 60160 json-rpc-dispatcher.cc:58] Unhandled notification '$/cancelRequest'
E0209 10:54:11.346671 60160 json-rpc-dispatcher.cc:58] Unhandled notification '$/setTrace'
E0209 10:54:11.957739 60160 json-rpc-dispatcher.cc:58] Unhandled notification '$/setTrace'
Please file separate issues for different observations.
Do you have a file-list ? The language server wants a verible.filelist
, otherwise it will only look at the current file.
If you want to increase the log-level, set the environment variable VERIBLE_LOGTHRESHOLD=0
Grzegorz, can you have a look at assembly of windows file-paths ?
@hzeller Go-to-defination doesn't work at begining. I thought it's related to those error messages. But now it works . I used verible.filelist. I use VERIBLE_LOGTHRESHOLD=0
to confirm it works.
Nice @zhuzhzh Good that the VERIBLE_LOGTHRESHOLD
helped in confirming what is going on under the hood.
A couple of questions first
mason with verible lsp installed
What activity failed (what functionality did not work as expected (e.g. Linting, Formatting, AUTO-expansion, go-to-definition, outline, hover,...) go-to-definition
Expectation go to the specific line of the definition
What actually happened Seems that the nvim lsp is giving an error due to incorrect url from the verible language server. See the last debug message in the log file. The url starts with
file://C:\\C:\\
where it should befile:///C:/workspace/.....
Test case The cursor is under the cntr assignment and the go to function is executed.
If needed, include SystemVerilog sample file(s) that show the code you want to do an operation on
Logfiles