-
-
Notifications
You must be signed in to change notification settings - Fork 400
Open
Labels
component: hls-plugin-apicomponent: pluginslevel: easyThe issue is suited for beginnersThe issue is suited for beginnerstype: enhancementNew feature or requestNew feature or request
Description
The CodeActionKind
enum is actually an open enumeration of strings. There's nothing stopping us from adding our own kinds.
The main advantage of this is if we want to do some client-side filtering this is a much nicer thing to use than, say, matching on the action title.
We might also want plugins to tell us about custom kinds they support so that we can return the set that we use in CodeActionOptions
.
Real-world usecase: emacs-lsp/lsp-haskell#112 (comment)
wraithm and uhbif19
Metadata
Metadata
Assignees
Labels
component: hls-plugin-apicomponent: pluginslevel: easyThe issue is suited for beginnersThe issue is suited for beginnerstype: enhancementNew feature or requestNew feature or request