Giter Site home page Giter Site logo

floobits-sublime's Introduction

Floobits plugin for Sublime Text 2 & 3

Real-time collaborative editing. Think Etherpad, but with native editors. This is the plugin for Sublime Text. We also have plugins for Emacs, Vim, and IntelliJ.

Development status: Reasonably stable. We dogfood it daily and rarely run into issues.

Installation instructions

  • If you have Package Control, go to Package Control → Install Package and search for Floobits. Select the Floobits package and install it.

  • If you don't have Package Control (or you prefer to install the plugin manually), clone this repository or download and extract this tarball.

  • Rename the directory to "Floobits".

  • In Sublime Text, go to Preferences -> Browse Packages.

  • Drag, copy, or move the Floobits directory into your Packages directory.

If you'd rather create a symlink instead of copy/moving, run something like:

ln -s ~/code/floobits-sublime ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Floobits

Once the plugin is installed, you'll be asked whether you want to create an account or sign in. If you choose to sign in, a browser window will open allowing you to enter your Floobits credentials.

For more help, see our Sublime Text help page.

Configuration

All configuration settings are stored in ~/.floorc.json. If you don’t have a ~/.floorc.json file, the plugin will create one. It will also open a web page showing the minimal information you’ll need to put in your ~/.floorc.json. After saving the file, restart Sublime Text.

Using Floobits to Collaborate

After creating your account, you’ll want to create a workspace or two. A workspace is a collection of files and buffers that users can collaborate on.

See https://floobits.com/help/plugins/sublime/#usage for instructions on how to create workspaces and collaborate with others.

Errata

Windows

Sublime Text 2 on Windows requires Package Control 3.0 to be installed to function properly. This is due to a bug in the select module that ST2 ships by default.

Linux

On Linux, Sublime Text 2 and 3 ship without the _ssl module. Installing Package Control 3.0 will install the missing elements. Otherwise, we try to work around it by running an SSL proxy using the system Python.

OS X

Our plugin doesn't work on 10.6 and earlier. This appears to be a bug in OS X. Please upgrade to a newer version.

Help

If you have trouble setting up or using this plugin, please contact us.

floobits-sublime's People

Contributors

alandotcom avatar btipling avatar dreid avatar fichtefoll avatar garyposter avatar ggreer avatar kans avatar nilbus avatar wbond avatar zedtux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

floobits-sublime's Issues

Plugin breaks on Windows

    Reloading plugin C:\Users\<USERNAME>\AppData\Roaming\Sublime Text 2\Packages\Floobits\floobits.py
    Traceback (most recent call last):
      File ".\sublime_plugin.py", line 62, in reload_plugin
      File ".\floobits.py", line 15, in <module>
        from floo import api
      File ".\floo\__init__.py", line 2, in <module>
        from agent_connection import AgentConnection
      File ".\floo\agent_connection.py", line 6, in <module>
        import select
    ImportError: No module named select

No module named _ssl and greyed out menu

Hi, I would really like to use this extension but haven't be able to make it work so far.
I run Linux Mint 13 XFCE.

When ST2 loads, I can see this error in the console :
Reloading plugin /home/steven/.config/sublime-text-2/Packages/Floobits/floobits.py
Traceback (most recent call last):
File "./sublime_plugin.py", line 62, in reload_plugin
File "./floobits.py", line 14, in
from floo import AgentConnection
File "./floo/init.py", line 2, in
from agent_connection import AgentConnection
File "./floo/agent_connection.py", line 8, in
import ssl
File ".\ssl.py", line 60, in
ImportError: No module named _ssl

When i right click in ST2, the Floobits submenus are greyed out.

I know ST2 doesn't support SSL on Linux, but I would really like to know if there is still a way to make the floobit plugin work.

Thanks.

Install not working

Package Control: No updated packages
ignored packages updated to: [Vintage, Floobits]
found 1 files for base name Default.sublime-theme
Exception in thread Thread-5:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "./Package Control.py", line 4032, in run
File "./Package Control.py", line 3181, in install_package
File "./Package Control.py", line 2695, in download_url
File "./Package Control.py", line 1683, in download
File "./Package Control.py", line 1414, in check_certs
File "./Package Control.py", line 1451, in locate_cert
File "./Package Control.py", line 1478, in download_cert
NameError: global name 'domain' is not defined

Some file/directory names are not allowed

A friend and I are wanting to collaborate on a node project using Floobits. When adding the project to our room, we get the following error message in the msg.floobits.log over 100 times:

Floobits: Error! Message: create buf failed: "node_modules" is not an allowed file or directory name

We don't understand why there is a naming restriction. Could this be removed?

Chat

Current plan: create a view with an input box.

Show connection status

Right now we don't give any feedback unless you check the console. It'd be nice to let the user know what's going on.

We could call window.set_status() a few times, then clear the status when we're successfully connected.

Terminal sharing

This doesn't just belong in the ST2 plugin. We need to figure out a way to share terminals. It's not fun to keep copy-pasting output so others can see it.

Don't stomp over sidebar when joining a room.

Specific to the ST3 branch.

Instead of stomping over the current window, the plugin should open a new window. (Unless of course, the current window only contains files from a room.)

Create room

It'd be nice to create a room from the currently-open project/window/whatever.

I'm working on the API to support this. Creating a room should go something like:

curl -X POST -d secret=1234 -d username=ggreer -d name=blah -d perms=2 https://floobits.com/api/room/

Then it's a matter of joining the room and sending create_buf events for all files in the current window.

SSL is broken on Windows

Although it finds the startssl cert, it doesn't seem to verify it. Instead of a lame workaround, I'd rather actually get cert verification to work.

Better UI

We should probably allow joining a new room but prompt if the user is already in one.

user confusion

Requests from dreid:

Also, Join Room doesn't show up when I'm already in a room but Join Recent Room does. It took me a while to figure out that I couldn't be in more than one room.

I wish Ping were in the command pallet.

...the inconsistency of Join Recent Room showing up but not Join Room was more confusing.

Work better with git/hg/svn repos

After joining a room and changing files, you have to copy the changes back to your git checkout before you can commit. That's no fun. We should allow .git/.svn/etc in the room directory, but not sync them (since people could be on different branches or have personal information in those files/directories).

Allow sharing of files from any path

Right now, shared files must be in ~/.floobits/shared/whatever. That's a big stumbling block for people trying to add files to an empty room.

Install fails on 2220

Somehow the installation seems successful but the Preferecens > Package Settings > Floobits menu never appears, including after a full restart of the app.

Worse, after a restart the app is available again in the Package Control > Install Packages list as if it was never installed in the first place.

Can anybody else reproduce this?

ST2 doesn't have ssl on linux

Linux users of sublime text 2 can't create rooms, since we require the POSTs to be over HTTPS. I just pushed code to stop the plugin from crashing, but it's still annoying.

Location of Sublime is hardcoded to /Applications when joining workspace

When trying to join a workspace, the following error occurs because my Sublime Text 2 app does not live in /Applications.

Project path is /Users/xxx/workspace/testproject
('command:', ['/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl', '--add', u'/Users/xxx/workspace/testproject'])
Traceback (most recent call last):
File "./sublime_plugin.py", line 337, in run_
File "./floobits.py", line 513, in run
File "./floobits.py", line 445, in open_workspace_window
File "./floobits.py", line 410, in open_workspace_window2
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 623, in init
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

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.