Giter VIP home page Giter VIP logo

sublime-text-file-sync's Introduction

Sublime Text File Synchronization

This is a plugin for Sublime Text that allows you to to synchronize your files using hosting services such as Google Drive, Dropbox, and OneDrive, allowing you to access the same file on different machines. (Currently in development!)

For the server component of this project, please click here

How to use this

Note: Only currently tested for MacOSX

  1. Download Sublime Text 3
  2. Navigate to ~/Library/Application Support/Sublime Text 3/Packages and clone the repository
  3. Go to this website, create an account, and authorize the application with Dropbox and/or Google Drive.
  4. Go back to Sublime Text 3, login by right-clicking and going to Sublime-Sync > Login
  5. To upload/update a remote server's file, click Update Remote. If the file doesn't currently exist in the remote, you will need to click Update Remote first. To download a remotely saved file to your current view, click Update Local. The names of the files you would like to save should be identical, and there should not be files with the same names in your remote server (at this time).
  6. To logout, navigate to Sublime-Sync>Logout
Functions:
  • Upload files to and grab updated files from hosting services.

Want to contribute?

Head over to the CONTRIBUTING guide

sublime-text-file-sync's People

Contributors

mchao409 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

anjalie-kini

sublime-text-file-sync's Issues

Error dialog boxes

In the plugin, it would be helpful to include error dialog boxes when something doesn't go as planned -- i.e. authorization doesn't go through, or a call to update doesn't go through.

Implementing Google Drive synchronization

The Dropbox portion of the project is pretty complete, and the next part is implementing similar features using Google Drive's API in a similar format to DropboxRequest.py.
Because we can only use Python 3's urllib module in Sublime Plugins, it might be helpful to test out requests first using Python's requests module separately, which is much easier to use, and then switching that code back to urllib.

It would also be necessary to update the commands in the Context.sublime-menu to include future google drive functions, this could be done by adding three nested of selectors -- first Sublime-Sync, the second to choose between google drive and dropbox, and the third to contain the necessary commands.

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.