vscode-cmantic
vscode-cmantic copied to clipboard
[Feature] Extract code block to function/method
One of the most powerful refactorings is possibly the extraction of a block of code into a new function/method. Would it be possible to add this feature?
Similar to this, creating a function definition and/or declaration from a call to a new undeclared function is also essential.
Does anyone have any tips on how to get started implementing these features?