This Visual Studio Code extension allows you to insert a newline by double pressing the spacebar. A single press of the spacebar will insert a space, while a double press within a specified time will insert a newline (\n).Requires VSCode at least 1.92.0 from engine!
Features
Single Space Press: Press the spacebar once to insert a regular space character.
Double Space Press: Quickly press the spacebar twice to insert a newline.
Customizable Timing: The delay between spacebar presses can be customized to adjust the double press detection (default is 300ms).
Installation
Open Visual Studio Code.
Go to the Extensions View (Ctrl+Shift+X).
Click the dots and select "Install from VSIX"
Select the "doublespacetoenter-1.0.0.vsix" file from the list.
Alternatively, you can manually clone this repository and load it in your VS Code instance.