-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to ignore code
in Markdown using spellright.ignoreRegExps?
#24
Comments
Sadly these regular expressions cannot do the work. They are matched after separation of the lexemes (words) at exactly the same place as I have added this to Markdown parser and it should now ignore inline code parts in version 1.0.24. |
Please let me know if code ignoring in version 10.24 works for you. |
Yes it's working great! On a similar front, I think the links in MD link syntax should also be skipped:
To overload this comment even more, is there an easy way to add some words to |
This is strange - e-mails & URL should be excluded from spelling (globally) from version 1.0.10. Could you please provide an example URL that is spelled? No, there is no menu for adding this. This has to be done manually. This is a bit "by design" as I was aiming in as low-profile GUI as possible. Also I am not sure if it is possible to have information about word under cursor when providing context menu actions - if it would all spellcheckers would use this instead of adding diagnostics to the list. This would allow to scan for proper forms of words while popping the menu, which would speed spelling a lot - currently it takes a lot of time to provide correctly spelled words than to check if the word is spelled correctly or not. |
But maybe you are right - there could be an action, probably with unassigned key to add word to ignored word list. Let me think this through. |
If I could please get this in text! ;-) |
- [PhpStorm setup](#phpstorm)
- [Writing code](#writing-code)
- [Debugging](#debugging)
- [Testing](#testing)
- [Frontend development](#frontend-development)
- [Production build](#production-build)
- [Docker tips](#docker-tips) |
Wait! I have missed one important thing - when you have a word underlined as misspelled then once you press correct button ( I tend not to use custom dictionaries (a.k.a. Ignore Lists). That's maybe why I have forgot them. |
OMG how could I have missed this? :) Exactly what I'm looking for. |
Seems close. I will close this thread, please examine these and report if that's very off what you need. ;-) |
I want to suppress spell checking inside Markdown
code
words and I've got a feeling thatspellright.ignoreRegExps
will be the way to go, however, I can't figure out how to write that regexp. Could you provide an example please? Is it possible at all? I've tried:which doesn't seem to work.
Thanks for an awesome extension BTW.
The text was updated successfully, but these errors were encountered: