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

SSH: built-in languages disabled #5856

Closed
daiyam opened this issue Nov 10, 2021 · 10 comments
Closed

SSH: built-in languages disabled #5856

daiyam opened this issue Nov 10, 2021 · 10 comments
Labels
info-needed Issue requires more information from poster ssh Issue in vscode-remote SSH

Comments

@daiyam
Copy link

daiyam commented Nov 10, 2021

Hi,

Some built-in languages are disabled with the message This extension is disabled in this workspace because it is defined to run in the Remote Extension Host. Please install the extension in 'SSH: arch' to enable.

Screen Shot 2021-11-10 at 5 05 07 PM

I've tried with previous versions of VSCode and Remote SSH and deleting .vscode-server. I tried to add the extensions into remote.SSH.defaultExtensions. I can't figure out where the problem is happening.

  • VSCode Version: 1.62.1
  • Local OS Version: MacOS
  • Remote OS Version: Arch Linux
  • Remote Extension/Connection Type: SSH

Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: No

@github-actions github-actions bot added the ssh Issue in vscode-remote SSH label Nov 10, 2021
@tanhakabir
Copy link

Hmm that's strange. @roblourens or @sandy081 do you have an idea why language extensions would be disabled?

@daiyam could you also post here the log you see on the Remote-SSH output channel?

@tanhakabir tanhakabir added the info-needed Issue requires more information from poster label Nov 10, 2021
@daiyam
Copy link
Author

daiyam commented Nov 10, 2021

Here log from the output of Remote - SSH: client.log
The log from the log file in .vscode-server: server.log

Here my config:

"remote.SSH.remotePlatform": {
  "arch": "linux"
},

The error in server.log seems to be related to my shell environment which is fish but it did work before.

This issue has been an on and off with each updates

@tanhakabir
Copy link

Hmm resolving shell environment failed Error: Unable to resolve your shell environment: could be fixed by microsoft/vscode#136791

Would you be able to try connecting with VS Code Insiders?

@daiyam
Copy link
Author

daiyam commented Nov 10, 2021

v1.63.0-insider: isn't working
v1.60.0-insider: is working

both with remote-ssh-v0.66.0

@sandy081
Copy link
Member

I cant repro it and they shall be running on the local side and not on remote side. Can you please try to repro it by running vscode on a fresh user data directory?

@pelayog
Copy link

pelayog commented Nov 13, 2021

I didn't find this issue and I've opened one related at microsoft/vscode:#137117 with some extra info (and some failed attempts to fix it)

I can't reproduce it running a new portable instance of vscode, which is the workaround I'm using to work just now.

@daiyam
Copy link
Author

daiyam commented Nov 13, 2021

@pelayog Thanks for confirming that I'm not the only one having this issue 😉

@daiyam
Copy link
Author

daiyam commented Nov 13, 2021

After a long investigation, I found out that the issue is due to the extension Control Snippets and when any snippets have been disabled (with the UI > Control Snippets).
With VSCode v1.60.2, no issue.
With v1.61.2, v1.62.0 and v1.62.2, the issue is there.

@pelayog Are you using that extension?

@pelayog
Copy link

pelayog commented Nov 15, 2021

@daiyam Mm, nope, not that extension. But I do have PHP Language Features extension disabled -in order to use intelephense properly.

At the end, I guess is, at least, related: disabling built-in features throught that extension or manually.

@tanhakabir
Copy link

There hasn't been any activity on this issue for awhile and it there doesn't seem to be a consistent repro. @pelayog or @daiyam please let me know if you're still seeing this issue in a new issue and for now I'll close this one out

@github-actions github-actions bot locked and limited conversation to collaborators Oct 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

4 participants