1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:24:41 -07:00
go/internal/span
Rebecca Stambler 35ac94b00d internal/span, internal/lsp: fix URI escaping
We had previously worked around a VS Code URI bug by unescaping URIs.
This is incorrect, so stop doing it and then add a specific workaround
just for that one bug.

Fixes golang/go#36999

Change-Id: I92f1a5f71749af7a6b1020eee1272586515f7084
Reviewed-on: https://go-review.googlesource.com/c/tools/+/217599
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2020-02-04 00:54:49 +00:00
..
parse.go internal/span: change to private fields 2019-03-15 18:05:47 +00:00
span_test.go all: fix more typos 2019-09-11 15:13:14 +00:00
span.go internal/span: end of file is now last line +1 2019-10-07 18:54:44 +00:00
token111.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token112.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token_test.go internal/span: support line directives 2019-11-25 19:20:43 +00:00
token.go internal/lsp/cache: handle invalid analysis Pos 2020-01-29 01:28:57 +00:00
uri_test.go internal/span, internal/lsp: fix URI escaping 2020-02-04 00:54:49 +00:00
uri_windows_test.go internal/span, internal/lsp: fix URI escaping 2020-02-04 00:54:49 +00:00
uri.go internal/span, internal/lsp: fix URI escaping 2020-02-04 00:54:49 +00:00
utf16_test.go internal/span: handle character values beyond end of line in FromUTF16Column 2019-07-06 07:08:13 +00:00
utf16.go internal/span: handle invalid column values to avoid crashing 2019-09-23 19:53:54 +00:00