Jump to content

Visual Studio Live Share, Microsofts solution to multiple users coding together

Quote

image.png.d8af311182285d89f2d67a6d109de4b4.png

With VS or VS Code, you/we will now have the ability to code together with others like you would with a Google Docs, Word, or any other relevant/current word processor.

Quote

Live Share is Microsoft's solution. It provides a shared editing experience within Visual Studio and Visual Studio Code (currently only for JavaScript, TypeScript, and C#) that's similar to the shared editing found in word processors; each person can see the other's cursor and text selections; each person can make edits—but it goes further, by enabling shared debugging, too. A project can be launched under the debugger, and both people can see the call stack, examine in-scope variables, or even change values in the immediate window. Both sides can single step the debugger to advance through a program.

 

It provides rich collaboration—while still allowing both developers to use the environment that they're comfortable and familiar with. If you prefer to use Visual Studio, with your windows laid out just so, and still use the same key bindings as you learned for Visual C++ 6 back in the '90s, you can do so, and it doesn't matter that your peer is using Visual Studio Code on a Mac, with (ugh) vim key bindings. With Live Share, you just send a sharing request to your colleague and they can connect to your project, editor, and debugger from the comfort of their own environment.

 

The feature will be released as a preview for Visual Studio Code and Visual Studio at some unspecified point in the future, using a combination of updates to the core programs and extensions to round out the functionality. Microsoft stresses that the preview is still at an early stage. Technically, it allows multi-way collaboration (not just pairs), though this may not be enabled initially. At some point it will allow direct connections between systems on the same network, but, initially, it may require sharing activity to bounce through a Microsoft server.

Sadly this is currently limited to JavaScript, TypeScript, and C# in VS Code (Curious to know why this is a limitation though, maybe the debugger support?) and isn't available for testing yet. What are your thoughts on this? Would you use this, or is it irrelevant to your work flow?

 

Update 1:

Its now up on their blog with more details!

Blog: https://code.visualstudio.com/blogs/2017/11/15/live-share

Beta/Preview: https://code.visualstudio.com/visual-studio-live-share

Intro Video: https://channel9.msdn.com/Events/Connect/2017/T254 (Same video on other links)

As usual, you need to sign up for the limited (Number and US only) preview, but I'm still not 100% certain as to whether we will need to sign in in order to share in the public version. All I know is that for now, a link is generated on your machine (Which goes through Microsoft's servers for now, but might be peer to peer later on) and another user can use the link to access your workspace. ETA for the preview seems to be 1Q 2018, I didn't see an ETA for public release.

 

Sources (Ars Technica)

Edited by Guest
Update 1
Link to post
Share on other sites

sounds cool but I don't care about it until it comes for Java as that is what I code in. 

Good luck, Have fun, Build PC, and have a Wii and PS2 as your only consoles.

NightHawk 3.0: R7 5700x @, B550A vision D, H105, 2x32gb Oloy 3600, Asrock RX9070xt Steel Legends, Corsair RM750X, 500gb 850 evo, 2tb rocket and 5tb Toshiba x300, 3x 6TB WD Black W10 all in a Obsidian 750D airflow.
GF PC: (NightHawk 2.0): R7 2700x, B450m vision D, 4x8gb Geli 2933, Sapphire RX 6700XT  Nitro+, CX650M RGB, Obsidian 350D

Skunkworks: R5 3500U, 16gb, 500gb 860 evo, Vega 8. HP probook G455R G6 Ubuntu 20. LTS

Condor (MC server): 6600K, z170m plus, 16gb corsair vengeance LPX, samsung 750 evo, EVGA BR 450.

Spirt  (NAS) ASUS Z9PR-D12, 2x E5 2620V2, 8x4gb, 24 3tb HDD. F80 800gb cache, trueNAS, 2x12disk raid Z3 stripped

HP probook 445R G6 review

 

"Stupidity is like trying to find a limit of a constant. You are never truly smart in something, just less stupid."

Camera Gear: X-S10, 16-80 F4, 35mm F1.4, Helios 44

Link to post
Share on other sites

1 minute ago, ignaloidas said:

why not just use git and divide tasks?

This seems to be more for pair programming than large programs. (So basically training and working together in real time (In the editor itself))

Link to post
Share on other sites

3 minutes ago, tjcater said:

This seems to be more for pair programming than large programs. (So basically training and working together in real time (In the editor itself))

I mean it could still be used on large programs, just not all the time. It could be used when 2-3 people are working/discussing on one particular part.

[Out-of-date] Want to learn how to make your own custom Windows 10 image?

 

Desktop: AMD R9 3900X | ASUS ROG Strix X570-F | Radeon RX 5700 XT | EVGA GTX 1080 SC | 32GB Trident Z Neo 3600MHz | 1TB 970 EVO | 256GB 840 EVO | 960GB Corsair Force LE | EVGA G2 850W | Phanteks P400S

Laptop: Intel M-5Y10c | Intel HD Graphics | 8GB RAM | 250GB Micron SSD | Asus UX305FA

Server 01: Intel Xeon D 1541 | ASRock Rack D1541D4I-2L2T | 32GB Hynix ECC DDR4 | 4x8TB Western Digital HDDs | 32TB Raw 16TB Usable

