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
  • 8 years ago
  • 2 hours ago
  • 11 years ago

Installs

  • Total 6K
  • Win 3K
  • Mac 2K
  • Linux 1K
Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 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
Windows 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 1 1 0 0 0 0 0 0 0 0 0 1 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 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

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