vscode-javascript-booster icon indicating copy to clipboard operation
vscode-javascript-booster copied to clipboard

What about extract to parameter? Seems totally missing

Open momomo opened this issue 1 year ago • 0 comments
trafficstars

function greet() {
        console.log(111)
}

greet() 

Placing mouse on 111 and extract to parameter should lead to:

function greet(param) {
        console.log(param)
}

greet(111) 

But this obvious case is missing and this doesn't bound good for the future as this was the first thing I tested support for.

Are only simple refactorings possible?

momomo avatar Oct 03 '24 11:10 momomo