go/internal/lsp/source
Rebecca Stambler 77fbfaef01 internal/lsp: clean up some of the extract function code
This CL creates a struct that simplifies some of the extract function
logic. Also, add a test for extraction with an underscore in the
selection (Josh mentioned that this might not work, but it seems too).

Change-Id: If917614a5824e84fb79a07def3eb75f48f10a5b9
Reviewed-on: https://go-review.googlesource.com/c/tools/+/253277
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-09-08 20:39:53 +00:00
..
completion internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
call_hierarchy.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
code_lens.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
command.go internal/lsp: clean up some of the extract function code 2020-09-08 20:39:53 +00:00
comment.go internal/lsp/source: use space character in markdown formatting 2020-08-26 03:44:07 +00:00
comment_test.go internal/lsp: convert comments to markdown before sending to client 2019-10-04 18:35:38 +00:00
diagnostics.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
extract.go internal/lsp: clean up some of the extract function code 2020-09-08 20:39:53 +00:00
folding_range.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
format.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
format_test.go internal/lsp: reproduce and fix golang/go#41057 2020-09-02 22:40:51 +00:00
gc_annotations.go internal/lsp: in gc_details change command to use a temporary file. 2020-08-11 15:37:30 +00:00
highlight.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
hover.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
identifier.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
identifier_test.go internal/lsp/source: add a unit test for searchForEnclosing 2020-07-28 18:51:24 +00:00
implementation.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
options.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
references.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
rename.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
rename_check.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
signature_help.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
source_test.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
symbols.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
types_format.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
util.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
view.go internal/lsp/cache: don't always type check in default mode 2020-08-19 19:22:15 +00:00
workspace_symbol.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
workspace_symbol_test.go internal/lsp/source: support some fzf-like tokens in symbol matching 2020-09-08 16:35:05 +00:00