Unreal only reads C++ classes with Visual Studios 2015

Hello, as mentioned in the title, whenever I try to open a C++ class on Unreal, it will always try and open it in Visual Studios 2015. Normally this wouldn’t be an issue, but my license for 2015 has expired whereas my license for 2017 has not. I have gone into the settings and set the default program for C++ classes to be Visual Studios 2017 and have saved that setting multiple times. Whenever I attempt to open a C++ class it will pop-up in the bottom right corner of the screen saying that it’s loading Visual Studios 2017, yet the program that opens is 2015. Normally my method for an issue like this would be just to delete Visual Studios 2015 from my hard drive since it no longer serves a purpose, however while researching the answer to this question I found that apparently Visual Studios 2015 is required to have the Unreal Engine run properly since it relies on some of the files that 2015 has. Whether this is still true or not I’m uncertain but I thought before doing something as potentially dangerous as that I’d reach out for a response here first.

Hi.
Unreal Editor → menu Edit → Editor Preferences → General → Sourse code → set “Visual Studio 2017”.

That is what I had originally tried to fix the issue. Every time I open up the project I double check and it’s always set to Visual Studio 2017 but it will only ever load 2015