When i change code in VS and try to compile it from editor, changes does not apply

Cant say for sure… I create new unreal project, VS opens. I edit code in VS, compile in editor → changes does not apply. Compile in VS → it compiles as it should compile via VS. If i try double click C++ file in editor, it opens 2 VS instances with that file opened. File in first instance is included in solution, file in second instance is just separated, without dependence.