-
Notifications
You must be signed in to change notification settings - Fork 28.8k
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
Not able to install C/C++ extension in visual studio code #24399
Comments
Is there anything in the devtools' console? (Help > Toggle Developer Tools) |
I am not able to click on any of the option in menu bar. |
Are you behind a proxy? |
No. It is a direct connection from the internet provider. |
Interesting. If you uninstall it, is it still in |
No. It is not there. I have 7 extensions installed now (I already un installed c/c++ extension). I am able to see 7 folders in ~/.vscode/extensions/ corresponding to the extensions installed. |
If you wait long enough does it install? Check your network activity. |
No. I left even for a day :( . It didn't install. Is it possible to reset the VS code to default, like factory reset or something, so that it will be clean as first time install?. |
That shouldn't really do anything, but you can run
to try it out. |
If you open the |
No. I left even for a day :( . It didn't install. Is it possible to reset the VS code to default, like factory reset or something, so that it will be clean as first time install?. |
I tried |
Are you sure any other extension installs correctly? |
Yes im sure. with |
Is it something to do with Opensuse tumbleweed? I have a windows machine in which its is working perfect. And I also have opensuse leap 42.2. I think in that also it is working fine, I will confirm it. |
Our cpptools team doesn't know why our extension would have any problem downloading/installing -- we assume it's a VS Code issue. Our vsix is only 1.1 MB. We haven't tried the repro on an OpenSUSE (the distro has <1% of usage in our telemetry). Our .vsix has an .exe binary, so maybe the OS has some file scan that blocks it. Maybe running with admin/sudo/root access would enable installation? Someone could send the user our cpptools.vsix and see if they can install it via the Extensions: Install from Vsix command. |
ok. I will try to log in as root and try the same. |
can I get the cpptools.vsix? where can I get it? |
Great... It worked with the vsix package. I got the .vsix package by following the procedure given by jevyn in this link microsoft/vscode-cpptools#298. After that I installed the .vsix package. With this procedure it worked.!!!! |
Exactly which steps did you follow? I assume you just followed the steps for getting the .vsix and installing it and not the later steps for manually downloading the OS-specific binaries from the fwlinks in the package.json? It sounds like there is still a bug/issue with our extension getting installed via the Extensions UI, but we don't have a repro? |
ya sean. I followed exactly these steps,
Then I used the cpptools.vsix to install the extension. Is there any think I can do so that you guys can narrow down the problem?. |
You could use a network analyser like Wireshark to see what is happening behind the scenes. |
Ok. I will give it a try. |
Let me know how it goes. |
Today I got C/C++ extension update. Still same behavior. I will try to get network activity through wireshark. |
I installed the last version of VS Code. /C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28 [C:\Users\Majid.vscode\extensions\tushortz.java-imports-snippets-0.0.1]: The "try catch"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details. Error: ENOENT: no such file or directory, mkdir 'C:\Users\Majid\AppData\Local\Temp;C:': Error: ENOENT: no such file or directory, mkdir 'C:\Users\Majid\AppData\Local\Temp;C:' Error: ENOENT: no such file or directory, mkdir 'C:\Users\Majid\AppData\Local\Temp;C:' |
@Majid-Khosh Don't hijack issues, create a new one. |
This issue has been closed automatically because it needs more information and has not had recent activity. Please refer to our guidelines for filing issues. Thank you for your contributions. |
Steps to Reproduce:
Hi,
Im using visual studio code for past 4 months. Everythings was working fine. All of a sudden im not able to upgrade C/C++ extension (version 0.10.5). So I un-installed the extension and tried installing back. Now I am unable to install the extension. When I try to install the extension its saying (Image attached), but not finishing the installation. No matter how long I wait, it is always saying installing. Please help me with this.
The text was updated successfully, but these errors were encountered: