Add spelling extension
Description
Screencast
Checklist
- [x] I read the extension guidelines
- [x] I read the documentation about publishing
- [x] I ran
npm run buildand tested this distribution build in Raycast - [x] I checked that files in the
assetsfolder are used by the extension itself - [x] I checked that assets used by the
READMEare placed outside of themetadatafolder
Congratulations on your new Raycast extension! :rocket:
You can expect an initial review within five business days.
Once the PR is approved and merged, the extension will be available on our Store.
Greptile Overview
Greptile Summary
This PR adds a new spelling extension that provides spell-checking functionality using macOS's native NSSpellChecker API via AppleScript. The extension allows users to check spelling, get suggestions, and quickly paste or copy corrected words.
Key changes:
- Added spell-checking command with view mode that displays suggestions in real-time
- Implemented configurable preferences for primary action (paste vs copy), confirmation HUD, and multi-language support (13 languages)
- Uses
useExechook with AppleScript to interface with macOS's native spell checker - Includes metadata screenshots and comprehensive documentation
Minor issues:
- Missing title on one preference in
package.json(line 41) - Uses older
.eslintrc.jsonformat instead of recommendedeslint.config.js - CHANGELOG properly uses
{PR_MERGE_DATE}template string
Confidence Score: 4/5
- This PR is safe to merge with only minor style improvements needed
- The implementation is clean and follows Raycast extension patterns well. The core logic properly uses
useExecwithisLoadingstate, handles empty states correctly, and implements configurable preferences. The only issues are minor style concerns: a missing preference title and using the older eslint config format. - Pay attention to
package.json(missing preference title) and.eslintrc.json(outdated config format)
Important Files Changed
File Analysis
| Filename | Score | Overview |
|---|---|---|
| extensions/spelling/package.json | 4/5 | New extension manifest with preferences, commands, and dependencies - missing title on closeAfterAction preference |
| extensions/spelling/src/spell.tsx | 5/5 | Main spell-checking component using macOS NSSpellChecker via AppleScript - clean implementation with proper state management |
| extensions/spelling/.eslintrc.json | 3/5 | Uses older .eslintrc.json format instead of the recommended eslint.config.js format |
This pull request has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊
Hi 👋
How is this compared with the built-in Define command?
We do have a lot of spelling extensions in the store already, did you check them out?
This pull request has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊
This pull request has been automatically closed due to inactivity.
Feel free to comment in the thread when you're ready to continue working on it 🙂
You can also catch us in Slack if you want to discuss this.