Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VA Snippet fails to insert symbol

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
gbozoki Posted - Jan 17 2013 : 12:26:19 PM
Given this snippet definition:

#region Constructor
/// <summary>
/// Constructor
/// </summary>
public $ClassName$ ()
{
	$end$
}
#endregion


If I have VAX insert this snippet, this is what I get (inserted code is in red):

using System;
using System.Collections.Generic;
using System.Text;

namespace MyNamespace.FieldX
{
    /// <summary>
    /// 
    /// </summary>
    internal class FieldX
    {
        #region Constructor
        /// <summary>
        /// Constructor
        /// </summary>
        public  ()
        {
        	
        }
        #endregion
    }
}


Note the missing constructor name. If the namespace name is different from the class name, this issue doesn't happen.

System information:

VA_X.dll file version 10.7.1925.0 built 2012.12.14
Licensed to:
VA X: (email removed) (1-user license) Support ends 2013.06.18
DevEnv.exe version 9.0.30729.1 Enterprise
msenv.dll version 9.0.30729.1
Font: Courier New 13(Pixels)
Comctl32.dll version 6.10.7601.17514
Windows 7 6.1 Build 7601 Service Pack 1
8 processors (x86-64;
WOW64)
Language info: 1252, 0x409

Platform: Win32
Stable Includes:
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include;
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;

Other Includes:

Stable Source Directories:
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfc;
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\atl;
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\crt\\src;
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Feb 25 2013 : 12:25:48 PM
case=71875 is fixed in build 1929
feline Posted - Jan 17 2013 : 5:51:08 PM
I am seeing the same effect here. Thank you for the clear description.

case=71875

Hopefully this is not causing to many problems, finding out the exact trigger was very helpful, and also narrows down how often this will break.

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