https://github.com/gael-lopes-da-silva/spacedvscode
Highlight trailing whitespaces and remove them
https://github.com/gael-lopes-da-silva/spacedvscode
trailing-spaces trailing-whitespaces vscode-extension
Last synced: about 2 months ago
JSON representation
Highlight trailing whitespaces and remove them
- Host: GitHub
- URL: https://github.com/gael-lopes-da-silva/spacedvscode
- Owner: Gael-Lopes-Da-Silva
- License: bsd-3-clause
- Created: 2024-11-02T20:27:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-23T09:24:38.000Z (over 1 year ago)
- Last Synced: 2025-04-08T07:57:14.209Z (about 1 year ago)
- Topics: trailing-spaces, trailing-whitespaces, vscode-extension
- Language: JavaScript
- Homepage:
- Size: 361 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
Spaced
Description
------------------------------------------------------------------
Spaced is a simple extension that detect and highlight trailing whitespaces. It also provides a command to remove all the trailing whitespaces of a file.
Options
------------------------------------------------------------------
Spaced has 2 command available right now. `Spaced: Toggle Hightlight` that turn on or off colors highlighting ans `Spaced: Remove Whitespaces` that remove all the whitespaces from the current file.
~~~json
{
"spaced.highlight": true, // Enable or disable highlight of whitespaces
"spaced.maxFileSize": 1000000, // The maximum file size to work with (1mb)
"spaced.maxLineCount": 10000, // The maximum number of line to work with
"spaced.borderRadius": 3, // Border radius of the highlight
"spaced.borderSize": 1, // Border size of the highlight
"spaced.borderColor": "#ff0000", // Border color of the highlight
"spaced.backgroundColor": "#ff000050", // Background color of the highlight
"spaced.delay": 900, // The time to wait before highlight is triggered
}
~~~
Screenshots
------------------------------------------------------------------

How to build
------------------------------------------------------------------
If you want a build of Spaced you can find it in the release section or in the [build](./build/) folder. Else use `vsce package` in the project folder.
How to install
------------------------------------------------------------------
To install, open visual studio code and go to the extention menu. Click on the three dots and click on `Install from VSIX` and choose the `spaced-X.X.X.vsix` file. Or just install it on the market place.