Author |
Topic |
|
peterchen
Tomato Guru
126 Posts |
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?
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
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. |
|
|
peterchen
Tomato Guru
126 Posts |
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
|
Edited by - peterchen on Nov 04 2011 03:36:50 AM |
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
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. |
Edited by - accord on Oct 28 2011 6:10:53 PM |
|
|
peterchen
Tomato Guru
126 Posts |
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
Whole Tomato Software
United Kingdom
3287 Posts |
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"? |
Edited by - accord on Nov 04 2011 11:28:31 PM |
|
|
|
Topic |
|