Visual Studio Code
Cut line
In Visual Studio Code, Ctrl + X will cut line. It is listed for Windows, and no Mac version is documented here.
Where it works: Empty selection
This applies when nothing is selected. It cuts the whole line.
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.