vscode-cmantic icon indicating copy to clipboard operation
vscode-cmantic copied to clipboard

[Feature] Extract code block to function/method

Open enwi opened this issue 2 years ago • 1 comments

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?

enwi avatar Apr 06 '22 08:04 enwi

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?

reedhedges avatar Apr 06 '23 14:04 reedhedges