Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Spell checking not always working in C# XML docs?

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
KoenTanghe Posted - Mar 01 2017 : 10:45:58 AM
Hi,

I'm seeing that spelling mistakes don't always get detected in C# XML docs in Visual Studio 2015 CE.
If I put the same text in Doxygen style comments, then the mistake is detected.
I attached a screenshot of an example from a .cs file:


Note: it's not always failing, as in some cases the spelling mistake IS being detected even if it's in C# XML docs.
I also attached a second screenshot of an example from a .cs file where it does work:


Is this a known bug?
Thanks,
Koen

PS
Long-time Visual Assist user here. Visual Studio itself has come a long way by now, but still considering VA essential (especially for C++ code)! Keep up the good work!
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Mar 03 2017 : 10:04:47 AM
Thank you for the update, it is good to have another example of the effect here. I am now not sure quite what the trigger is, since this seems to behaving slightly differently. But clearly there is a problem here. I have updated the bug report with this example.
KoenTanghe Posted - Mar 03 2017 : 07:37:32 AM
Hi feline,

thanks for acknowledging the issue.

And your theory seems plausible:
Indeed in that second example, it was the only XML tag.

Just to test, if I added this for a class method further down in that file:

/// <summary>
/// 
/// </summary>
/// <param name="request"></param>
public override void CreateRequest(CommandRequest request)


the spelling mistake in the original XML docs (from the second screenshot) is not underlined any longer.

To add to this (and what might help your team sorting this out): if I remove the <param name="...."> tag line in that new XML docs statement from above, the spelling mistake does get detected again.
Hope this helps!

Koen
feline Posted - Mar 01 2017 : 5:04:16 PM
That is strange, and unexpected. I am seeing the same problem here though:

case=104095

I have a theory, based on my tests. In the second screen shot, is this the only XML tag in a comment block in the file? For me, spell checking underlining is working, but only if you have one tag pair in the file.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000