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

Typescript projects always show "Partial ModeProject Wide IntelliSense not available" and lack intellisense features #9671

Open
2 of 3 tasks
ryanovas opened this issue Mar 18, 2024 · 6 comments
Assignees
Labels
ssh Issue in vscode-remote SSH

Comments

@ryanovas
Copy link

Is there an existing issue for this bug?

  • I have searched the existing issues

Required Troubleshooting Steps

  • I have followed these troubleshooting steps
  • I have tried both values of the remote.SSH.useLocalServer setting

Connect Locally

It connects successfully

->

No response

Expected Behavior

Intellisense should work with full features. Intellisense works fine directly on the machine I am connecting to.

Steps To Reproduce

connect to a project folder running a typescript project and check to see if you have the warning "Partial ModeProject Wide IntelliSense not available" when you hover over the little brackets next to "Typescript" in the bottom right corner.

Remote-SSH Log

Remote-SSH Log

[PASTE LOG HERE]

Anything else?

[18:05:14.891] Log Level: 2
[18:05:14.897] VS Code version: 1.87.2
[18:05:14.897] Remote-SSH version: [email protected]
[18:05:14.897] win32 x64
[18:05:14.898] SSH Resolver called for "ssh-remote+mobile-lab", attempt 1
[18:05:14.898] "remote.SSH.useLocalServer": false
[18:05:14.898] "remote.SSH.useExecServer": false
[18:05:14.899] "remote.SSH.showLoginTerminal": false
[18:05:14.899] "remote.SSH.remotePlatform": {"mobile-lab":"linux"}
[18:05:14.899] "remote.SSH.path": undefined
[18:05:14.899] "remote.SSH.configFile": undefined
[18:05:14.899] "remote.SSH.useFlock": true
[18:05:14.899] "remote.SSH.lockfilesInTmp": false
[18:05:14.899] "remote.SSH.localServerDownload": auto
[18:05:14.899] "remote.SSH.remoteServerListenOnSocket": false
[18:05:14.899] "remote.SSH.showLoginTerminal": false
[18:05:14.899] "remote.SSH.defaultExtensions": []
[18:05:14.899] "remote.SSH.loglevel": 2
[18:05:14.899] "remote.SSH.enableDynamicForwarding": true
[18:05:14.899] "remote.SSH.enableRemoteCommand": false
[18:05:14.899] "remote.SSH.serverPickPortsFromRange": {}
[18:05:14.900] "remote.SSH.serverInstallPath": {}
[18:05:14.913] SSH Resolver called for host: mobile-lab
[18:05:14.913] Setting up SSH remote "mobile-lab"
[18:05:14.916] Using commit id "863d2581ecda6849923a2118d93a088b0745d9d6" and quality "stable" for server
[18:05:14.920] Install and start server if needed
[18:05:14.922] Checking ssh with "C:\Program Files (x86)\Razer Chroma SDK\bin\ssh.exe -V"
[18:05:14.923] Got error from ssh: spawn C:\Program Files (x86)\Razer Chroma SDK\bin\ssh.exe ENOENT
[18:05:14.923] Checking ssh with "C:\Program Files\Razer Chroma SDK\bin\ssh.exe -V"
[18:05:14.924] Got error from ssh: spawn C:\Program Files\Razer Chroma SDK\bin\ssh.exe ENOENT
[18:05:14.924] Checking ssh with "C:\Program Files (x86)\Razer\ChromaBroadcast\bin\ssh.exe -V"
[18:05:14.925] Got error from ssh: spawn C:\Program Files (x86)\Razer\ChromaBroadcast\bin\ssh.exe ENOENT
[18:05:14.925] Checking ssh with "C:\Program Files\Razer\ChromaBroadcast\bin\ssh.exe -V"
[18:05:14.925] Got error from ssh: spawn C:\Program Files\Razer\ChromaBroadcast\bin\ssh.exe ENOENT
[18:05:14.925] Checking ssh with "C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler\ssh.exe -V"
[18:05:14.926] Got error from ssh: spawn C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler\ssh.exe ENOENT
[18:05:14.926] Checking ssh with "C:\Windows\system32\ssh.exe -V"
[18:05:14.927] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT
[18:05:14.927] Checking ssh with "C:\Windows\ssh.exe -V"
[18:05:14.927] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT
[18:05:14.928] Checking ssh with "C:\Windows\System32\Wbem\ssh.exe -V"
[18:05:14.928] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT
[18:05:14.928] Checking ssh with "C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[18:05:14.929] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[18:05:14.929] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[18:05:14.954] > OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3

