It's easier to highlight lines in VS Code this way:

Опубликовано: 23 Февраль 2026
на канале: PythonGuru
15,845
995

In Visual Studio Code (VS Code), the keyboard shortcut Ctrl+L is used to select the current line where the cursor is located. When you press Ctrl+L, VS Code selects the entire current line of text in the editor. This is convenient, for example, if you want to quickly copy or delete the current line, or perform other operations on it.

This is a very useful keyboard shortcut for editing code and text in VS Code.