PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

[PTRun][Docs] Updated Third party plugins to include UnicodeInput

Open nathancartlidge opened this issue 1 year ago • 4 comments

Summary of the Pull Request

Adds a new plugin, UnicodeInput, (developed by myself) to the third-party plugins list for PowerToys Run.

Detailed Description of the Pull Request / Additional comments

This plugin allows for the rapid input of some unicode characters and symbols

image

nathancartlidge avatar May 03 '24 19:05 nathancartlidge

@check-spelling-bot Report

:red_circle: Please review

See the :open_file_folder: files view, the :scroll:action log, or :memo: job summary for details.

Unrecognized words (1)

nathancartlidge

Previously acknowledged words that are now absent COMMANDTITLE FILELOCKSMITHLIB gdnbaselines interactable JArray ksh localport OOBEPT Pathto qwertyuiopasdfghjklzxcvbnm qwrtyuiopsghjklzxvnm redirectedfrom runsettings testhost toggleswitch 🫥
To accept these unrecognized words as correct and remove the previously acknowledged and now absent words, you could run the following commands

... in a clone of the [email protected]:nathancartlidge/PowerToys.git repository on the patch-1 branch (:information_source: how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.22/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/8944220914/attempts/1'
Available :books: dictionaries could cover words (expected and unrecognized) not in the :blue_book: dictionary

This includes both expected items (1874) from .github/actions/spell-check/expect.txt and unrecognized words (1)

Dictionary Entries Covers Uniquely
cspell:r/src/r.txt 543 1 1
cspell:cpp/src/people.txt 23 1
cspell:cpp/src/ecosystem.txt 51 1

Consider adding them (in .github/workflows/spelling2.yml) for uses: check-spelling/[email protected] in its with:

      with:
        extra_dictionaries:
          cspell:r/src/r.txt
          cspell:cpp/src/people.txt
          cspell:cpp/src/ecosystem.txt

To stop checking additional dictionaries, add (in .github/workflows/spelling2.yml) for uses: check-spelling/[email protected] in its with:

check_extra_dictionaries: ''
If the flagged items are :exploding_head: false positives

If items relate to a ...

  • binary file (or some other file you wouldn't want to check at all).

    Please add a file path to the excludes.txt file matching the containing file.

    File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.

    ^ refers to the file's path from the root of the repository, so ^README\.md$ would exclude README.md (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it, try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

github-actions[bot] avatar May 03 '24 20:05 github-actions[bot]

@microsoft-github-policy-service agree

nathancartlidge avatar May 03 '24 20:05 nathancartlidge

words literally out of my mouth ... ooo that is neat.

One idea neat pivot here could be leverage quick accent as a pt run extension too.

crutkas avatar May 03 '24 23:05 crutkas

that's a really good idea! i was already planning to expand it to also include HTML entity shorthands, so a quick accent option probably wouldn't be too hard either (although it might need to be implemented as a set of parallel plugins, so they can all have different trigger keywords?)

it's worth noting that quite a lot of the accented characters are already implemented in agda-mode input though - for example you can type \'a to get the á character.

nathancartlidge avatar May 03 '24 23:05 nathancartlidge