I did further research and found out that:
“Unreal Build Tool has a new -IntelliSense option. This only needs to be re-run when new modules are added, or project includes are changed.”
I struggled to make this work building project from command line and then i discovered that opening up the project in editor and simply clicking “refresh visual studio project” will do the trick.