feat(SublimeText2.EditorPackages): cache packages
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
|
||||
|
||||
Thank you for installing Trailing Spaces
|
||||
----------------------------------------
|
||||
|
||||
You're now ready to give trailing spaces *a hard time*!
|
||||
|
||||
Wait… I guess Package Control just introduced some of them :(
|
||||
Why don't you try clicking "Edit / Trailing Spaces / Delete"?
|
||||
|
||||
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
Although the usage of this plugin is dead simple, it comes with several options. All
|
||||
details are available in the documentation, and you can read it by clicking on
|
||||
"Preferences / Package Settings / Trailing Spaces / Help", or in a prettier form, by
|
||||
browsing https://github.com/SublimeText/TrailingSpaces.
|
||||
|
||||
Key Binding
|
||||
===========
|
||||
|
||||
This plugin does not come with a default key binding for the deletion command. You can
|
||||
pick your own key binding and define it in "Preferences / Key Bindings - User", or just
|
||||
stick to using the menu entry under "Edit". Check the help for advice on this.
|
||||
|
||||
Upgrades & Issues
|
||||
=================
|
||||
|
||||
Package Control will automatically update all packages every time the editor is started,
|
||||
so there is nothing for you to worry about. If you however do find the plugin not to work
|
||||
as it used to, head to the issues tracker (see links below) to report the problem.
|
||||
|
||||
Useful Links
|
||||
============
|
||||
|
||||
* Documentation & Code: https://github.com/SublimeText/TrailingSpaces
|
||||
* Report issues / Request New Features / Roadmap: https://github.com/SublimeText/TrailingSpaces/issues
|
||||
* Follow me on twitter: @jdvauguet
|
@@ -0,0 +1,65 @@
|
||||
|
||||
|
||||
Trailing Spaces update [v1.0.0]
|
||||
-------------------------------
|
||||
|
||||
Hope you've been happy gaving trailin' a hard time so far.
|
||||
|
||||
I added several features to help you in this honorable quest…
|
||||
|
||||
All details accessible through:
|
||||
|
||||
"Preferences / Package Settings / Trailing Spaces / Help"
|
||||
|
||||
|
||||
|
||||
New feature: Modified Lines Only
|
||||
================================
|
||||
|
||||
As proposed by a fellow user, it is now possible to target only the lines
|
||||
modified by You and You Only when deleting trailing spaces.
|
||||
|
||||
This feature will certainly please coders who edit third-party code filled
|
||||
with trailing spaces but do not want to commit giant diffs, just their little
|
||||
fix, while keeping it clean.
|
||||
|
||||
New feature: Trim On Save
|
||||
=========================
|
||||
|
||||
This option allows for automatic deletion upon saving. No more lost trailing
|
||||
spaces! A perfect combo to the "Modified Lines Only" setting I guess.
|
||||
|
||||
New feature: Save After Trim
|
||||
============================
|
||||
|
||||
A different kind of automation: many users just want those trailings out and
|
||||
forget 'bout them. It is now made even easier with this auto-saving hook. Fire
|
||||
the deletion command, and your document is clean on the hard drive!
|
||||
|
||||
At the current time, "Trim On Save" and "Save After Trim" cannot be both
|
||||
enabled (the former wins), but this is on the roadmap.
|
||||
|
||||
New Menu
|
||||
========
|
||||
|
||||
Some of the settings seemed a bit more important than the others. Along the
|
||||
deletion command, the toggling command/state and the "Modified Lines Only"
|
||||
setting have been elected first-class citizens of the new "Edit / Trailing
|
||||
Spaces" menu. Any change made by click here is live, persistent and reflected
|
||||
in the JSON settings file. Settings are global to all open documents.
|
||||
|
||||
Improvements & Misc.
|
||||
====================
|
||||
|
||||
- Support for custom matching patterns (danger!).
|
||||
- Performance improvements (reduced overhead, with some room for further
|
||||
improvements).
|
||||
- Better documentation (both code & user doc).
|
||||
- Lazy "On-demand" matching improved.
|
||||
|
||||
Useful Links
|
||||
============
|
||||
|
||||
* Documentation & Code: https://github.com/SublimeText/TrailingSpaces
|
||||
* Report issues / Request New Features / Roadmap: https://github.com/SublimeText/TrailingSpaces/issues
|
||||
* Follow me on twitter: @jdvauguet
|
Reference in New Issue
Block a user