1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:14:46 -07:00
go/internal/lsp/testdata
Danish Dua 5a22b632c5 internal/lsp: refactor line folding range code
This CL removes duplicate code in lineFoldingRange function under
lsp/source/folding_range.go and generally improves code quality.

Fixes bug with composite literal folding where gopls was folding literals
with braces on the same line as end token (paranthesis/braces).

Change-Id: I742f285d866d72a243129c0aef0935fe2a1ad0dd
Reviewed-on: https://go-review.googlesource.com/c/tools/+/245757
Reviewed-by: Heschi Kreinick <heschi@google.com>
2020-08-03 22:55:02 +00:00
..
lsp internal/lsp: refactor line folding range code 2020-08-03 22:55:02 +00:00
missingdep internal/lsp: fix go.mod.golden test file to have sorted mod names 2020-07-30 22:19:56 +00:00
missingtwodep internal/lsp: support extract function 2020-07-20 18:55:41 +00:00
unused internal/lsp: support extract function 2020-07-20 18:55:41 +00:00
upgradedep internal/lsp: support extract function 2020-07-20 18:55:41 +00:00