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

Mongo​Exec

by aChatir ST3

A sublime text 3 plugin to execute mongodb commands

Details

  • 2017.09.11.17.44.32
  • github.​com
  • github.​com
  • 2 years ago
  • 43 minutes ago
  • 5 years ago

Installs

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

Readme

Source
raw.​githubusercontent.​com

MongoExec

A Plugin for running Mongo commands in Sublime Text.

Authors


  • Abdelaziz CHATIR

Usage:


Commands Available:


  1. [Ctrl+Alt+w] => List all databases.
  2. [Ctrl+w Ctrl+c] => List all collections.
  3. [Ctrl+w Ctrl+w] => Execute a selected querie.
  4. [Ctrl+w Ctrl+h] => List Queries history.
  5. [Ctrl+w Ctrl+q] => Execute a specific query.
  6. [Ctrl+w Ctrl+f] => Execute a specific file (js).
  7. [Ctrl+w Ctrl+v] => Execute a specefic view (from sublime even if not saved).

How to Install

Package Control (Recommended)

  1. Package Control: Install Package MongoExec
  2. Restart Sublime Text

Git

  1. Clone to your packages folder git clone git@github.com:aChatir/MongoExec.git
  2. Restart Sublime Text

Download

  1. Download this ZIP file
  2. Move to packages folder (In the **Sublime Text 3* menu → PreferencesBrowse Packages…)*
  3. Restart Sublime Text

Configuration


Settings

'Preferences' -> 'Package Settings' -> 'MongoExec'

{
    "mongo_exec.commands": {
        "mongo" : "/usr/bin/mongo"
    },
    "connections": {
        "Localhost": {
            "type"    : "mongo",
            "host"    : "localhost",
            "port"    : "27017",
            "username": "",
            "password": "",
            "databases": ""
        }
    }
}

Inspired and Based on SQLExec