Atom snippets to help with TEI encoding for the Ticha Project
Atom's snippets feature allows us to type a short keyword and press tab to expand it into a larger piece of text. This is useful for repetitive tasks like adding long XML tags. Snippets also let us press tab to "fill out" parts of the expanded text kinda like filling out a form.
You can also use Atom's command-line package manager,
apm install ticha-atom-snippets
Type a snippet's "prefix" (or enough of it that a tooltip comes up showing the green arrow icon) and press tab. The template text will appear and your cursor will change to be selecting some placeholder text in the template. Start typing to replace this text. Then press tab to move to the next area of the template. Repeat until everything looks right. Once you've filled out all areas of the template, pressing tab will jump your cursor to the end of the template.
Bold sections of text in the Template column are sections of the snippet accessible by pressing tab.
Explanation of symbols in the gif:
PRs accepted. Also, if you're on the Ticha team and you want me to add a new snippet, let's talk!
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.