File tree 2 files changed +19
-0
lines changed
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1734
1734
"category" : " clojure-lsp Refactor" ,
1735
1735
"enablement" : " editorLangId == clojure && clojureLsp:active"
1736
1736
},
1737
+ {
1738
+ "command" : " clojureLsp.refactor.destructureKeys" ,
1739
+ "title" : " Destructure Keys" ,
1740
+ "category" : " clojure-lsp Refactor" ,
1741
+ "enablement" : " editorLangId == clojure && clojureLsp:active"
1742
+ },
1743
+ {
1744
+ "command" : " clojureLsp.refactor.restructureKeys" ,
1745
+ "title" : " Restructure Keys" ,
1746
+ "category" : " clojure-lsp Refactor" ,
1747
+ "enablement" : " editorLangId == clojure && clojureLsp:active"
1748
+ },
1737
1749
{
1738
1750
"command" : " clojureLsp.refactor.addMissingLibspec" ,
1739
1751
"title" : " Add Missing Require" ,
Original file line number Diff line number Diff line change @@ -255,6 +255,13 @@ const clojureLspCommands: ClojureLspCommand[] = [
255
255
command : 'extract-function' ,
256
256
extraParamFn : makePromptForInput ( 'Function name' ) ,
257
257
} ,
258
+ {
259
+ command : 'destructure-keys' ,
260
+ } ,
261
+ {
262
+ command : 'restructure-keys' ,
263
+ extraParamFn : makePromptForInput ( 'Bind to' ) ,
264
+ } ,
258
265
] ;
259
266
260
267
function sendCommandRequest ( command : string , args : ( number | string ) [ ] ) : void {
You can’t perform that action at this time.
0 commit comments