Open odonyde opened 5 years ago
Hi! Thanks for noticing. Could you please drop me the example in copy-pasteable form? Would be much easier to see the problem.
Sure! Spell Right flags the mentioned errors if I create a TypeScript file example.ts
with the following content:
/**
* Example function to demonstrate issue with spell checking of JSDoc statements
*
* @param calc Example parameter name which should not be marked as erroneous
*/
function ExampleFunction(calc: any) {
return calc;
}
As I have set spellright.useDocumentSymbolsInCode
to true
, I would expect that Spell Right does not report any spelling mistake for this TypeScript file. But in the comment section both the JSDoc tag @param
and the function parameter name calc
are marked as erroneous:
Spell Right erroneously reports errors in correctly spelled JSDoc statements:
@param
is falsely marked as erroneouscalcPrecoPrazoMethod
is marked as erroneous even thoughspellright.useDocumentSymbolsInCode
is set totrue