Server 02: Intel i7 7700K | Gigabye Z170N Gaming5 | 16GB Trident Z 3200MHz

Link to post
Share on other sites

That's neat. Other languages to follow so that's good. 

| CPU: Ryzen 7 7800X3D | MOBO: AM5 B650 Aorus Elite AX | RAM: G.Skill Trident Z5 Neo RGB DDR5 32GB 6000MHz C30 | GPU: Sapphire PULSE Radeon RX 7900 XTX | SSD: Samsung 9100 PRO 1TB with heatsink | Cooler: Arctic Liquid Freezer II 360 | PSU: Seasonic Focus GX-850 | Case: Lian Li Lanccool III | Mousepad: Zowie GTF-X  / Vaxee PC / PA / Artisan Raiden Mid XXL| Mouse: Vaxee XE wired / Hitscan Hyperlight | Keyboard: Wooting 80HE zinc alloy raw - geon raw HE switches | Headset: Beyerdynamic MMX 300 (2nd Gen) | Monitor: LG 32GS95UV-B OLED 4K 240Hz / 1080p 480Hz dual-mode | OS: Windows 11 |

Link to post
Share on other sites

This sounds like a horrible idea for actual work, but neat if you ever need to help someone out. That relies on the system for joining/leaving being good though.

For proper projects you really don't want multiple people making changes to code at the same time.

Link to post
Share on other sites

4 minutes ago, LAwLz said:

This sounds like a horrible idea for actual work, but neat if you ever need to help someone out. That relies on the system for joining/leaving being good though.

For proper projects you really don't want multiple people making changes to code at the same time.

Maybe this is for code review? Or as you said, if you ever need to help someone out.

Link to post
Share on other sites

this could be really nice actiually

I spent $2500 on building my PC and all i do with it is play no games atm & watch anime at 1080p(finally) watch YT and write essays...  nothing, it just sits there collecting dust...

Builds:

The Toaster Project! Northern Bee!

 

The original LAN PC build log! (Old, dead and replaced by The Toaster Project & 5.0)

Spoiler

"Here is some advice that might have gotten lost somewhere along the way in your life. 

 

#1. Treat others as you would like to be treated.

#2. It's best to keep your mouth shut; and appear to be stupid, rather than open it and remove all doubt.

#3. There is nothing "wrong" with being wrong. Learning from a mistake can be more valuable than not making one in the first place.

 

Follow these simple rules in life, and I promise you, things magically get easier. " - MageTank 31-10-2016

 

 

Link to post
Share on other sites

17 hours ago, tjcater said:

Snip

Yay. Love to see geeky/nerdy programming stuff in tech news :P.

 

Also, does this require VS Code to be signed into an MS account and when is this coming to VS & Code?

Judge a product on its own merits AND the company that made it.

How to setup MSI Afterburner OSD | How to make your AMD Radeon GPU more efficient with Radeon Chill | (Probably) Why LMG Merch shipping to the EU is expensive

Oneplus 6 (Early 2023 to present) | HP Envy 15" x360 R7 5700U (Mid 2021 to present) | Steam Deck (Late 2022 to present)

 

Mid 2023 AlTech Desktop Refresh - AMD R7 5800X (Mid 2023), XFX Radeon RX 6700XT MBA (Mid 2021), MSI X370 Gaming Pro Carbon (Early 2018), 32GB DDR4-3200 (16GB x2) (Mid 2022

Noctua NH-D15 (Early 2021), Corsair MP510 1.92TB NVMe SSD (Mid 2020), beQuiet Pure Wings 2 140mm x2 & 120mm x1 (Mid 2023),

Link to post
Share on other sites

 

Update 1:

Its now up on their blog with more details!

Blog: https://code.visualstudio.com/blogs/2017/11/15/live-share

Beta/Preview: https://code.visualstudio.com/visual-studio-live-share

Intro Video: https://channel9.msdn.com/Events/Connect/2017/T254 (Same video on other links)

As usual, you need to sign up for the limited (Number and US only) preview, but I'm still not 100% certain as to whether we will need to sign in in order to share in the public version. All I know is that for now, a link is generated on your machine (Which goes through Microsoft's servers for now, but might be peer to peer later on) and another user can use the link to access your workspace. ETA for the preview seems to be 1Q 2018, I didn't see an ETA for public release.

 

6 hours ago, AluminiumTech said:

Yay. Love to see geeky/nerdy programming stuff in tech news :P.

 

Also, does this require VS Code to be signed into an MS account and when is this coming to VS & Code?

 

Link to post
Share on other sites

19 minutes ago, tjcater said:

As usual, you need to sign up for the limited (Number and US only) preview, but I'm still not 100% certain as to whether we will need to sign in in order to share in the public version. All I know is that for now, a link is generated on your machine (Which goes through Microsoft's servers for now, but might be peer to peer later on) and another user can use the link to access your workspace. ETA for the preview seems to be 1Q 2018, I didn't see an ETA for public release.

Ohh boy, in before your code gets uploaded to Microsoft servers in the final version.

If it's just the linking that goes through Microsoft's servers then fine, it makes it so that you don't need to mess around with port forwarding or other firewall rules. But if the collaborative workspace is hosted on Microsoft's servers, so that all code goes to them... That would be typical Microsoft.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×