项目作者: THE-WIRE

项目描述 :
Realtime Code Collaboration plugin for VS Code
高级语言: TypeScript
项目地址: git://github.com/THE-WIRE/RT-Code-Collab.git
创建时间: 2017-03-25T04:10:00Z
项目社区:https://github.com/THE-WIRE/RT-Code-Collab

开源协议:

下载


Realtime Code Collaboration Plugin v1.0.0 (alpha)

This is plugin for Microsoft Visual Studio Code which enables real-time collaboration of files.

Github link for UI : https://github.com/THE-WIRE/web-rt (The development of this is still on!)

Index

Features


  • Real time code collaboration with team members

  • Can create teams using a seperate web interface

Requirements

VS Code

Initial Setup

Install NodeJS: https://nodejs.org/en/


Install the following using npm



  • Typescript - npm install -g typescript

  • Firebase - npm install firebase



## How to Install

First Download the project or clone



bash git clone <github-repo-url>

Now open the project in VS Code Editor


Navigate to extension.ts file

Now to run the extension -

  1. Press CTRL + F5 to Run the extension.ts

A new window will open with the extension loaded


Open any project file to collaborate

  1. To start the collaboration use CTRL + SHIFT + P
  2. Write `start wire` in that extension loading box.
  3. then,
  4. A new dialog box will open at the top to get the username and then the password
  1. For testing purpose we have created two usernames and passwords
  2. 1. Username - test1@test.com Password - rootuser
  3. 2. Username - test2@test.com Password - rootuser
  4. Feel free to use them and give it a try

Wait for the login till you get a dialog box saying ‘You have logged in as xxx@xxx.com’

Once you get this, you are done! You are collaborating




Note - If you want to collaborate, both the systems must have logged in and also the file name and its extension must be the same

Demo

test1-gif

Applications


  • Aplications to this system can be numerous. Few of the applications are listed below:

  • Real time code collaboration for programmers with their favourite code editor for their comfort

  • A real time code collaboration team viewer system

  • For online tutors to share and help other students to debug their code

  • This can also be used for the purpose of interviews during the technical round to test the students with their coding skills

  • And many more …

Further

  • Currently the extension uses firebase. We plan to convert it to websockets.
  • To make it more fast and reliable, the local server code hosting feature is to be added. It will also increase code security.
  • More ideas are invited…

We will be publishing our package on VS Code Extensions Market soon

Enjoy!