How do I select a single line within Visual Studio Code?
问题 Using Microsoft's Visual Studio Code, how do I select a single line of code? (equivalent to Atom's or other IDE's Cmd + L on Mac) And what would be the command I'm looking for? (e.g. editor.action.copyLinesDownAction ) It's quite confusing, since other selection shortucts like Cmd + A and Cmd + D are the same as in my previous IDE's. 回答1: It's Cmd + I by default in VS Code versions prior to 1.32. Starting from version 1.32 it's Cmd + L . You could change it in Keyboard Shortcuts by searching