elijah-potter / harper

The Grammar Checker for Developers
https://writewithharper.com
Apache License 2.0
1.82k stars 33 forks source link

Feature Request: No spelling error on variable names in all buffers #193

Open notuntoward opened 1 month ago

notuntoward commented 1 month ago

It would be nice if there was a rule that turned off spell checking of variable names, acronyms: strings in camel case (capital first word or not) or which contain underscores.

lukasmwerner commented 1 month ago

Not identifying variable names that have snake_case or chain-case is a known issue that is being worked on.

Closing this because this is a duplicate of #160 and #29.

elijah-potter commented 1 month ago

I would like to clarify that #29 is for spellchecking of identifiers outside of comments, while this issue and #160 are about identifiers inside comments. So it isn't quite a duplicate of #29.

notuntoward commented 1 month ago

Not identifying variable names that have snake_case or chain-case is a known issue that is being worked on.

Closing this because this is a duplicate of #160 and #29.

Both #160 and #29 seem to involve comments, but I believe I'm talking about something different. Even if there are no comments anywhwere, what I'm requesting is to not consider any strings in snake or camel case to be spelling errors.

elijah-potter commented 1 month ago

In that case, this is a new issue. Once #160 is resolved, we can make it configurable to be applied on all buffers (not just comments) and disregard the dictionary.