Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Support for .IDL / COM ?

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
peterchen Posted - Oct 04 2011 : 06:47:39 AM
VS 2008, VA 10.6.1859

When using "goto definition" on a symbol defined in a .idl file, I get suggested the .tlh / .tli files generated by MSVC: #import. Since there is a .tlh / .tli for each project that imports that .idl, the popup menu easily fills the screen for some solutions.


Is there official support for .idl files at all, or is there a workaround to make them work at least some of the time?

If yes, what are the conditions of getting this to work?


5   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Nov 04 2011 : 11:27:52 PM
Thank you for fixing the link, now I'm seeing the problem.
Some VA features are active in IDL files but we don't officially support them.
What happens if you right click on a symbol and select "Go to Definition" or "Go to Declaration"?
peterchen Posted - Nov 04 2011 : 03:37:51 AM
Oops, sorry, I fixed it.

(Wanted to post offsite since it's a bit biggish and I'm not sure how BB handles that))
accord Posted - Oct 28 2011 : 6:10:34 PM
The URL seems to be broken. Can you check it? Alternatively you can use our forum to insert a picture after you hit the "Reply to Topic" link.
peterchen Posted - Oct 28 2011 : 04:09:03 AM
So .IDL is supported? That's godo to know!

My main Problem with ALT-G is this context menu:

http://i.imgur.com/LER1z

Sometimes I can find the .idl among these, sometimes I can't.
Adding .tlh and .tli to the "extensions to exclude" has no effect. I've changed the setting, clicked "Clear Ccache" and "Rebuild", closed VS2008, and started it again. VAX reparses, Alt-G still shows the TLH wall.

--

Possibly the .idl isn't found for the following reason:

we use #import <SomeItfs.tlb> rename_namespace("MyNamespace"),
so the definitions end up in a namespace ("MyNamespace") that is not known in the .idl




accord Posted - Oct 04 2011 : 6:41:30 PM
Go to definition in the context menu is a Visual Studio feature.
Press alt+G or click on the "Go" button with the green arrow in the top-right corner of the editor window to use Visual Assist's "Go to" function.

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