Add YAML import/export for Text Expander snippets
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
Research direction
Start by reading the existing application-data import/export flow and how LeanType represents Text Expander snippets; the issue does not name specific files. Work out how snippet fields map to the requested YAML format, including compatibility with Espanso. Done means snippets can be exported to and imported from standalone YAML files; the optional read-only YAML view is an additional convenience.
Written by the indexing model from the issue text.
Description
Feature request
It would be useful to have standalone import and export for Text Expander snippets using YAML/YML.
Currently, LeanType can export its application data, but there is no way to import or export Text Expander snippets separately. The application-specific data format also makes the snippets difficult to use outside LeanType.
I would like to be able to:
- Export Text Expander snippets as a
.yaml/.ymlfile. - Import snippets from a YAML file.
- Use a standard, portable format that can be used with other text-expansion applications, such as Espanso.
For example:
matches:
- trigger: ":email"
label: "Email"
replace: "[email protected]
As a small additional convenience, it could also be useful to have a read-only view showing all snippets in their YAML format, similar to how Expanda displays them. Editing the YAML inside LeanType is not necessary; I could edit the exported file elsewhere and import it again.
The main goal is simply to make Text Expander data portable instead of being locked into LeanType's application-specific format.
I've added a reference image from expanda for how the snippets can ne showed in their yamal format as read only.
- Dominant language
- Kotlin
- Stars
- 1k
- Forks
- 59
- Avg merge
- 13h 21m
- Merged PRs (30d)
- 48
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LeanBitLab/LeanType
-
Voice input fails in browser address bars due to incorrect password field detection (v4.2.9, follow-up to #516)Possibly taken @LeanBitLab claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
LeanBitLab/LeanType#713 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
LeanBitLab/LeanType#423 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 54/100
LeanBitLab/LeanType#717 ·
Maintainers usually reply within 1 day
-
Crush ReportPossibly taken @LeanBitLab claimed this today. Open
Difficulty 3/5 1-2 days Newbie friendliness 20/100
LeanBitLab/LeanType#715 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Text Expander/cursor-handling bugPossibly taken @LeanBitLab claimed this 3 days ago. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 62/100
LeanBitLab/LeanType#703 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
All issues in LeanBitLab/LeanType
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lysine-dev/okhttp#9814 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
getdictus/dictus-android#187 ·
Maintainers usually reply within 1 day
-
documentation follow-up
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
follow-up
Difficulty 1/5 Under an hour Newbie friendliness 83/100
yschimke/meshcore-mobile#586 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Kotlin/kotlinx-io#529 ·