Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/gopls: language server stops working at valid file with "has errors, skipping type-checking" #32855

Open
inliquid opened this issue Jun 29, 2019 · 4 comments

Comments

Projects
None yet
3 participants
@inliquid
Copy link

commented Jun 29, 2019

VS Code, see screenshot:
изображение
These messages appear infinitely with gopls simply not working. File is valid, btw (but even if it was not, how am I supposed to work? non-sense if it can only work with files with no errors).

Tried both @latest and @master.

@gopherbot gopherbot added this to the Unreleased milestone Jun 29, 2019

@gopherbot gopherbot added the gopls label Jun 29, 2019

@stamblerre

This comment has been minimized.

Copy link
Contributor

commented Jul 1, 2019

We should probably improve that error message, but that means that there were errors determining the files and dependencies for the package. Are you opening VSCode from the root of your module?

@inliquid

This comment has been minimized.

Copy link
Author

commented Jul 1, 2019

Yes, VS Code workspace is at the root of module.

@stamblerre

This comment has been minimized.

Copy link
Contributor

commented Jul 1, 2019

I know you updated to master, as per our discussion on your other issue. Do you still see these errors on master? If so, what is the output of go list -e -json -compiled -test /absolute/path/to/your/package?

@inliquid

This comment has been minimized.

Copy link
Author

commented Jul 1, 2019

I'll test and report.

@stamblerre stamblerre changed the title x/tools/cmd/gopls: language server stops working at valid file with "has errors, skipping type-checking" x/tools/gopls: language server stops working at valid file with "has errors, skipping type-checking" Jul 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.