Author |
Topic |
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Dec 05 2008 : 06:38:28 AM
|
I have a snippet assigned a shortcut of #u which works just fine in VS2003 and VS2005 but not under VS2008, it simply does not do anything, does not show up. |
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Dec 05 2008 : 08:53:23 AM
|
Thats not right. Which language are you seeing this problem in, and which file extension?
I have setup three snippets, all with the shortcut #u which insert #undef, #undef C# and #undef VB for C++, VB and C#
All three of these are inserted correctly in .cpp, .cs and .vb files in VS2003, VS2005 and VS2008.
If you press the Insert VA Snippet toolbar button in VS2008 is this snippet in the list of snippets? |
zen is the art of being at one with the two'ness |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Dec 05 2008 : 09:03:31 AM
|
C#, .cs It shows up under "VA Snippets with shortcuts" under all IDEs. Another thing I just noticed, VA does not save its settings under VS2008 here. Might be related? Guess no. btw, its a freshly installed machine. |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Dec 05 2008 : 10:56:28 AM
|
VS2008, winXP, VA 1649, I have just tried changing the three options:
VA Options -> Advanced -> Fonts and Colors -> Apply Colouring to -> Object Browser VA Options -> Advanced -> Fonts and Colors -> Apply Colouring to -> Views VA Options -> Advanced -> Fonts and Colors -> Apply Colouring to -> Wizard Bar
changes to these three options are saved correctly when I close and reload the IDE. If you try these three, are the changes saved correctly?
Can you please go to:
VA Options -> System Info -> Copy Info
and paste the details (from the clipboard) into your reply. This will give us the basic information about your setup.
I am wondering if there is some form of permission or access rights problem here. The OS should offer some clues. Are you logged in as an administrator? |
zen is the art of being at one with the two'ness |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Dec 05 2008 : 2:14:38 PM
|
Changes are saved but I have seen them reset for no apparent reason once in a while.
VA_X.dll file version 10.4.1649.0 built 2008.09.09 Licensed to: VA X: [email protected] (1-user license) Support ends 2008.09.14 DevEnv.exe version 9.0.30729.1 msenv.dll version 9.0.30729.1 Font: Consolas 13(Pixels) Comctl32.dll version 6.0.2900.5512 Windows XP 5.1 Build 2600 Service Pack 3 4 processors
Platform: Win32 Stable Includes: C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\include; C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\include; C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include; C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;
Other Includes:
Stable Source Directories: C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfc; C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfcm; C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\atl; C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\crt\\src;
Besides that, am logged in as local administrator, no other restrictions.
|
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Dec 05 2008 : 3:19:15 PM
|
quote: Originally posted by Uniwares
I have a snippet assigned a shortcut of #u which works just fine in VS2003 and VS2005 but not under VS2008, it simply does not do anything, does not show up.
Is that mean other snippets are working well under VS2008? You have probably done this, but a wild guess just to be sure: do you have
VA Options -> Advanced -> Suggestions -> Include suggestions in listboxes
option checked under VS2008 as well?
Are you running more Visual Studios at the same time? |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Dec 05 2008 : 9:27:10 PM
|
yes, other snippets work. option is checked. Yes, occasionally running various instances of various versions of the IDE at the same time.
I just created another snippet with the same content but different shortcut, same effect. No go. Deleted snippet(s), quit IDE, restarted, re-created snippet, working now. Uhm. Not the slightest idea what the heck was happening with that. But I will keep an close eye on them.
|
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Dec 08 2008 : 12:46:05 PM
|
It almost sounds like the snippets had not been re-loaded correctly. However this does not explain why they were showing up in the menu.
Very strange. I am glad this is fixed, and hopefully the problem will not come back again. |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|