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
  • 20 minutes ago
  • 10 years ago

Installs

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