I just had this problem. Make sure you have the "Code Runner" extension installed on VS Code. Once I installed it the run option appeared.