EWSoftware / VSSpellChecker

A Visual Studio spell checker editor extension that checks the spelling of comments, strings, and plain text as you type. Supports configuration and various languages.
Other
377 stars 65 forks source link

Would be nice if there was a way to ignore comments that start with // #267

Closed i00 closed 1 year ago

i00 commented 1 year ago

There is currently an option: "Ignore quadruple slash single line comments (////)"

... it would be good if this applied to ANY comment - so that if the comment started with // it would be ignored... So in C# //// would be ignored .. in python #// would be ignored .. in SQL --// would be ignored .. in VB '// would be ignored .. etc

EWSoftware commented 1 year ago

There is already an option to ignore standard double-slash comments under the same C# options. It cannot be applied to the other languages as it just isn't possible to handle all languages individually. You may be able to achieve the desired result using exclusion expressions for the other languages (//.*?$ for example since the slashes would be included as part of the comment text in other languages).