live-share icon indicating copy to clipboard operation
live-share copied to clipboard

Loss of Intellisense and syntax highlighting in VS for guest

Open fubaduba opened this issue 5 years ago • 20 comments

Product and Version [VS/VSCode]: OS Version [macOS/Windows]: Live Share Extension Version: Target Platform or Language [e.g. Node.js]:

Steps to Reproduce / Scenario:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots If applicable, add screenshots to help explain your problem.

fubaduba avatar Jan 28 '20 17:01 fubaduba

Also, your logs may provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.

fubaduba avatar Jan 28 '20 17:01 fubaduba

Product and Version: Visual Studio Enterprise 2019, version 16.4.3 OS Version: Windows 10 version 1909 build 18363.592 Live Share Extension Version: 1.0.1510.0 Target Platform or Language: C#, asp.net core 3.1

The guest intellisense, auto-complete, quick actions and syntax highlighting are completely not working.

Riff451 avatar Jan 29 '20 09:01 Riff451

Do you know what IDE/Version the host is on?

daytonellwanger avatar Jan 29 '20 17:01 daytonellwanger

And are you able to repro with a vanilla C# ASP.NET app?

daytonellwanger avatar Jan 29 '20 17:01 daytonellwanger

Hi, the host is: IDE: Visual Studio Enterprise 2019 version 16.4.3 Live share extension: 1.0.1510.0

We've just tried with an empty vanilla ASP.NET core 3.1 and we've got the same result, you can see no highlighting and if I type no auto-completion, suggestions, go-to-definition, etc. And we tried to swap between host and guest as well. Thank you.

image

Riff451 avatar Jan 30 '20 10:01 Riff451

Hi there, I've suffered with this issue myself. I'm watching a Microsoft stream on Twitch hosted by @csharpfritz. We've seen this fail on a couple of guest sessions where the guest is unable to get intellisense.

Here's a screenshot of the stream image

TheDevelolper avatar Jan 30 '20 15:01 TheDevelolper

Ok, I'm able to repro, so should be pretty quick to clear up. We should have this resolved shortly! I'll keep you updated.

daytonellwanger avatar Jan 30 '20 17:01 daytonellwanger

any update?

VALLIS-NERIA avatar Jun 09 '20 03:06 VALLIS-NERIA

@VALLIS-NERIA , I believe this is fixed on newer versions of VS. Are you still seeing it repro? If so, what's your setup?

daytonellwanger avatar Jun 11 '20 16:06 daytonellwanger

I'm seeing this in Visual Studio Community 2019 Version 16.9.4. The shared solution has multiple projects, including a C# library and a Blazor server app. Syntax highlighting doesn't work for the other VS 2019 user. We both use Windows.

ConnorJamesLow avatar May 22 '21 01:05 ConnorJamesLow

Still experiencing this kind of issue. Could it be coming by different themes or editor setup?

salvovisk avatar Jun 10 '21 13:06 salvovisk

Product and Version [VS/VSCode]: VSCode OS Version [macOS/Windows]: Windows 10 Live Share Extension Version: v1.0.4580 Target Platform or Language [e.g. Node.js]: Python

Steps to Reproduce / Scenario: 1 - Open folder with main.py 2 - Start Liveshare 3 - Connect to your own liveshare in a separate VSC window 4 - Loss of intellisense and syntax highlighting

Screenshots image

I am on the latest VSC version as suggested by daytonellwagner By the way I did trust the workspace on the guest

Sim0nV avatar Jul 18 '21 03:07 Sim0nV

Hey @Sim0nV , I just tried with the same setup and see that the colorization on the guest is a little off (as in your screenshot), but completion and other language services seem to be working. Is colorization the only issue you're seeing?

GIF: repro

daytonellwanger avatar Jul 19 '21 22:07 daytonellwanger

Hi @daytonellwanger. Yes, that's right. The colorization is not working for me.

miratorimoonlight avatar Sep 28 '21 09:09 miratorimoonlight

We are experiencing the same thing now in Golang, on VS Code 1.62.0 & LiveShare v1.0.5090.

Intellisense is broken most of the time for the guest user. Syntax highlighting is present though.

Other things we are seeing are "ghost errors" - red squiggly underlining where the host has none.

wfaler avatar Nov 09 '21 10:11 wfaler

Hey @wfaler , would you mind opening a separate issue for that, since I believe it's unrelated to the issues discussed in this thread? (unrelated from a root-cause perspective. The symptoms definitely look the same)

daytonellwanger avatar Nov 12 '21 16:11 daytonellwanger

@daytonellwanger sure, will do.

wfaler avatar Nov 15 '21 19:11 wfaler

Same here, no syntax error Highlighting in C# . No Error count at all. Unknown methods are written in default white color.

Latest version (1.0.5139.0) of LiveShare 2022 in VS 2022 Enterprise. Using direct mode Windows 10

LinoPhil avatar Nov 19 '21 09:11 LinoPhil

Encountering the same issue here for C++.

Latest version (v1.0.5418) of LiveShare in VSCode 1.64.2 for M1 Mac

jacksonconte avatar Mar 01 '22 18:03 jacksonconte

Hitting this today in Version: 1.70.2 (M1 macOS 12.5.1)

mattbaker avatar Sep 13 '22 20:09 mattbaker

We’ve made improvements in this area since this issue was filed. We believe this may have improved your experience and are closing this issue. If this issue still persists for you, please comment on the issue and let us know. Thank you.

derekbekoe avatar Mar 29 '23 00:03 derekbekoe

Hello, I'm experiencing the same issue with:

VSCode v1.78.2 LiveShare v1.0.5864 Apple Silicon M2 Pro macos Ventura 13.3.1 (a)

My coworker has:

VSCode v1.78.2 LiveShare v1.0.5864 Intel Processor macos Ventura 13.4

We're working with Vue 2 and Vetur if that makes any difference.

tillsanders avatar May 19 '23 11:05 tillsanders

@tillsanders I have exactly the same issue with Vue 2 and Vetur. All other files are working.

thegoatherder avatar Jul 12 '23 09:07 thegoatherder

@tillsanders on further investigation, this appears to be a Vetur issue:

image

thegoatherder avatar Jul 12 '23 10:07 thegoatherder

Hello, I'm still experiencing this issue

Host:

VsCode 1.87.2 MacOS (Apple M3 Pro): 14.1 Live Share Extension Version: 1.0.5918 Target Platform or Language [e.g. Node.js]: C++20

Clients:

VsCode 1.87.2 Windows 10 Live Share Extension Version: 1.0.5918 Target Platform or Language [e.g. Node.js]: C++20

VsCode 1.86.1 Arch Linux x64 Live Share Extension Version: 1.0.5918 Target Platform or Language [e.g. Node.js]: C++20

EthanGraber avatar Mar 21 '24 23:03 EthanGraber

@EthanGraber Yes we are seeing the same thing. Did you manage to fix it?

Liveshare works for all files. except .vue files that have no synax highlighting at all.

Downgrading to the vue language tools to the last major version (v2 => v1.8) doesn't fix the issue.

Same issue occurs if loaded in the browser.

andrewbrennanfr avatar Apr 17 '24 15:04 andrewbrennanfr

@andrewbrennanfr No fix yet. I think discussion has moved to #4893.

EthanGraber avatar Apr 17 '24 22:04 EthanGraber

Consistently not working for C# live share

Plasma avatar Apr 18 '24 00:04 Plasma