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

extension does not install/configure correctly (VSC-1574) #1410

Open
1 task done
melbnz opened this issue Jan 23, 2025 · 4 comments
Open
1 task done

extension does not install/configure correctly (VSC-1574) #1410

melbnz opened this issue Jan 23, 2025 · 4 comments
Assignees
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)

Comments

@melbnz
Copy link

melbnz commented Jan 23, 2025

OS

Windows

Operating System version

windows 11 (arm processor) 23H2 build 22631.4751

Visual Studio Code version

1.96.4

ESP-IDF version

1.9.0

Python version

2024.22.2 (microsoft VSC)

Doctor command output

There is no data provider registered that can provide view data.

Extension

no log
not installed

Description

commands in extension are blank and inoperable

Image

Debug Message

commands are blank and inoperable

Other Steps to Reproduce

uninstalled re-installed
Other extensions install and run fine
I followed all instruction in prerequisites and install

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

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@melbnz melbnz 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 Jan 23, 2025
@github-actions github-actions bot changed the title extension does not install/configure correctly extension does not install/configure correctly (VSC-1574) Jan 23, 2025
@radurentea
Copy link
Collaborator

Hi @melbnz,

This looks like you've had some previous settings stored that are interfering with the extension's settings, in order to fix this, you will have to do a proper clean install. Here are the steps you need to do:

  1. Open Command Palette (F1) and run command Preferences: Open User Settings (JSON) (global settings)

  2. Delete all properties that start with "idf."

  3. Uninstall the extension from withing VS Code

  4. Delete the following folder:

    • Go to your ${VSCODE_EXTENSION_DIR} and delete the ESP-IDF plugin folder.

    • ${VSCODE_EXTENSION_DIR} is the location of the extension:

      • Windows: %USERPROFILE%\.vscode\extensions\espressif.esp-idf-extension-VERSION\
      • MacOS/Linux: $HOME/.vscode/extensions/espressif.esp-idf-extension-VERSION/

NOTE: Make sure to replace VERSION with the actual version number of the ESP-IDF extension installed.

  1. Re-install extension and everything should work normally.

There is a PR created that will make the process of uninstalling the extension easier in the future.

Let me know if you encounter other issues!

@radurentea radurentea self-assigned this Jan 27, 2025
@melbnz
Copy link
Author

melbnz commented Jan 28, 2025

Thanks for taking the time to engage, when i run command palette i do not see an explicit global setting. if i open local user settings there's just a legacy ssh link

Image

i did follow rest of yoru process (as i've tried before) with no change and no Commands showing post re-installation.

I am running on ARM processor, but this hasn't been an issue so far.

Image

@radurentea
Copy link
Collaborator

radurentea commented Jan 29, 2025

Hi @melbnz,

This behavior is very strange...

Is it possible that you have a .vscode/settings.json file in your workspace? That could interfere with the settings of the extension. You can run the command: Preferences: Open Workspace Settings(JSON)
There can also be a .vscode/settings.json at your project level if you have one opened.

Could you check both locations and share what settings you find? This would help us understand if there are any settings overriding the extension's default behavior.

If old settings don't cause the issue, it would also help if you can share the extension activation logs:

First, let's do a clean reinstall:

  1. Uninstall the ESP-IDF extension from VS Code
  2. Close VS Code completely
  3. Start VS Code again
  4. Install the ESP-IDF extension

After reinstalling, let's check the logs:

  1. Press Ctrl + Shift + P
  2. Type "Developer: Show Logs..."
  3. Select "Extension Host"
  4. Copy and share the logs here (especially any errors or messages related to ESP-IDF extension)

@melbnz
Copy link
Author

melbnz commented Jan 29, 2025

we'll start with logs as there are errors on install...
2025-01-30 10:23:14.530 [error] Activating extension espressif.esp-idf-extension failed due to an error:
2025-01-30 10:23:14.530 [error] Error: No native build was found for platform=win32 arch=arm64 runtime=electron abi=128 uv=1 armv=8 libc=glibc node=20.18.1 electron=32.2.6 webpack=true
loaded from: c:\Users\melbu.vscode\extensions\espressif.esp-idf-extension-1.9.0

at g.resolve.g.path (c:\Users\melbu\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:867672)
at g (c:\Users\melbu\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:865767)
at 6237 (c:\Users\melbu\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:14548)
at __webpack_require__ (c:\Users\melbu\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:1369211)
at 6269 (c:\Users\melbu\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:5793)
at __webpack_require__ (c:\Users\melbu\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:1369211)
at 176 (c:\Users\melbu\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:9378)
at __webpack_require__ (c:\Users\melbu\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:1369211)
at 9076 (c:\Users\melbu\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:835587)
at __webpack_require__ (c:\Users\melbu\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:1369211)
at 4987 (c:\Users\melbu\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:835159)
at __webpack_require__ (c:\Users\melbu\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:1369211)
at c:\Users\melbu\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:1567348
at c:\Users\melbu\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:1921790
at Object.<anonymous> (c:\Users\melbu\.vscode\extensions\espressif.esp-idf-extension-1.9.0\dist\extension.js:2:1921829)
at Module._compile (node:internal/modules/cjs/loader:1484:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
at Module.load (node:internal/modules/cjs/loader:1295:32)
at Module._load (node:internal/modules/cjs/loader:1111:12)
at c._load (node:electron/js2c/node_init:2:16955)
at e._load (file:///c:/Users/melbu/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:175:10896)
at t._load (file:///c:/Users/melbu/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:167:22534)
at i._load (file:///c:/Users/melbu/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:159:21138)
at Module.require (node:internal/modules/cjs/loader:1318:19)
at require (node:internal/modules/helpers:179:18)
at zz.xb (file:///c:/Users/melbu/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:167:23854)
at async Promise.all (index 0)

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)
Projects
None yet
Development

No branches or pull requests

2 participants