ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Glot

by hyrious ST3

glot.io plugin for sublime text

Labels code sharing

Details

Installs

  • Total 3
  • Win 3
  • OS X 0
  • Linux 0
May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Glot (sublime plugin)

Put/run your code on https://glot.io.

Requires an api token to work. Get your own token at https://glot.io/account/token and put it in settings.

preview

Install

From Package Control

Press Ctrl+Shift+P, Select Package Control: Install Package, Search for Glot, Return.

From this repo

Press Ctrl+Shift+P, Select Package Control: Add Repository, Input https://github.com/hyrious/Glot, Return.

Or, in your plugins folder, run git clone https://github.com/hyrious/Glot. This way you will not get auto-upgrade provided by Package Control.

Key Bindings

I haven't got any ideas of using what key bindings, you can add your own by Preference - Key Bindings then add things like:

{ "keys": ["ctrl+k", "ctrl+g"], "command": "glot_run" },

Valid commands are: glot_new_snippet, glot_open_snippet, glot_update_snippet, glot_delete_snippet, glot_run, glot_advanced_run.

Usage

All messages are displayed at your status bar.

Create Snippet

Ctrl+Shift+P, then select Glot: New Snippet. If everything ok, it will ask you for a snippet title.

Open Snippet

Ctrl+Shift+P, then select Glot: Open Snippet.

Update Snippet

After open a snippet from previous command, just Ctrl+S or Ctrl+Shift+P then select Glot: Update Snippet.

Delete Snippet

Ctrl+Shift+P, then select Glot: Delete Snippet.

Run Code

Ctrl+Shift+P, then select Glot: Run or Glot: Advanced Run. Temporary files should work, but may encounter language specific errors. e.g. Java requires file name must be the same as class name.

License

MIT.