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
 Feature Requests
 C# completion bug with certain keywords
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

clintp
New Member

3 Posts

Posted - Mar 17 2005 :  09:29:49 AM  Show Profile
In C#, certain keywords seem to trigger bogus autocompletion when used with Allman or GNU-like bracing style (open curlies on next line). For example the keystroke sequence "try[enter]{" should result in:

try
{

To start an exception-handling block. Instead, what I get is:

TransparencyKey{

Or some other nonsense.

Language keywords that can be followed by newlines in a very common bracing style shouldn't trigger the enter-autocompletion.

---- Version Info ----
VA_X.dll file version 10.1.1298.0
Licensed to:
VA X:
VA.NET 7.1:
VAOpsWin.dll version 1.2.0.4
DevEnv.exe version 7.0.9466.0
msenv.dll version 7.0.9466.0
Font: Courier New 13(Pixels)
Comctl32.dll version 5.82.2900.2180
WindowsNT 5.1 Build 2600 Service Pack 2
Single processor

Platform: Win32
Stable Includes:
c:\\program files\\microsoft visual studio .net\\vc7\\include;
c:\\program files\\microsoft visual studio .net\\vc7\\atlmfc\\include;
c:\\program files\\microsoft visual studio .net\\vc7\\PlatformSDK\\include\\prerelease;
c:\\program files\\microsoft visual studio .net\\vc7\\PlatformSDK\\include;
c:\\program files\\microsoft visual studio .net\\frameworksdk\\include;
Library Includes:
c:\\program files\\microsoft visual studio .net\\vc7\\atlmfc\\src\\mfc;
c:\\program files\\microsoft visual studio .net\\vc7\\atlmfc\\src\\atl;
c:\\program files\\microsoft visual studio .net\\vc7\\crt\\src;
Other Includes:

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Mar 20 2005 :  3:01:08 PM  Show Profile
this does not happen to me. what exactly are you seeing? if there is a suggestion or completion listbox present when you type "try" and you then press enter to type the brace then this could accept the current suggestion.

are you running .NET 2002? i have double checked this is not happening for me in .NET 2003, so it is possible the problem does not show up in this version of the IDE. i can find .NET 2002 in order to test this, but i would like to know what i am looking for first.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000