Skip to the main content

Visual Studio Code

Select current line

CtrlL

Windows Desktop app Visual Studio Code default keymap

Practice this

To select current line in Visual Studio Code, press Ctrl + L. It is listed for Windows, and no Mac version is documented here.

Where it works: Editor

Where this comes from

Visual Studio Code key bindings

Documentation checked on 2026-09-11. That is a documentation review, not a test run inside the application.

Report a correction