-
Notifications
You must be signed in to change notification settings - Fork 752
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
gopls: panic: only file URIs are supported, got "untitled" #1559
Comments
@stamblerre @findleyr I thought vscode-go/src/goLanguageServer.ts Lines 459 to 470 in 1bc09d8
Is it not true any more? And, I wonder if gopls can stop 'panic' when it receives unrecognized URIs. |
I don't think gopls ever handled 'untitled' schemes. At least it doesn't now, and grepping the git log for 'untitled' returns nothing. This would have been a major issue if vscode regularly sent 'untitled', so I wonder how this was actually triggered. |
Change https://golang.org/cl/327189 mentions this issue: |
gopls version: v0.7.0
gopls flags:
update flags: proxy
extension version: 0.25.1
go version: 1.13.7
environment: Visual Studio Code darwin
initialization error: undefined
manual restart count: 0
total start count: 2
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
OPTIONAL: If you would like to share more information, you can attach your complete gopls logs.
NOTE: THESE MAY CONTAIN SENSITIVE INFORMATION ABOUT YOUR CODEBASE.
DO NOT SHARE LOGS IF YOU ARE WORKING IN A PRIVATE REPOSITORY.
<OPTIONAL: ATTACH LOGS HERE>
The text was updated successfully, but these errors were encountered: