My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 33: Simple comment spell checking
3 people starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  forever.zet
Type-Enhancement
Priority-Medium


Sign in to add a comment
 
Reported by forever.zet, Mar 03, 2008
Simple comment spell checking (not only XML comments)
Comment 1 by drewnoakes, 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.
Comment 2 by plebm...@gmail.com, Jul 04, 2008
Yes I agree. Spell checking for Inline comments would be very useful.
Comment 3 by plebm...@gmail.com, 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.
DaemonProcess.cs
5.8 KB   Download
Comment 4 by forever.zet, 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.
Comment 5 by plebm...@gmail.com, 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.
Sign in to add a comment

Hosted by Google Code