kasecato / vscode-intellij-idea-keybindings

Port of IntelliJ IDEA key bindings for VS Code.
https://marketplace.visualstudio.com/items?itemName=k--kato.intellij-idea-keybindings
MIT License
829 stars 135 forks source link

Why does alt+insert open new untitled file ? #110

Closed noxasch closed 9 months ago

noxasch commented 6 years ago

Referring to this code, the description is to generate code, but what it actually do is open new untitled file.

{ "key": "alt+insert", "mac": "cmd+n", "command": "workbench.action.files.newUntitledFile", "when": "!editorTextFocus", "intellij": "Generate code... (Getters, Setters, Constructors, hashCode/equals, toString)" }

i-oliva commented 6 years ago

That is because VSCode does not have a "Generate code" functionality. If you would like to do that, you will have to get the extensions that allow you to generate code and set them to Alt+Insert.

Personally I just use CTRL + SHIFT + A and then write generate setters/getters (with Typescript Toolbox extension).

kasecato commented 6 years ago

@pavilion Thanks. That is correct. @nosovsh The code generation binding just creates untitled file with focus explorer like IntelliJ.

nosovsh commented 6 years ago

Wrong user mention :)

On Sun, Mar 25, 2018, 01:46 Keisuke KATO notifications@github.com wrote:

@pavilion https://github.com/pavilion Thanks. That is correct. @nosovsh https://github.com/nosovsh The code generation binding just creates untitled file with focus explorer like IntelliJ.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kasecato/vscode-intellij-idea-keybindings/issues/110#issuecomment-375936300, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOnP4_qQStFY5mIUFi7sxkyytn2du9zks5thujggaJpZM4Sn5tL .

nosovsh commented 6 years ago

@noxasch

On Sun, Mar 25, 2018, 10:16 Alexander Nosov trashgenerator@gmail.com wrote:

Wrong user mention :)

On Sun, Mar 25, 2018, 01:46 Keisuke KATO notifications@github.com wrote:

@pavilion https://github.com/pavilion Thanks. That is correct. @nosovsh https://github.com/nosovsh The code generation binding just creates untitled file with focus explorer like IntelliJ.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kasecato/vscode-intellij-idea-keybindings/issues/110#issuecomment-375936300, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOnP4_qQStFY5mIUFi7sxkyytn2du9zks5thujggaJpZM4Sn5tL .

kasecato commented 9 months ago

Closed by #271