Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscode shell won't execute idf powershell script to enabled the esp-idf terminal, related to #1162 (VSC-1599) #1440

Closed
1 task done
anishp55 opened this issue Feb 23, 2025 · 2 comments
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue) duplicate This issue or pull request already exists

Comments

@anishp55
Copy link

OS

Windows

Operating System version

windows 11

Visual Studio Code version

1.97.2

ESP-IDF version

5.4

Python version

3.11.2

Doctor command output

it won't run since the shell doesn't have the idf goodies loaded.

Extension

No response

Description

i just installed this extension again today on a fresh vscode install. when the terminal ESP-IDF terminal launches, i am getting an error about the script not being found because my home dir has a space in it

PS C:\Users\Anish Patel\esp32\i2c_slave_network_sensor> c:\Users\Anish Patel\.vscode\extensions\espressif.esp-idf-extension-1.9.1\export.ps1
c:\Users\Anish: The term 'c:\Users\Anish' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

i've worked around it using "idf.customTerminalExecutableArgs": in my users settings.json file, the console still displays the error, but i can launch the idf toolchain

Debug Message

modify the users settings.json to include "idf.customTerminalExecutableArgs": and point it to the powershell script.

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@anishp55 anishp55 added the bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue) label Feb 23, 2025
@github-actions github-actions bot changed the title vscode shell won't execute idf powershell script to enabled the esp-idf terminal, related to #1162 vscode shell won't execute idf powershell script to enabled the esp-idf terminal, related to #1162 (VSC-1599) Feb 23, 2025
@brianignacio5
Copy link
Collaborator

Duplicate of #1424

@brianignacio5 brianignacio5 marked this as a duplicate of #1424 Feb 24, 2025
Copy link

Thanks for using our extension! 🚀

Your feedback matters! Could you take a moment to rate it on the marketplace? A positive rating helps other developers discover our tools and motivates us to keep improving.

⭐ Rate ESP-IDF Extension: https://marketplace.visualstudio.com/items?itemName=espressif.esp-idf-extension&ssr=false#review-details

Your support means a lot to our development team!

@brianignacio5 brianignacio5 added the duplicate This issue or pull request already exists label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue) duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants