Oct-20-2021, 05:39 PM
(This post was last modified: Oct-20-2021, 05:39 PM by deanhystad.)
Though you can probably change the shortcut, "Shift+Enter" does "Run Selection/Line in Interactive Window" in my VSCode. If you don't have a selection this will run the line containing the cursor. If that line is "print(x)" it is going to complain that x is not defined because as far as "Run Selection/Line in Interactive Window" is concerned, "print(x)" is the entire program.
By "code context menu" I mean the menu that pops up if you right click inside the code editor window.
By "code context menu" I mean the menu that pops up if you right click inside the code editor window.