[18:05:14.957] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 2766 "mobile-lab" bash
[18:05:14.959] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[18:05:15.538] > 3da5cd327d87: running

�]0;C:\WINDOWS\System32\cmd.exe�
[18:05:15.538] Got some output, clearing connection timeout
[18:05:15.597] > Acquiring lock on /home/ryan/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6/vscode-remote-lock.ryan.863d2581ecda6849923a2118d93a088b0745d9d6
Found existing installation at /home/ryan/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6...
Checking /home/ryan/.vscode-server/.863d2581ecda6849923a2118d93a088b0745d9d6.log and /home/ryan/.vscode-server/.863d2581ecda6849923a2118d93a088b0745d9d6.pid for a running server
Looking for server with pid: 2875194
[18:05:15.611] > Found running server...

[18:05:15.627] > Checking server status on port 41415 with wget

3da5cd327d87: start
SSH_AUTH_SOCK====
webUiAccessToken====
listeningOn==41415==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
connectionToken==11a1a1a1-11aa-111a-1aa1-1aa1aa11111a==
3da5cd327d87: end
[18:05:15.627] Received install output:
SSH_AUTH_SOCK====
webUiAccessToken====
listeningOn==41415==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
connectionToken==11a1a1a1-11aa-111a-1aa1-1aa1aa11111a==

[18:05:15.628] Remote server is listening on port 41415
[18:05:15.628] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":41415},"osReleaseId":"ubuntu","arch":"x86_64","webUiAccessToken":"","sshAuthSock":"","tmpDir":"/run/user/1000","platform":"linux","connectionToken":"11a1a1a1-11aa-111a-1aa1-1aa1aa11111a"},"installUnpackCode":""}
[18:05:15.631] Starting forwarding server. local port 2768 -> socksPort 2766 -> remotePort 41415
[18:05:15.631] Forwarding server listening on port 2768
[18:05:15.631] Waiting for ssh tunnel to be ready
[18:05:15.632] [Forwarding server port 2768] Got connection 0
[18:05:15.633] Tunneled port 41415 to local port 2768
[18:05:15.633] Resolved "ssh-remote+mobile-lab" to "port 2768"
[18:05:15.642] ------

[18:05:15.648] [Forwarding server port 2768] Got connection 1
[18:05:15.670] [Forwarding server port 2768] Got connection 2
[18:05:16.019] [Forwarding server port 2768] Got connection 3
[18:05:16.020] [Forwarding server port 2768] Got connection 4
[18:05:16.020] [Forwarding server port 2768] Got connection 5
[18:05:16.021] [Forwarding server port 2768] Got connection 6

@ryanovas ryanovas added the ssh Issue in vscode-remote SSH label Mar 18, 2024
@roblourens roblourens assigned mjbvz and unassigned roblourens Mar 22, 2024
@ryanovas
Copy link
Author

Hello?

@mjbvz
Copy link

mjbvz commented Apr 22, 2024

I can't repo this. Please share more details about your setup, such as the type of project you are opening on the remote machine

@ryanovas
Copy link
Author

I am on a windows 11 machine remoting into ubuntu 23.10 using remote ssh v0.110.1.

The project is a standard sveltekit project, but I also get the same warning on other projects like a nextjs project I also work on. If I open these projects on the ubuntu machine directly there is no issue. I only get the partial support warning when using remote ssh.

@ryanovas
Copy link
Author

I have tested on a mac as well and have the same issue

@temrb
Copy link

temrb commented Jul 20, 2024

same issue here... i have a mac as well as a windows.

I havent used my mac setup for months after switching to windows.

I've been using my windows system and noticed my auto suggestions/ auto imports for files and packages dont work-- and been trying to debug it for the past few days.

I thought it was an issue with my tsconfig etc-- though issue still occurs with a fresh install from i.e. nextjs without anything changed.

Thinking it's an issue with windows, i go check my mac system as i know my suggestions work perfectly on that-- noticed they stopped working there too!

Though, I noticed I get the same warning for both: Project Wide IntelliSense not available.

image

@temrb
Copy link

temrb commented Jul 20, 2024

what fixed the issue for me;

i reverted this setting back to auto that I used from this answer:
microsoft/TypeScript#54087 (comment)

typescript.tsserver.useSyntaxServer back to auto

initially this answer soft fixes the folder/file moving issues that windows has trouble with compared to mac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

4 participants