Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

ERROR: Initialize rootPath URI is deprecated. Use rootUri instead #274

Closed
yujiahaol68 opened this issue May 8, 2018 · 3 comments
Closed

Comments

@yujiahaol68
Copy link

go version: go1.10.2 darwin/amd64

After I upgrade go and vscode-go tools, every time I edit project files it log:

langserver-go: reading on stdin, writing on stdout
Passing an initialize rootPath URI ("file:///Users/user/go/src/github.com/yujiahaol68/myGoProject") is deprecated. Use rootUri instead.

[Error - 11:57:56] Request textDocument/hover failed.
  Message: no declaration found for checkpoint
  Code: 0
@keegancsmith
Copy link
Member

Duplicate of microsoft/vscode-go#1662

@oblitum
Copy link

oblitum commented Dec 19, 2018

I get this on (Neo)Vim with coc.nvim, I install language server with go get -u github.com/sourcegraph/go-langserver and configure it to be used from (Neo)Vim, how is it a duplicate of vscode issue?

I've hit here to check where the protocol changed from rootPath URI to rootUri to report coc.nvim's author of such change, but got confused instead.

@oblitum
Copy link

oblitum commented Dec 19, 2018

I will try bingo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants