microsoft / live-share

Real-time collaborative development from the comfort of your favorite tools
http://aka.ms/vsls
Creative Commons Attribution 4.0 International
2.27k stars 247 forks source link

Auto-import issue on client side during Liveshare #4852

Open glafarge opened 1 year ago

glafarge commented 1 year ago

An issue has been encountered with the auto-import feature during a Liveshare session on the client side. The autocompletion popup appears, but upon selection of one of the suggestions, the import is not being added, and a silent error is being triggered. The feature is working properly on the host side.

The issue has been encountered on JavaScript projects and it appears to also be the case with Java, as reported in issue #3108.

Below is a comparison of the local session versus the remote one :

Local

local

Remote

remote


In both sessions, suggestions are correctly identified. However, an error is being triggered on the remote session when suggestion selected :

console

Could I help to investigate this issue ?

danyg commented 1 year ago

Also happening in a Typescript project on vscode version:


Version: 1.75.1 (Universal)
Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
Date: 2023-02-08T21:34:59.000Z (2 wks ago)
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: 10.2.154.23-electron.0
OS: Darwin arm64 21.3.0
Sandboxed: No```
markgaylard commented 6 months ago

We (a team of 6 devs) also have this issue with typescript projects (not sure about other langs)

emendoza2 commented 5 months ago

Same here.

Pavel-Boyazov commented 2 months ago

Same problem

estarossa0 commented 1 month ago

anyone can link to a solution ?

pointmax commented 1 month ago

I don't have a direct solution, but I found a way to make it less painful. After selecting one of the suggestions you can use the "quick fix..." function ( + . ) to complete the auto-import. image