Snippets: say a phrase, get the text you saved

Open
#167 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
swift
Domain
desktop-dev

Research direction

The issue names the Dictionary screen and its existing trigger-to-replacement mechanism, but no specific files. Start by finding where dictionary entries are stored, applied to dictionary-style text replacement, and edited in the Dictionary UI. Done means snippets are visibly separated from spelling fixes, replacements can span multiple lines, and starter examples (email, phone, sign-off) are offered. Confirm the scope with maintainers first, since the issue proposes three changes at once.

Written by the indexing model from the issue text.

Description

enhancement priority:P2

Say "my email" and get your address. Say "signature" and get your sign-off. The paid apps have this, SpeakType 1 had it, and SpeakType 2's dictionary can already do the replacing, so this is mostly about making it obvious.

  • Dictionary entries already map a spoken trigger to replacement text, so the mechanism exists.
  • What's missing is that nothing tells people they can use it for snippets rather than spelling fixes, and a snippet often wants several words or lines, which the current editor doesn't encourage.

Worth doing: separate snippets from spelling fixes in the Dictionary screen, allow multi-line replacements, and offer a couple of starter examples (email address, phone number, sign-off).

Dominant language
Swift
Stars
540
Forks
74
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from karansinghgit/speaktype

All issues in karansinghgit/speaktype

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.