Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VA Snippet fails to insert symbol
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

gbozoki
Ketchup Master

USA
70 Posts

Posted - Jan 17 2013 :  12:26:19 PM  Show Profile  Reply with Quote
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;

feline
Whole Tomato Software

United Kingdom
17256 Posts

Posted - Jan 17 2013 :  5:51:08 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Feb 25 2013 :  12:25:48 PM  Show Profile  Reply with Quote
case=71875 is fixed in build 1929
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000