Andrew Dupont 1f52bd5b72 Remove stray `console.log` from `whitespace` package | 1 年之前 | |
---|---|---|
.. | ||
lib | 1f52bd5b72 Remove stray `console.log` from `whitespace` package | 1 年之前 |
menus | ada45b588d Bundle `whitespace` | 1 年之前 |
spec | ada45b588d Bundle `whitespace` | 1 年之前 |
README.md | ada45b588d Bundle `whitespace` | 1 年之前 |
package-lock.json | ada45b588d Bundle `whitespace` | 1 年之前 |
package.json | d5b9636669 Update `whitespace` `package.json` | 1 年之前 |
Strips trailing whitespace and adds a trailing newline when an editor is saved.
To disable/enable features for a certain language package, you can use syntax-scoped properties in your config.cson
. E.g.
'.slim.text':
whitespace:
removeTrailingWhitespace: false
You find the scope
on top of a grammar package's settings view.
Note: for .source.jade
, .source.diff
, .source.pug
and .source.patch
, removing trailing whitespace is disabled by default.