What is the IntelliJ shortcut to create a local variable?

Yep! This is the Introduce Variable refactoring. By default, select some text, and then hit Ctrl + Alt + V (for Mac: ++V). If the expression is incomplete or invalid, IntelliJ will still make a good guess about what you meant and try to fix it for you.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)