A Plugin for running Mongo commands in Sublime Text.
- Abdelaziz CHATIR
- [Ctrl+Alt+w] => List all databases.
- [Ctrl+w Ctrl+c] => List all collections.
- [Ctrl+w Ctrl+w] => Execute a selected querie.
- [Ctrl+w Ctrl+h] => List Queries history.
- [Ctrl+w Ctrl+q] => Execute a specific query.
- [Ctrl+w Ctrl+f] => Execute a specific file (js).
- [Ctrl+w Ctrl+v] => Execute a specefic view (from sublime even if not saved).
- Package Control: Install Package
MongoExec
- Restart Sublime Text
- Clone to your packages folder
git clone git@github.com:aChatir/MongoExec.git
- Restart Sublime Text
- Download this ZIP file
- Move to packages folder (In the Sublime Text 3 menu → Preferences → Browse Packages…)
- Restart Sublime Text
'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