Problem with extension and terminal in Visual Studio

FirstFreeLogin
Posts: 3
Joined: Thu Feb 10, 2022 12:02 pm

Problem with extension and terminal in Visual Studio

Postby FirstFreeLogin » Thu Feb 10, 2022 3:57 pm

Hi, I try to start with ESP. I install tool from this tutorial https://www.youtube.com/watch?v=5IuZ-E8Tmhg and have two problems. I'm nevbie so please write like to stupid man.

1. VSC cannot download and install extension. I get info about XHR failed. I read that problem can be with my Proxy settings, I try to check this but without result. Here is log, maybe you have some idea?

Code: Select all

[2022-02-09 19:30:32.540] [renderer1] [info] IExtensionHostStarter.start() took 72 ms.
[2022-02-09 19:30:33.051] [renderer1] [error] [Extension Host] (node:8932) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Code --trace-deprecation ...` to show where the warning was created)
[2022-02-09 19:30:38.308] [renderer1] [error] XHR failed: Error: XHR failed
    at XMLHttpRequest.E.onerror (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:27239)
[2022-02-09 19:38:31.041] [renderer1] [info] Settings Sync: Updated current session e2e1b609-5339-46dd-9780-6c9b031d0be3
[2022-02-09 19:38:44.958] [renderer1] [warning] Settings pattern "keyboard.*" doesn't match any settings
[2022-02-09 19:40:34.892] [renderer1] [error] XHR failed: Error: XHR failed
    at XMLHttpRequest.E.onerror (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:27239)
[2022-02-09 19:40:39.465] [renderer1] [error] Error: XHR failed
    at XMLHttpRequest.E.onerror (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:27239)
[2022-02-09 19:40:39.524] [renderer1] [error] XHR failed: Error: XHR failed
    at XMLHttpRequest.E.onerror (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:27239)
[2022-02-09 19:41:11.586] [renderer1] [error] XHR failed: Error: XHR failed
    at XMLHttpRequest.E.onerror (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:27239)
[2022-02-09 19:43:26.582] [renderer1] [error] XHR failed: Error: XHR failed
    at XMLHttpRequest.E.onerror (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:27239)
[2022-02-09 19:43:29.540] [renderer1] [error] XHR failed: Error: XHR failed
    at XMLHttpRequest.E.onerror (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:27239)
[2022-02-09 19:44:05.304] [renderer1] [warning] Settings pattern "keyboard.*" doesn't match any settings
[2022-02-09 19:44:17.369] [renderer1] [error] XHR failed: Error: XHR failed
    at XMLHttpRequest.E.onerror (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:27239)
[2022-02-09 19:47:10.842] [renderer1] [error] XHR failed: Error: XHR failed
    at XMLHttpRequest.E.onerror (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:27239)
[2022-02-09 19:47:14.233] [renderer1] [error] Error: XHR failed
    at XMLHttpRequest.E.onerror (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:27239)
[2022-02-09 19:47:14.298] [renderer1] [error] XHR failed: Error: XHR failed
    at XMLHttpRequest.E.onerror (vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:83:27239)


2. Man in tutorial change terminal and add some command.

Code: Select all

{
   "folders": [
      {
         "path": "."
      }
   ], 
   "settings":{
      "terminal.integrated.shell.windows" : "cmd.exe",
      "terminal.integrated.shellArgs.windows" : [
         "/k",
         "C:/esp/frameworks/esp-idf-v4.4/export.bat"
      ]
   }
   
}
In VSC gigher like 1.59 they switch off this road. Fix is probably described here https://stackoverflow.com/questions/676 ... -in-vscode but I not understand what where I must past new code ;/

IDF IDE is 4.4, system is windows 7.

Who is online

Users browsing this forum: No registered users and 37 guests