Hacker News new | ask | show | jobs
by insertnickname 2094 days ago
>I think the author doesn't know what VSCode can deliver.

Can it Inline Variables yet?

1 comments

Yes it surely can. Just right click on the variable and pick "Refactor..."

And you'll find other refactoring options as well, e.g. rename, extract...

At least for JavaScript, it seems like it still doesn't support Inline Variable. I can Extract Variable, but not Inline. Of course, that's a different matter than whether it's supported for Java. Last time I tried using the Java extensions for a non-trivial Spring Boot project, it was intolerably slow. I managed to convince a coworker to switch to IntelliJ after he saw the difference between my setup with IntelliJ and his with VS Code.