Skip to content

Commit facb498

Browse files
committed
Message for v1.0.0.
Signed-off-by: Jean-Denis Vauguet <[email protected]>
1 parent 3d6531b commit facb498

File tree

3 files changed

+76
-10
lines changed

3 files changed

+76
-10
lines changed

messages.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"install": "messages/install.txt"
3-
}
2+
"install": "messages/install.txt",
3+
"v1.0.0": "messages/v1.0.0.txt"
4+
}

messages/install.txt

+8-8
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ details are available in the documentation, and you can read it by clicking on
1818
"Preferences / Package Settings / Trailing Spaces / Help", or in a prettier form, by
1919
browsing https://github.com/SublimeText/TrailingSpaces.
2020

21-
Key binding
21+
Key Binding
2222
===========
2323

2424
This plugin does not come with a default key binding for the deletion command. You can
2525
pick your own key binding and define it in "Preferences / Key Bindings - User", or just
2626
stick to using the menu entry under "Edit". Check the help for advice on this.
2727

28-
Upgrades, issues
29-
================
28+
Upgrades & Issues
29+
=================
3030

31-
Package Control will automatically upgrade all packages every time the editor is started,
32-
so there is nothing for you to worry about. If you however do find the plugin to not work
31+
Package Control will automatically update all packages every time the editor is started,
32+
so there is nothing for you to worry about. If you however do find the plugin not to work
3333
as it used to, head to the issues tracker (see links below) to report the problem.
3434

35-
Useful links
35+
Useful Links
3636
============
3737

38-
* Documentation & code: https://github.com/SublimeText/TrailingSpaces
39-
* Report issues / request for new features: https://github.com/SublimeText/TrailingSpaces/issues
38+
* Documentation & Code: https://github.com/SublimeText/TrailingSpaces
39+
* Report issues / Request New Features / Roadmap: https://github.com/SublimeText/TrailingSpaces/issues
4040
* Follow me on twitter: @jdvauguet

messages/v1.0.0.txt

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
2+
3+
Trailing Spaces update [v1.0.0]
4+
-------------------------------
5+
6+
Hope you've been happy gaving trailin' a hard time so far.
7+
8+
I added several features to help you in this honorable quest…
9+
10+
All details accessible through:
11+
12+
"Preferences / Package Settings / Trailing Spaces / Help"
13+
14+
15+
16+
New feature: Modified Lines Only
17+
================================
18+
19+
As proposed by a fellow user, it is now possible to target only the lines
20+
modified by You and You Only when deleting trailing spaces.
21+
22+
This feature will certainly please coders who edit third-party code filled
23+
with trailing spaces but do not want to commit giant diffs, just their little
24+
fix, while keeping it clean.
25+
26+
New feature: Trim On Save
27+
=========================
28+
29+
This option allows for automatic deletion upon saving. No more lost trailing
30+
spaces! A perfect combo to the "Modified Lines Only" setting I guess.
31+
32+
New feature: Save After Trim
33+
============================
34+
35+
A different kind of automation: many users just want those trailings out and
36+
forget 'bout them. It is now made even easier with this auto-saving hook. Fire
37+
the deletion command, and your document is clean on the hard drive!
38+
39+
At the current time, "Trim On Save" and "Save After Trim" cannot be both
40+
enabled (the former wins), but this is on the roadmap.
41+
42+
New Menu
43+
========
44+
45+
Some of the settings seemed a bit more important than the others. Along the
46+
deletion command, the toggling command/state and the "Modified Lines Only"
47+
setting have been elected first-class citizens of the new "Edit / Trailing
48+
Spaces" menu. Any change made by click here is live, persistent and reflected
49+
in the JSON settings file. Settings are global to all open documents.
50+
51+
Improvements & Misc.
52+
====================
53+
54+
- Support for custom matching patterns (danger!).
55+
- Performance improvements (reduced overhead, with some room for further
56+
improvements).
57+
- Better documentation (both code & user doc).
58+
- Lazy "On-demand" matching improved.
59+
60+
Useful Links
61+
============
62+
63+
* Documentation & Code: https://github.com/SublimeText/TrailingSpaces
64+
* Report issues / Request New Features / Roadmap: https://github.com/SublimeText/TrailingSpaces/issues
65+
* Follow me on twitter: @jdvauguet

0 commit comments

Comments
 (0)