Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VA snippet some ones not working?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jzq740176597
Tomato Guru

China
343 Posts

Posted - Mar 28 2018 :  02:12:57 AM  Show Profile  Reply with Quote
VA2010 ,win10 64,VS2017 ,C# Unity3d project


some snippets not working?

eg. [//-] => // $end$ [$MONTH$/$DAY$/$YEAR$ $User$]
[///] => /////////////////////////////////////

But can fix for a while (VA Options => ReBuild <symbols database > & Clear)

But works only for a while then down again.


But many ones always work , So wired !
e.g : do => do{} while , forr => for forward ...

BTW ,VS2017 update then Reinstall , So VA gone ,I reinstall VA 2010 ,after that this problem arised, before that VA works like a charm.


regards.

Creation come from persist!

Edited by - jzq740176597 on Mar 28 2018 02:14:07 AM

feline
Whole Tomato Software

United Kingdom
18988 Posts

Posted - Mar 28 2018 :  04:56:17 AM  Show Profile  Reply with Quote
When this stops working, if you make a new, blank code file, do the snippets work there? I am wondering if this is global, or somehow file or code specific. Perhaps something in one of the common header files is having an effect?

Given the pattern, it is almost as if VA is parsing something that triggers this problem, but everything is fine until the problem code is once more discovered and parsed. But I am not sure what could have an effect like this.

zen is the art of being at one with the two'ness
Go to Top of Page

jzq740176597
Tomato Guru

China
343 Posts

Posted - Mar 29 2018 :  10:19:58 PM  Show Profile  Reply with Quote
I just tried again ,found that Maybe the problem is solution / project related. this one is ok not the other sometimes .

sorry I forget which project is down , if got it again I will create a new empty C# source file And Take a test , tell you the further information.

thanks



Creation come from persist!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18988 Posts

Posted - Mar 30 2018 :  07:59:40 AM  Show Profile  Reply with Quote
Thank you for the update. If I had to guess, I would guess the problem starts when VA comes across a strange macro, for example:

#define class class ANOTHER_MACRO_CALL

something that could confuse our parser as we try to make sense of it. So if you can narrow down the trigger, can you keep an eye out for any odd macros?

Without a few more details, I am not sure what to try, but if we can find the trigger, I will work with you to try and fix this.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000