Plover plugin to make typing identifier in programming languages easier
Project description
plover-auto-identifier
You don't have to keep typing KPA*
or RUPBD
while programming.
Example usage:
- Type
THRAEUT R*UPBD STROEBG
,translate_stroke
is printed. - From the next time, typing
THRAEUT STROEBG
will automatically createtranslate_stroke
.
This program is available on GitHub and PyPI. Report bugs on GitHub.
Note that this program uses some internal API of Plover, and thus is not guaranteed to work on any given Plover versions.
Idea:
- Integrate with some editor to load the word list
- Also track the output for the word list.
- But if the word typed is deleted, also remove that word from the word list.
- That is, if there's no editor integration
- Given a word list...
- If user stroke A/B/C -> "a b c", automatically convert it to "aBC" (assuming camel case)
- Then if user press
*
there are two options- Revert to "a b c" (note: do not reform the word immediately!)
- Revert to "a b" (which is the one that makes the most sense with Plover's default meaning of undo)
- Note: handle the case that the last "formed" word/translation has replaced entries!
- Delete the whole word
- In the latter 2 cases there should be a stroke that undo the conversion
- Do not convert anything if there's any no-op stroke!
- No-op: for example delete-space
TK-LS
, camel-case, or underscore.
- No-op: for example delete-space
- Only change new content...?
- For example, if the user stroke A/B, then add aB to the word list, then undo to the point with that content "a b" it should not be spontaneously changed to "aB".
- But what if the user delete the "b" then stroke it back?
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for plover_auto_identifier-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd432586ff4537c1843df380bbf98cc9754af592ad235831da57e6f070a2ac9f |
|
MD5 | 5ce40bd65c382d4b8c9fc141157e5bfd |
|
BLAKE2b-256 | 6591ffed8f742bf5cee98f7eeec62453e210403d0105f3144c7257b2681481b6 |
Close
Hashes for plover_auto_identifier-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a3a5b93802ffc29c82cef0460d70ebcdbe3c301b7e2311581945eb563490705 |
|
MD5 | 7bc1238b9801629f7fe38929161c4b1c |
|
BLAKE2b-256 | 5e7c447a7747b58f6382f99cdcfcf79438ac3befcfa8f20f2ed3f05e96ad718c |