-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
In 1.19.4 extension does not work without root privileges #12021
Comments
This is related to |
@bobbrow The PR that added the new call to |
@Hyyy6 For some reason, the os.userInfo() call is unable to determine your username/homedir (https://nodejs.org/api/os.html#osuserinfooptions). We have a fix at #12022 . |
Found this microsoft/vscode#204178 @Hyyy6 I wonder if you installed VS Code using snap, as mentioned in that thread? |
@sean-mcmanus @xisui-MSFT yes, code was installed via snap.
UPD: looks like after building DB at first it works fine on subsequent launches |
Environment
Bug Summary and Steps to Reproduce
Bug Summary: Extension doesn't work without launching
VS Code
with sudo:-- No pallet commands can be used:
command 'C_Cpp.<command_name>' not found
.-- No
Go to ...
commands in context menu either.-- Intellisense doesn't work either.
Older version 1.18.5 doesn't have these problems, so rolling back is the only workaround I found so far.
Steps to reproduce:
Install latest 1.19.4 version of C_Cpp VS code extension.
Expected behavior:
All features should work.
Configuration and Logs
Other Extensions
Problem appears on a clean VS Code install after cleaning all vs code configuration (~/.config/Code). No other extensions are installed.
Additional context
No response
The text was updated successfully, but these errors were encountered: