Feature/autocomp options (#63)

* Enable IntelliSense settings

* Fix up some bugs in the IntelliSense settings.

* Code cleans for PR

* Fix a couple exceptions that are breaks query execute and intellisense.

* Add useLowerCase flag and settings tests
This commit is contained in:
Karl Burtram
2016-09-25 12:53:28 -07:00
committed by GitHub
parent 27e092d370
commit 806220c4b5
8 changed files with 341 additions and 128 deletions

View File

@@ -160,6 +160,11 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection
// create a sql connection instance
connectionInfo.SqlConnection = connectionInfo.Factory.CreateSqlConnection(connectionString);
// turning on MARS to avoid break in LanguageService with multiple editors
// we'll remove this once ConnectionService is refactored to not own the LanguageService connection
connectionInfo.ConnectionDetails.MultipleActiveResultSets = true;
connectionInfo.SqlConnection.Open();
}
catch (SqlException ex)