mtxr / SublimeText-SQLTools

SQLTools for Sublime Text 3
https://code.mteixeira.dev/SublimeText-SQLTools/
GNU General Public License v3.0
177 stars 40 forks source link

Per Project Settings? #28

Closed gc-alexlong closed 8 years ago

gc-alexlong commented 8 years ago

Hi,

Is it possible to add connections and SQLTools settings to the project file?

mtxr commented 8 years ago

For sure!

Good idea!

Give me some time to work on it

mtxr commented 8 years ago

Just add

    "connections":
    {
        "connection_name":
        {
            "database": "DBNAME",
            "host": "HOST",
            "password": "PASS",
            "port": "PORT",
            "type": "CLI",
            "username": "USERNAME"
        }
    }

to your sublime-project file and it will work

gc-alexlong commented 8 years ago

Updated to the latest release, and the settings in my project are working successfully. Thank you!

From: Matheus notifications@github.com Reply-To: mtxr/SQLTools reply@reply.github.com Date: Sunday, September 4, 2016 at 10:37 AM To: mtxr/SQLTools SQLTools@noreply.github.com Cc: Alex Long along@geniecast.com, Author author@noreply.github.com Subject: Re: [mtxr/SQLTools] Per Project Settings? (#28)

Just add     "connections":     {         "connection_name":         {             "database": "DBNAME",             "host": "HOST",             "password": "PASS",             "port": "PORT",             "type": "CLI",             "username": "USERNAME"         }     } to your sublime-project file and it will work

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.