Vscode-java: Feature Request: Assign return value to new variable

Created on 1 Jun 2018  路  3Comments  路  Source: redhat-developer/vscode-java

assignreturnfromvariable

One of my favorite Netbeans features is creating a new variable (correctly typed) from the return value of an expression. The addition of this feature would greatly help ease my transition to VSCode for Java.

Thank you for your time and consideration.

content-assist enhancement refactoring

Most helpful comment

@jcjolley @KaRkY The extension has provided the quick fix extract to local variable feature for return value. The quick fix bulb will appear when the cursor stops at the bracket (). The keyboard shortcut is ctrl + .
assignvariable2

Did this resolve your issue?

All 3 comments

Is there any progress on this issue?

@jcjolley @KaRkY The extension has provided the quick fix extract to local variable feature for return value. The quick fix bulb will appear when the cursor stops at the bracket (). The keyboard shortcut is ctrl + .
assignvariable2

Did this resolve your issue?

@testforstephen yes that solves it for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zalcorshark picture zalcorshark  路  3Comments

yaohaizh picture yaohaizh  路  4Comments

shawmanz32na picture shawmanz32na  路  3Comments

ulongx picture ulongx  路  4Comments

bkbonner picture bkbonner  路  3Comments