Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 C++ symbols in C# auto-complete

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
MHolmes Posted - Oct 05 2006 : 10:16:54 AM
VA_X.dll file version 10.3.1534.0 built 2006.09.02
Licensed to:
VA X: [email protected] (1-user license) Support ends 2007.08.04
VAOpsWin.dll version 1.3.3.6
VATE.dll version 1.0.5.8
DevEnv.exe version 8.0.50727.42
msenv.dll version 8.0.50727.42
Font: Courier New 13(Pixels)
Comctl32.dll version 6.0.2900.2180
Windows XP 5.1 Build 2600 Service Pack 2
2 processors

Platform: Win32
Stable Includes:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\include;

Library Includes:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfc;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\atl;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\crt\\src;

Other Includes:


Yesterday, basically while I was working (VS2005 was never closed), VAX started showing me C++ symbols in my C# code. I would type 'm_' to get an auto-complete of my members, and all the sudden I was seeing C/C++ defines like META_SETVIEWSTATE and such. Things like CString were suddenly showing up in my C# auto-completes. It only seems to happen when I do 'm_', other symbols work as expected.

What would cause this?
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Oct 05 2006 : 12:18:17 PM
please, a screen shot might help. VA does not generate the items in the completion listboxes, this information comes from the IDE its self.

when you press dot and get "m_View" converted is there any sort of listbox on the screen that is being accepted?
MHolmes Posted - Oct 05 2006 : 11:48:42 AM
No question marks, the symbols are very much defined. I've rebuilt the symbol database since this happend.

We don't even work with C++ in the office, pure C#/ASP.NET house. The oddest part was how the symbols just showed up mid-session. I never closed my IDE (I never really do, unless I need to). I restarted the IDE this morning and rebuilt the symbols database. I updated to the 9/15 release of VAX, no luck. I am still getting strange C++ symbols when I am looking for auto-completes for my members. These are regular CTRL + SPACE listboxes. I will be happy to post a screen shot if that will help you get a sense of what I mean.

The most annoying part is that if I type something like "m_View", then press ".", it will auto-complete to something wonky like META_SETVIEWPORTEXT. Oddly, if I actually try and type "META_" nothing comes up in the auto-complete at all. Only when I do "m_" do I get basically all of the #define's the Win32 API defines that start with 'm' in my auto-complete box.
feline Posted - Oct 05 2006 : 11:36:39 AM
that should not happen, and i don't know of anything that would make this happen.

do you have more than one IDE open?
when typing "m_" do the suggestions have question mark icons? this would make a small degree of sense.
what happens if you press CTRL-SPACE on one of these lists?
are you working in a pure C# solution, or does it also contain C++ code?

if you are seeing question mark icons then my first guess is that VA's symbol database has become somehow corrupt. if so telling VA to rebuild the database:

VA Options -> Performance -> General -> Rebuild symbol databases

and restarting the IDE should help. however if these are normal CTRL-SPACE listboxes then this may not help.

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