VS Code tips —Run the current file in the integrated terminal

VS Code tips —Run the current file in the integrated terminal

Code 2020

3 года назад

89,951 Просмотров

Use the "Run active file in terminal" command to execute the current file in VS Code's integrated terminal.

Keep in mind that this command simply tries to execute the current file. Tasks and extensions can offer more advanced file running functionality.

#vscode #terminal

Тэги:

#vscode #visual_studio_code #programming #tech #ide #editor #code #coding #vs_code
Ссылки и html тэги не поддерживаются


Комментарии:

Borke Sahin
Borke Sahin - 19.08.2023 03:31

Hi please help,this is not working for me ...

Ответить
deathsquad
deathsquad - 07.06.2023 17:32

thanks, this helped me run my python file

Ответить
Colonastic
Colonastic - 27.04.2023 01:40

OH MY GOD THANK YOU I WAS ABOUT TO LOSE MY SANITY

Ответить
Henri Johansson
Henri Johansson - 08.12.2022 05:17

So how do I execute this integrated terminal from another file?

Ответить
Billie Jean
Billie Jean - 21.11.2022 04:35

how do i set it to python for myself to run it

Ответить
Kenneth Solano
Kenneth Solano - 18.10.2021 05:20

In my case, the file has to be run into the terminal, by another program that has no VS Code extention and optionally some flags. How can I run it?
(tagui filename.tag -headless)

Ответить
Robert Jolly
Robert Jolly - 17.10.2021 03:39

Control + Shift + P
or
Command + Shift + P

Ответить
Hammad Zafar Bawara
Hammad Zafar Bawara - 13.08.2021 04:56

I didn't understand what did he say about the shortcut of the keyboard.

Ответить
smjure
smjure - 29.07.2021 11:06

Tnx for the video. So you can run in terminal any language (JS, py, go,...) ... how to do the keybinding for "any language"? Tnx

Ответить
Harshal Sharma
Harshal Sharma - 19.05.2021 20:00

It's showing excess denied what can I do?

Ответить
Md Golam Rabby
Md Golam Rabby - 31.03.2021 21:37

sir i canot restore my vs menu bar

Ответить