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
  • 7 years ago
  • 1 hour ago
  • 10 years ago

Installs

  • Total 6K
  • Win 3K
  • Mac 2K
  • Linux 1K
Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8
Windows 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 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 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 0 0 0 0 0 0 0 0 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