diff options
Diffstat (limited to 'gopls/internal/lsp/protocol/codeactionkind.go')
-rw-r--r-- | gopls/internal/lsp/protocol/codeactionkind.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gopls/internal/lsp/protocol/codeactionkind.go b/gopls/internal/lsp/protocol/codeactionkind.go new file mode 100644 index 000000000..9a95800fb --- /dev/null +++ b/gopls/internal/lsp/protocol/codeactionkind.go @@ -0,0 +1,11 @@ +// Copyright 2020 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package protocol + +// Custom code actions that aren't explicitly stated in LSP +const ( + GoTest CodeActionKind = "goTest" + // TODO: Add GoGenerate, RegenerateCgo etc. +) |