Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user formatting control via template and other fixes #11

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
07f8a16
reformat 4→2 spaces
eugenesvk Oct 27, 2024
44ecf36
rename Preferences to Pref
eugenesvk Oct 27, 2024
4429a3f
remove extra spaces
eugenesvk Oct 27, 2024
afb0d69
reformat denser
eugenesvk Oct 27, 2024
850dec8
shorten sublime_settings to sub_setting to avoid confusion
eugenesvk Oct 27, 2024
d057cc8
reformat
eugenesvk Oct 27, 2024
db55210
reformat
eugenesvk Oct 27, 2024
e91d125
reformat to vertically align
eugenesvk Oct 27, 2024
1d952b1
add smaller space to time separator
eugenesvk Oct 27, 2024
f68ae3c
reformat
eugenesvk Oct 27, 2024
4ad2d03
update API call
eugenesvk Oct 27, 2024
d0ac176
reformat
eugenesvk Oct 27, 2024
279c0a7
don't show line status if no word/chars, word with no char
eugenesvk Oct 27, 2024
14d599e
reformat
eugenesvk Oct 27, 2024
dc7a32c
fix var name
eugenesvk Oct 27, 2024
674d0f5
simplify status printing conditions
eugenesvk Oct 27, 2024
245f715
reformat
eugenesvk Oct 27, 2024
1f6c17f
reformat
eugenesvk Oct 27, 2024
ef68a29
fix status name not being removed on renames
eugenesvk Oct 27, 2024
2de6352
update Readme
eugenesvk Oct 27, 2024
6ad8b31
update to new 3.8 plugin host
eugenesvk Oct 27, 2024
e03adb8
add commands to open settings
eugenesvk Oct 27, 2024
1aa53cd
update Readme
eugenesvk Oct 27, 2024
5645e1e
clean up settings a bit
eugenesvk Oct 27, 2024
072d1a5
update status label
eugenesvk Oct 27, 2024
05a899e
reformat
eugenesvk Oct 27, 2024
78755af
update Changelog
eugenesvk Oct 27, 2024
357a071
update Changelog
eugenesvk Oct 27, 2024
fe0cabc
add user customizable time separator symbol
eugenesvk Oct 27, 2024
4999f8a
update Changelog
eugenesvk Oct 27, 2024
356fc69
reformat to vertically align
eugenesvk Oct 27, 2024
624e57f
add in_group_separator separating line/word/char counts within each s…
eugenesvk Oct 27, 2024
6826f9d
update Changelog
eugenesvk Oct 27, 2024
45bcf0f
add group separator config
eugenesvk Oct 27, 2024
5c20074
add status_template config
eugenesvk Oct 27, 2024
eaa03f5
add support for group template (reordering and custom separator)
eugenesvk Oct 27, 2024
08ab6f3
update Changelog
eugenesvk Oct 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Wording Status

## Unreleased

- Add `Command Palette` commands to open settings files `Preferences: WordingStatus Settings` or `WordingStatus Settings: User`/`WordingStatus Settings: Default`
- 🐞 don't leave old statusbar messages when changing its position via `status_order_prefix`
- moved to the new 3.8 Sublime Text plugin host
- add `minute_separator` user setting for separating `5m 2s` in time
- add `in_group_separator` user setting for separating line/word/char counts
- add `group_separator` user setting for separating groups of counts (via a template)
- add user settings to reorder count groups / individual counts via a `status_template` template string

## 2.0.1

Created the setting `status_order_prefix` Evgeny (eugenesvk).
Expand Down
8 changes: 8 additions & 0 deletions Default.sublime-commands
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{"caption":"Preferences: WordingStatus Settings" ,"command": "edit_settings" ,"args":{
"base_file":"${packages}/WordingStatus/WordingStatus.sublime-settings",
"user_file":"${packages}/User/WordingStatus.sublime-settings",
"default" :"{\n\t$0\n}\n"}},
{"caption":"Preferences: WordingStatus Settings: User" ,"command":"open_file" ,"args":{"file":"${packages}/User/WordingStatus.sublime-settings"}},
{"caption":"Preferences: WordingStatus Settings: Default" ,"command":"open_file" ,"args":{"file":"${packages}/WordingStatus/WordingStatus.sublime-settings"}},
]
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ See also:


## Preferences
Located under Sublime Text>Preferences>Package Settings>Settings — User
(You probably need to copy the default settings from the uneditable Sublime Text>Preferences>Package Settings>Settings — **Default**)

Menu `Sublime Text`>`Settings…`>`Package Settings`>`WordingStatus`>`Settings` opens both the default and user settings files, where you can see every option explained in comments and copy/change the ones you need to adjust.

Or use the `Command Palette` commands `Preferences: WordingStatus Settings` or `WordingStatus Settings: User`/`WordingStatus Settings: Default`

## Inspiration

Expand Down
Loading