Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Suggestions after #region in C#

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
JamesB Posted - Jun 18 2008 : 2:46:18 PM
Before I start, just a quick kudos to the VA team. We all love your product over at ArenaNet. ;)

I've noticed a mildly annoying tendency of VA to add suggestions after typing a #region in C# (VS 2008). Whenever I try to type:

#region Private Members

I instead get:

#region Private MemberwiseClone

because of an errant suggestion. I'm wondering why VA bothers to make suggestions in regions based on code. It seems like these should be treated similar to comments, where no suggestions are made.

If it's not possible to stop VA suggestions altogether in #regions, is there a way I can at least prevent this from happening in this particular case?
4   L A T E S T    R E P L I E S    (Newest First)
support Posted - Jan 27 2009 : 9:23:40 PM
case=426 is fixed in build 1715
JamesB Posted - Jun 18 2008 : 5:32:57 PM
That worked great as a quick fix. Thanks so much.
accord Posted - Jun 18 2008 : 5:13:10 PM
In this particular case, you can add a snippet here:

VA Options -> Advanced -> Suggestions -> Edit VA Snippets (button)

1. Right click on C# root node
2. Select new
3. use "Members" for Title , Shortcut and for the fourth editbox.
4. Press OK

Now, when you type "Members", "Members" will be the default suggestion. (Note that this feature is case sensitive)
accord Posted - Jun 18 2008 : 4:53:18 PM
I am seeing the same effect here. Thank you for the clear description.

case=426

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