File tree Expand file tree Collapse file tree
packages/vscode/src/view/backend/message-handlers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,34 +150,6 @@ async function validate_presets(params: {
150150 }
151151
152152 const create_items = ( ) => {
153- const refactoring_items = ! params . is_code_completions_mode
154- ? [
155- {
156- label : 'Use refactoring API tool' ,
157- kind : vscode . QuickPickItemKind . Default ,
158- command : 'refactor' ,
159- type : 'refactoring'
160- } ,
161- {
162- label : 'Use refactoring API tool using...' ,
163- kind : vscode . QuickPickItemKind . Default ,
164- command : 'refactorUsing' ,
165- type : 'refactoring'
166- } ,
167- {
168- label : 'My Presets' ,
169- kind : vscode . QuickPickItemKind . Separator ,
170- type : 'separator'
171- }
172- ]
173- : [
174- {
175- label : 'My Presets' ,
176- kind : vscode . QuickPickItemKind . Separator ,
177- type : 'separator'
178- }
179- ]
180-
181153 const preset_items = available_presets . map ( ( preset , index ) => {
182154 const buttons = [ ]
183155
@@ -202,7 +174,7 @@ async function validate_presets(params: {
202174 }
203175 } )
204176
205- return [ ... refactoring_items , ... preset_items ]
177+ return preset_items
206178 }
207179
208180 const quick_pick = vscode . window . createQuickPick ( )
You can’t perform that action at this time.
0 commit comments