talonhub / community

Voice command set for Talon, community-supported.
MIT License
635 stars 781 forks source link

code formatters should use words rather than symbols #1575

Open chdoc opened 1 week ago

chdoc commented 1 week ago

I recently noticed that saying "smash one plus" produces "one+" and "hammer one plus" produces "One+". These being code formatters, the expected output should probably be "oneplus" or "OnePlus", i.e. exclusively contain words.

Side note: even phrase formatters only replace punctuation symbols and not other mathematical symbols.

CC: @nriley

AndreasArvidsson commented 6 days ago

I think we should probably add a capture <user.text_code> or <user.text_code_identifier> that is just <user.text> with additional punctuation . and _. We can then use this capture for code formatters and also other commands.