How do I resolve a Visual Studio error saying there is no editor available for .uasset?

Even when trying to open the uassets scripts in unreal, by clicking on the parent file in the blueprint the script wont open.