Skip to content

Conversation

@nkxxll
Copy link

@nkxxll nkxxll commented Dec 12, 2025

Let me know what you think I know this is kind of rudimentary. But with the requirements of fast and easy to work with...well this would work for me 😅.

Again I'm always open for feedback on my code!

ps: When I find the time I'll look into the code actions solution. I see the benefit, I wouldn't want to push "// spellchecker: disable" in production code.

Copilot AI review requested due to automatic review settings December 12, 2025 01:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the ability to disable spell checking for files by including a special "spellchecker: disable" comment. The implementation adds a new has_ignore_comment function that checks for language-specific comment syntax and integrates it into the spell checking flow to skip processing when the comment is found.

Key changes:

  • Added has_ignore_comment helper function with language-specific comment patterns
  • Integrated ignore comment check into the spell_check method to return early when detected
  • Added import for LanguageType in the use statement

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant