Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emrd/doublespacetoentervscode
https://github.com/emrd/doublespacetoentervscode
extension vscode vscode-extension
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/emrd/doublespacetoentervscode
- Owner: EmrD
- Created: 2024-08-17T16:06:59.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-23T12:21:14.000Z (3 months ago)
- Last Synced: 2024-10-12T01:22:12.982Z (about 1 month ago)
- Topics: extension, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=EmrD.doublespacetoenter
- Size: 10.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Double Space Enter - VS Code Extension
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
1. Open **Visual Studio Code**.
2. Go to the **Extensions View** (`Ctrl+Shift+X`).
3. Click the dots and select "Install from VSIX"
4. 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.
## Usage
Once installed:
1. Open any text file in VS Code.
2. Start typing in the editor.
3. Press the spacebar:
- Press it once to insert a space.
- Press it twice within 300ms to insert a newline.