Reputation: 63
VSCode has added a 'Refactor...' editor context menu option from version 1.70 onwards. This is unnecessary when developing an extension that does not support refactoring. The option simply gives the error 'No refactorings available'.
Is there a way to disable this context menu option? Normally options only show up when we register their providers like DefinitionProvider for 'Go to Definition', but this one seems to popup without any registration.
Upvotes: 0
Views: 1207
Reputation: 91
Inside settings, Editor > Snippets > Code Actions: Enabled
Can toggle this off to disable the menu option.
Upvotes: 1