Code Monkey home page Code Monkey logo

Comments (6)

lostintangent avatar lostintangent commented on May 20, 2024 6

This has now been addressed in the latest Live Share release! πŸ”₯In VS Code, this works out of the box (guests will see a read-only view of the Source Control tab), and in VS, you'll need to use VS2019 Preview + the Pull Requests extension. Let us know if you have any questions/issues. Thanks again for the feedback!

from live-share.

lostintangent avatar lostintangent commented on May 20, 2024 3

@rojopolis We just realized that we forgot to move this feature out of the experimental stage. We're going to update this now and release a fix. In the meantime, if you set the liveshare.features setting to experimental, then you'll see the list of changed files + diffs show up on the guest side via the Source Control tab. Apologies for the confusion on our end!

from live-share.

lostintangent avatar lostintangent commented on May 20, 2024 1

@rojopolis We just shipped the update to the marketplace that enables shared source control state with guests. Apologies for that mistake, and let us know if you run into any other issues. Thanks!

from live-share.

rojopolis avatar rojopolis commented on May 20, 2024

I see that this feature was released in https://github.com/MicrosoftDocs/live-share/releases/tag/v0.3.1011 however the feature either isn't available, or it's unclear how to enable it. I don't see any configuration option to enable this. Do I need to (further) RTFM, or is this not working?
I'm writing an article on remote collaboration with VSCode today and I'd love to be able to include this feature!

from live-share.

lukepighetti avatar lukepighetti commented on May 20, 2024

Hi there! I was using VSCode last night as a guest and was unable to see file diff in my editor. Is this available on the left side of the text window in all files like I'm accustomed to? Or is this only available in the Source Control tree. Does the host have to be up to date?

from live-share.

kmasuyama avatar kmasuyama commented on May 20, 2024

I noticed that the guest source control does not update while the host is inactive. I was testing the diffing behavior using a remote host via remote desktop. Specifically, the guest source control did not reflect updates while:

  • the vscode window on the host was minimized in an active remote desktop session
  • the host vscode window remained open but another window was active
  • the remote desktop window to the host computer was minimized/closed

It did work when

  • the host vscode window remained selected in an open (but not selected) remote desktop window

steps:

  • open remote desktop and start live share session
  • connect from local pc
  • create one of the above scenarios
  • change file from local pc and save -> source control panel does not change
  • select vscode window on remote -> source control panel on local pc changes

I'm trying to use this as a stopgap method for remote collaborative editing until #2128 is implemented, and it'd be great to see diffs without having a remote desktop session open all the time.

Thanks!

from live-share.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.