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

It is known issue in v18 of the engine. I also had to switch to v19preview to be able to compile projects and open cpp classes without annoying multiple msvs instances.

UE-51608

-will be fixed in v19