Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add YAML import/export for Text Expander snippets

Aperta
#625 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
kotlin, yaml
Ambito
mobile

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
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/.yml file.
  • 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.

Image
Lingua principale
Kotlin
Stelle
1k
Fork
59
Merge medio
13h 11m
PR unite (30g)
47

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LeanBitLab/LeanType

Tutte le issue di LeanBitLab/LeanType

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.