| Issue 33: | Simple comment spell checking | |
| 3 people starred this issue and may be notified of changes. | Back to list |
Simple comment spell checking (not only XML comments) |
|
,
Jun 06, 2008
I would also like the ability to include these text regions in spell checks. I am assuming the creator of this issue is referring to // and /* ... */ comments. |
|
,
Jul 04, 2008
Yes I agree. Spell checking for Inline comments would be very useful. |
|
,
Jul 04, 2008
I made a quick hack to get this feature working. It simply allows more token types to be sent off to the Spell String checking process. |
|
,
Jul 07, 2008
Thanks for the hack :) The problem is that there can be parts of code commented out (with xml comments, escaped strings etc.) and I want Agent Smith to be more or less smart to detect them or at least to show as few errors as possible. |
|
,
Jul 07, 2008
It would be somewhat hard to implement this because you'd need to run the commented content through the lexer parser again to see if it were c# As a work around you could do two things. The first is to use the enable disable comment feature of again smith to skip such code areas. The second is you could modify my hack and remove the CSharpTokenType.C_STYLE_COMMENT (/* comment */) and put your comment code in side of this style of commenting. |
|
|
|