T O P I C R E V I E W |
peterchen |
Posted - Jun 08 2020 : 03:54:23 AM Specifically, I'm trying to use the IDL UUID snippet in ... .idl files.
They work in .cpp and .h, but not in .idl files. I also have some custom snippets I'd like to enable there. |
6 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jun 08 2020 : 2:24:05 PM Got it. Can you please try turning On
VA Options -> Suggestions -> Suggestion and Completion lists Enable in C#
not really obvious, but this is enabling VA Snippet listboxes in .IDL files for me. |
feline |
Posted - Jun 08 2020 : 2:18:51 PM With the Snippet menu open, what happens if you press 'U'? I am assuming that since you are after the uuid snippet its title starts with 'u', so pressing this should help you to jump directly to the right part of the menu. |
peterchen |
Posted - Jun 08 2020 : 12:10:28 PM Snippets work as expected through the VA Menu and context menu.
It's only that typing doesn't lead to suggestions (and well, picking the correct snippet from the context menu is a bit painful...)
I've seen this behavior consistently on threee machines, but they have a very similar setup.
|
feline |
Posted - Jun 08 2020 : 12:06:56 PM What happens if you press the "Insert VA Snippet" toolbar button on the VA toolbar? Does this produce the VA Snippet menu, and allow you to select and enter a snippet into the file?
I am getting different results here on different machines, but in both cases the Insert VA Snippet toolbar button works correctly for me. |
peterchen |
Posted - Jun 08 2020 : 09:36:28 AM Yes, VA is active: ALT-M opens the respecitve drop down from the VA toolbar, Alt-G offers to go to the definition, and a cusotm keyboard shortcut dutifully opens the VA Refactor Context Menu.
However, typing "uuid" does not pop up the suggestions (it works in .h and .cpp files). It is the same for other VA snippet shortcuts. Generally, ther are no suggestions when typing.
(It works in .idl.h files, which is why it took me a long time to figure out when it works and when it doesn't...)
VA_X.dll file version 10.9.2366.0 built 2020.02.20 DevEnv.exe version 15.9.28307.1146 Community msenv.dll version 15.0.28307.1000 Comctl32.dll version 6.10.18362.836 Windows 10 10.0 1909 Build 18363.836 8 processors (x86-64, WOW64) Language info: 1252, 0x407
I've upgraded to VA_X.dll file version 10.9.2375.0 built 2020.05.09 but behavior remains the same
|
feline |
Posted - Jun 08 2020 : 07:45:22 AM Is VA active in your IDL files? Is VA showing its Context and Navigation fields at the top of the editor window, and Alt-M works?
Which IDE and version of VA are you using?
VA is active, and snippets are working, in an IDL file for me here, using VS2017 and VA 2375.0. |