-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Clangd extension stopps working on a remote developement setup #97616
Comments
Well, It's very likely the Clangd extension issue. I open the ticket there as well. |
👍 Let's first let the devs of the clangd extension investigate and they can determine if this is somehow caused by vscode. |
@alexdima You're probably right, but I'm not sure... The issue here (at least, one of them) is clangd is writing a setting to |
@sam-mccall Thank you for the extra information. |
To clarify, I don't think VSCode has enough info to know the setting is machine-specific - a nice fix would be to provide a |
It seems clangd extension people are aware of this issue (see ticket). No need to track it here. |
@yanggehua I'm the clangd extension people, please don't close this bug (reopen if you can). The vscode-clangd behavior you reported in clangd/vscode-clangd#25 is caused by an interaction of 2 bugs. One of them we can fix in our extension (clangd/vscode-clangd#26) but I think the other needs support from vscode I believe (see my comment above: #97616 (comment)) |
Let's keep it open until @sandy081 has a chance to weigh in... |
@sam-mccall to summarise you are writing the machine specific setting using the API and it is being written into user settings instead of remote ? Here is the issue tracking that feature - microsoft/vscode-remote-release#1801 If there is no other requirements we can close this as dup of #1801 |
@sandy081 I think this is probably a dup of 1801, though I'm not 100% sure from the wording there.
Yes, we're using
The other thing is ideally this would be in both directions: if the extension is running locally and we apply the setting, it shouldn't apply to future remote sessions. In our case the default is |
#1801 supports following
if
Let me know if this covers your case? |
I don't know what this means... Would it be a new piece of metadata I can specify in
Ideally not: if it's a machine-specific setting, then it should only affect the local machine, not global to any machine I subsequently connect to. But if VSCode doesn't have a per-machine config for the local machine, then this is the next best thing and I can document the workaround. |
Yes, you can define the
I am sorry that I am bit cryptic before, assuming that you are aware of hierarchies. In VS Code user can define settings at following targets in Local and Remote workspace
I would focus on first two (User & Remote) and let's consider a setting
So coming back to the feature that #1801 supports:
If the extension uses above API from a
So, I expect above support covers your scenario well? |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
VSCode Version: Version: 1.46.0-insider (user setup)
Commit: 288852d
Date: 2020-05-12T05:43:31.363Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
OS Version: Windows 10
Steps to Reproduce:
Meanwhile, clangd extension stopps working. It was fully functional yesterday. Screenshots with REMOTE and WORKSPACE Clangd settings.
Does this issue occur when all extensions are disabled?: Yes/No
The text was updated successfully, but these errors were encountered: