]> git.lizzy.rs Git - rust.git/blobdiff - editors/code/src/lsp_ext.ts
Add hover actions as LSP extension
[rust.git] / editors / code / src / lsp_ext.ts
index 9793b926c26e2863b5f88f119589da96fe3c46fa..e16ea799ce015bef81a14cb22785e24cd2eee351 100644 (file)
@@ -90,3 +90,15 @@ export interface SsrParams {
     parseOnly: boolean;
 }
 export const ssr = new lc.RequestType<SsrParams, lc.WorkspaceEdit, void>('experimental/ssr');
+
+export interface CommandLink extends lc.Command {
+    /**
+     * A tooltip for the command, when represented in the UI.
+     */
+    tooltip?: string;
+}
+
+export interface CommandLinkGroup {
+    title?: string;
+    commands: CommandLink[];
+}