GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ssigwart/vscode-trailing-whitespace-fixer: VSCode extension to clean up trailing whitespace.

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
images
images
 
 
src
src
 
 
.eslintrc.json
.eslintrc.json
 
 
.gitignore
.gitignore
 
 
.vscodeignore
.vscodeignore
 
 
.yarnrc
.yarnrc
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
webpack.config.js
webpack.config.js
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

Trailing Whitespace Fixer

This extension helps to identify and remove trailing whitespace. It includes the following features:

Trim on Enter

  • If you hit Enter on a line that has trailing whitespace, it will be automatically removed.

  • If you hit Enter before whitespace on a line, the whitespace will be removed.

    Example: The | character represents the cursor position.

     $arr = [
     	1, 2,| 3, 4
     ];

    Hitting Enter without Extension

     $arr = [
     	1, 2,
     	| 3, 4
     ];

    Hitting Enter with Extension

     $arr = [
     	1, 2,
     	|3, 4
     ];

Show Trailing Whitespace

  • Any trailing whitespace on lines other than the current line will be highlighted in red.

Configuration

  • If you want to allow lines that are only whitespace, you can enable the trailing-whitespace-fixer.allowWhitespaceOnlyLines setting. This is useful if you want to retain the current indentation level.

About

VSCode extension to clean up trailing whitespace.

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.