Python Forum
VSCode want to change to terminal window.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VSCode want to change to terminal window.
#1
I have really become fond of VS code, except for one thing which I'd like to change. I expect that there is a way to do this, but haven't been able to find the answer.

When I right click in the code window and choose 'Run Python file in terminal window', the code executes as expected, but the cursor remains in the code window. I think it be better if the cursor changed to the terminal window, so that you could input text, and for many other reasons.

It is possible to change this behavior, and if so, how?
Reply
#2
Probably not what you are looking for, but if you:
a. 'Left Click' the Debug Symbol on the left Margin, then
b. 'Left Click' the 'Green Triangle' VS code runs in Debug Mode (takes longer), but the cursor is in the 'Terminal Window'.

NOTE: After running like this, sometimes you have to 'Left Click' the 'Orange Square' to reset, before the 'Green Triangle' can be selected again.

Lewis
To paraphrase: 'Throw out your dead' code. https://www.youtube.com/watch?v=grbSQ6O6kbs Forward to 1:00
Reply
#3
Sounds like too much to pay, but I'll try it.
Reply
#4
Do you mean when when run file,
so can you continue and test content of file in interactive interpreter >>> that run in terminal?
Reply
#5
Quote:Do you mean when when run file,
yes, the cursor remains in the code window, and I start typing linux commands which end up in my code.
Not a big problem, but rather an annoyance.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  VScode problem with output window chipx 2 2,085 Dec-05-2021, 01:42 PM
Last Post: chipx
  VSCode window switching Larz60+ 0 2,081 Oct-03-2018, 12:13 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020