If I understand correctly, there are two ways to run a command (build, clean, monitor etc.) in the VS Code - either from a built-in "Run Task" option in the VS Code "Terminal" menu, where a command is defined in tasks.json and/or from the ESP-IDF extension menu in the VS Code status bar. It is easy to edit tasks.json in order to re-direct output of a command to a file, but I don't see a way to do the same for commands started from the ESP-IDF status bar.
Is there a tasks.json equivalent configuration file for the ESP-IDF extension?
Command output re-direction
-
- Posts: 229
- Joined: Wed May 02, 2018 12:12 pm
Re: Command output re-direction
The 2 ways you mentioned are the tasks.json tasks and the extension command. The build command from status bar is implemented in the extension source code therefore not easily customized compared to a tasks.json defined tasks.
You could create an issue for such feature request in the extension if you would like to see the build command to redirect the output.
https://github.com/espressif/vscode-esp ... new/choose
You could create an issue for such feature request in the extension if you would like to see the build command to redirect the output.
https://github.com/espressif/vscode-esp ... new/choose
Re: Command output re-direction
Thanks a lot.
Who is online
Users browsing this forum: No registered users and 35 guests