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
 Syntax Highlighting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

SerzaNT
New Member

Czech Republic
2 Posts

Posted - May 06 2020 :  08:29:16 AM  Show Profile  Reply with Quote
I have downloaded the trial for Visual assist and i'm trying to work with it on the UE4 project. I must say, that in many ways its significant improvement, and i would like to keep using it. But there is basic feature that im missing(maybe it is there and i overlooked it?), that is the Syntax error highlight. For example, if there is a function signature that expect some data type and i pass the wrong data type, the intellisense is completely fine with it.


I would expect to see the errors highlighted here.

Do i have to run different parser for it or there is something that im missing? It seems to me that this is very basic stuff.

Thank you.

Edited by - SerzaNT on May 06 2020 08:30:49 AM

feline
Whole Tomato Software

United Kingdom
16647 Posts

Posted - May 06 2020 :  09:12:49 AM  Show Profile  Reply with Quote
VA does not attempt to highlight syntax errors like this. If / when you compile the code errors and warnings will be flagged in the editor. Basically the code needs to be compiled, or something close to this, to check for this sort of errors, since you have to allow for overloads, etc.

You can try turning On:

VA Options -> Code Inspection (beta) -> Enable Code Inspection

this will check various features in your code, but isn't Unreal specific.

If you have disabled the IDE's intellisense parser, which is fairly common when working with Unreal Engine, you can also turn On:

VA Options -> Underlining -> Underline unrecognized symbols using

this isn't active if we detect that the IDE's intellisense parser is active in C++. The easy way to disable the IDE's parser is to set:

IDE tools menu -> Options -> Text Editor -> C/C++ -> Advanced -> Disable Database = True

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

SerzaNT
New Member

Czech Republic
2 Posts

Posted - May 06 2020 :  09:40:51 AM  Show Profile  Reply with Quote
I see. Indeed, I have default intellisense parser disabled and i was hoping i would replace it with the VA completly. I will try to enable it back up and run two parsers in parallel. Hopefully, it will provide best of both worlds.

Note: I have "Underline unrecognized symbols using" & "Enable Code Inspection" enabled and it works, but not for this kind of things.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
16647 Posts

Posted - May 06 2020 :  12:49:53 PM  Show Profile  Reply with Quote
Yes, unfortunately this is a deeper level of analysis. It is easy in this example to see that the code is wrong, but in general, this is hard, and you don't automatically want this sort of overhead when editing your code, as opposed to compiling it.

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:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000