Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VA Snippets for other file types

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
AndyPandy Posted - May 25 2010 : 11:35:00 AM
Hi,

i used VisualAssist for about 3 years now, but recently i started with UnrealScript .uc development.
I got some similar features running with nFringe, but the feature i still really miss are the VA Snippets.

Not being able to type just "if" and get the whole code and directly can write the comparison inside the "()", is what drives me crazy atm :)

So is there any way to just enable the VA Snippets and Spelling check feature for unreal script (.uc) files?
12   L A T E S T    R E P L I E S    (Newest First)
AndyPandy Posted - Jun 15 2010 : 07:37:03 AM
Thx for the info, but im still using VS2010 atm so its not working.

Guess i have to wait.

bye Andy
feline Posted - Jun 14 2010 : 6:13:42 PM
I have just emailed you about this.
AndyPandy Posted - Jun 14 2010 : 12:21:08 PM
What i did was adding .uc to the "extensions to include" list, added it to the VA "VANet10/ExtSource" entry.

The VS2010 "VisualStudio/10.0_Config/Languages/File Extensions/.uc" already existed, but had a different key.
But using the ".cpp" key also did not work.

And no it still wont show any files in the VA View or use any VA snippets.

bye Andy
feline Posted - Jun 14 2010 : 11:38:14 AM
Can you try turning on the two options:

Upon opening a file, parse all other unparsed files in the same directory:
VA Options -> Projects -> File Handling -> if Solution is empty
VA Options -> Projects -> File Handling -> if Solution is not empty

and see if this makes any difference. Since you have already edited your registry to tell VA about the .uc file extension this might help. Still, if VA understands that .uc files are code files, then I would expect to see the VA context and definition fields appear when you open one of these files.

Did you follow all of the steps given in this FAQ, for telling VA and the IDE that .uc are C++ code files?

http://docs.wholetomato.com?W328
AndyPandy Posted - Jun 14 2010 : 06:08:17 AM
quote:
Originally posted by feline


http://www.wholetomato.com/products/features/fis.asp

Are any files listed in this VA dialog?

When you open one of your code files, are the VA context and definition fields being shown?

http://www.wholetomato.com/products/features/vaNavigationBar.asp



Sadly the answer is "no" for both, there are no files listed in this dropdown and also the VA navbar is missing if i open a .uc file.

Andy tips to fix/force this?

bye Andy
feline Posted - Jun 11 2010 : 11:24:03 AM
If VA does not know about / is not active in the files, then it cannot insert snippets into them. So we need to work out if VA is at all active in your solution and files.

I am not sure what you mean by the "Files in Solution" panel. There is a "Solution Explorer" panel in VS2008 and VS2010, and VA has its Open File in Solution dialog:

http://www.wholetomato.com/products/features/fis.asp

Are any files listed in this VA dialog?

When you open one of your code files, are the VA context and definition fields being shown?

http://www.wholetomato.com/products/features/vaNavigationBar.asp
AndyPandy Posted - Jun 09 2010 : 05:27:48 AM
quote:
Originally posted by feline

With the solution open, are any of the .uc files listed in VA's Open File dialog?

If you are using a custom project type the VA may not know about any of these .ui files. If the files are listed in the Open File dialog, is VA showing its Context and Definition fields in these files? These are normally shown at the top of the editor.



If u mean the "VA View" and "Files in Solution" panel, no this panel is empty. But since the suggestions and intellisense comes from nfringe, all i need are the VA snippets and the spell checking. Should those 2 features not work without VA having to parse and know the files?

Any idea how to get this working?

bye Andy
feline Posted - Jun 08 2010 : 3:27:36 PM
With the solution open, are any of the .uc files listed in VA's Open File dialog?

If you are using a custom project type the VA may not know about any of these .ui files. If the files are listed in the Open File dialog, is VA showing its Context and Definition fields in these files? These are normally shown at the top of the editor.
AndyPandy Posted - Jun 08 2010 : 05:57:27 AM
quote:
Originally posted by feline


You could try turning off:

VA Options -> Advanced -> Suggestions -> Include VA Snippets in listboxes

and then manually trigger VA Snippets when you want them.

Perhaps use VA Snippets with "rare" shortcuts, things like "/c" and "/d", so that these shortcuts will not trigger intellisense listboxes from nfringe?



I also tried this and it wont work. Im not 100% sure i changed from VS2008 to VS2010 and it seems to me that VA is simply ignoring the .uc files/project at all?
The shortcut worked in a .cpp project, but in a "nfringe" project i don't get any VA functionality to work.
I tried the add the ".uc" extension to the registry key "ExtSource", but this also don't work.

U maybe know anything else to make sure/test if VA not simply disables/ignores the .uc/nfringe project at all?
I mean the snippet shortcut worked under a cpp project and i dont see why nFringe would block such suggestion if done via a rare shortcut?

thx Andy
feline Posted - May 31 2010 : 1:17:31 PM
I am not familiar with nFringe.

You could try turning off:

VA Options -> Advanced -> Suggestions -> Include VA Snippets in listboxes

and then manually trigger VA Snippets when you want them.

Perhaps use VA Snippets with "rare" shortcuts, things like "/c" and "/d", so that these shortcuts will not trigger intellisense listboxes from nfringe?
AndyPandy Posted - May 26 2010 : 1:26:20 PM
I tried the tweaks, but seems nFringe is interfering with VA.
So seems i can just have working intellisense from nfringe or VA snippets.
feline Posted - May 25 2010 : 1:08:44 PM
Depending on how close .uc files are to normal C++, or some other language, you can simply tell VA and the IDE to treat them like a know, supported language, as explained in these FAQ's

http://docs.wholetomato.com?W353

http://docs.wholetomato.com?W328

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