Since the Microsoft Fall Creators Update, Visual Studio 2017 with Visual Assist X was crashing so badly from time to time. For me atleast the root of this problem was IntelliSense so only fix as of now is to disable IntelliSense and use VAX IntelliSense. Although you will lose some cool features of VS IntelliSense like Peek Definition, Toggle Header/Code file etc it is worth it because no more irritating crashes.
Follow the below steps and your life will be happy:
- Make sure you have Visual Assist build 2231 or newer. Parse times for UE4 solutions were greatly reduced in build 2231.
- Tell Visual Assist X that you are working with Unreal Engine 4 via this registry setting HKCU\Software\Whole Tomato\Visual Assist X\VANet15\EnableUnrealEngineC++ = 01
- Create a va_stdafx.h file in the directory of your .sln file. Put the following lines in the file, and make sure the file ends with a blank line. Replace YOURGAME with the name of your game:
#define COREUOBJECT_API
#define ENGINE_API
#define YOURGAME_API
- Make sure Visual Assist gets content for its enhanced listboxes from its own parsers, in VAssistX | Options | Enhanced Listboxes.
- Disable IntelliSense.
- Rebuild VAX symbol database.
- Restart Visual Studio 2017.
Enjoy.
NOTE: Above information is from Visual Assist Docs. https://docs.wholetomato.com/default.asp?W783