VS 2015 and VS 2017, How To Select?

I have both Visual Studio 2015 and 2017 installed. I want Unreal Engine 4.18 to use Visual Studio 2017, but it keeps loading 2015. I need 2015 installed for other reasons. Any way to force Unreal to load VS2017?

I’m also seeing strange issues when it loads 2015. For example, if I create a C++ Pawn Class, the “Content” list does not display the class nor does it have any reference to the class. But it still opens the class in VS2015. It’s strange.

Go to Edit -> Editor Preferences -> General -> Source Code -> Source Code Editor

If need be, you can also manually create a /YourGame/Config/DefaultEditorSettings.ini file and add the following:



[/Script/SourceCodeAccess.SourceCodeAccessSettings]
PreferredAccessor=VisualStudio2017