Messages panel wordwrap (#10970)

* Add CodeQL Analysis workflow (#10195)

* Add CodeQL Analysis workflow

* Fix path

* fix word wrap support in the message panel

* fix width on message treee

* fix import

* fix settings editor to reflect the changes in the settings ids

* fix tests

* add configuration upgrader

* make sure to maintian execution order

* make the compiler happy

* add tests for upgrader

Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
This commit is contained in:
Anthony Dresser
2020-06-29 16:25:11 -07:00
committed by GitHub
parent 6b8eafbf2e
commit 93a88e38fe
17 changed files with 477 additions and 284 deletions

View File

@@ -198,9 +198,157 @@
"default": 100,
"description": "%mssql.logFilesRemovalLimit%"
},
"ignorePlatformWarning": {
"mssql.intelliSense.enableIntelliSense": {
"type": "boolean",
"description": "%ignorePlatformWarning%",
"default": true,
"description": "%mssql.intelliSense.enableIntelliSense%"
},
"mssql.intelliSense.enableErrorChecking": {
"type": "boolean",
"default": true,
"description": "%mssql.intelliSense.enableErrorChecking%"
},
"mssql.intelliSense.enableSuggestions": {
"type": "boolean",
"default": true,
"description": "%mssql.intelliSense.enableSuggestions%"
},
"mssql.intelliSense.enableQuickInfo": {
"type": "boolean",
"default": true,
"description": "%mssql.intelliSense.enableQuickInfo%"
},
"mssql.intelliSense.lowerCaseSuggestions": {
"type": "boolean",
"default": false,
"description": "%mssql.intelliSense.lowerCaseSuggestions%"
},
"mssql.query.rowCount": {
"type": "number",
"default": 0,
"description": "%mssql.query.setRowCount%"
},
"mssql.query.textSize": {
"type": "number",
"default": 2147483647,
"description": "%mssql.query.textSize%"
},
"mssql.query.executionTimeout": {
"type": "number",
"default": 0,
"description": "%mssql.query.executionTimeout%"
},
"mssql.query.noCount": {
"type": "boolean",
"default": false,
"description": "%mssql.query.noCount%"
},
"mssql.query.noExec": {
"type": "boolean",
"default": false,
"description": "%mssql.query.noExec%"
},
"mssql.query.parseOnly": {
"type": "boolean",
"default": false,
"description": "%mssql.query.parseOnly%"
},
"mssql.query.arithAbort": {
"type": "boolean",
"default": true,
"description": "%mssql.query.arithAbort%"
},
"mssql.query.statisticsTime": {
"type": "boolean",
"default": false,
"description": "%mssql.query.statisticsTime%"
},
"mssql.query.statisticsIO": {
"type": "boolean",
"default": false,
"description": "%mssql.query.statisticsIO%"
},
"mssql.query.xactAbortOn": {
"type": "boolean",
"default": false,
"description": "%mssql.query.xactAbortOn%"
},
"mssql.query.transactionIsolationLevel": {
"enum": [
"READ COMMITTED",
"READ UNCOMMITTED",
"REPEATABLE READ",
"SERIALIZABLE"
],
"default": "READ COMMITTED",
"description": "%mssql.query.transactionIsolationLevel%"
},
"mssql.query.deadlockPriority": {
"enum": [
"Normal",
"Low"
],
"default": "Normal",
"description": "%mssql.query.deadlockPriority%"
},
"mssql.query.lockTimeout": {
"type": "number",
"default": -1,
"description": "%mssql.query.lockTimeout%"
},
"mssql.query.queryGovernorCostLimit": {
"type": "number",
"default": -1,
"description": "%mssql.query.queryGovernorCostLimit%"
},
"mssql.query.ansiDefaults": {
"type": "boolean",
"default": false,
"description": "%mssql.query.ansiDefaults%"
},
"mssql.query.quotedIdentifier": {
"type": "boolean",
"default": true,
"description": "%mssql.query.quotedIdentifier%"
},
"mssql.query.ansiNullDefaultOn": {
"type": "boolean",
"default": true,
"description": "%mssql.query.ansiNullDefaultOn%"
},
"mssql.query.implicitTransactions": {
"type": "boolean",
"default": false,
"description": "%mssql.query.implicitTransactions%"
},
"mssql.query.cursorCloseOnCommit": {
"type": "boolean",
"default": false,
"description": "%mssql.query.cursorCloseOnCommit%"
},
"mssql.query.ansiPadding": {
"type": "boolean",
"default": true,
"description": "%mssql.query.ansiPadding%"
},
"mssql.query.ansiWarnings": {
"type": "boolean",
"default": true,
"description": "%mssql.query.ansiWarnings%"
},
"mssql.query.ansiNulls": {
"type": "boolean",
"default": true,
"description": "%mssql.query.ansiNulls%"
},
"mssql.query.alwaysEncryptedParameterization": {
"type": "boolean",
"default": false,
"description": "%mssql.query.alwaysEncryptedParameterization%"
},
"mssql.ignorePlatformWarning": {
"type": "boolean",
"description": "%mssql.ignorePlatformWarning%",
"default": false
}
}

View File

@@ -51,7 +51,35 @@
"mssql.tracingLevel": "[Optional] Log level for backend services. Azure Data Studio generates a file name every time it starts and if the file already exists the logs entries are appended to that file. For cleanup of old log files see logRetentionMinutes and logFilesRemovalLimit settings. The default tracingLevel does not log much. Changing verbosity could lead to extensive logging and disk space requirements for the logs. Error includes Critical, Warning includes Error, Information includes Warning and Verbose includes Information",
"mssql.logRetentionMinutes": "Number of minutes to retain log files for backend services. Default is 1 week.",
"mssql.logFilesRemovalLimit": "Maximum number of old files to remove upon startup that have expired mssql.logRetentionMinutes. Files that do not get cleaned up due to this limitation get cleaned up next time Azure Data Studio starts up.",
"ignorePlatformWarning": "[Optional] Do not show unsupported platform warnings",
"mssql.intelliSense.enableIntelliSense": "Should IntelliSense be enabled",
"mssql.intelliSense.enableErrorChecking": "Should IntelliSense error checking be enabled",
"mssql.intelliSense.enableSuggestions": "Should IntelliSense suggestions be enabled",
"mssql.intelliSense.enableQuickInfo": "Should IntelliSense quick info be enabled",
"mssql.intelliSense.lowerCaseSuggestions": "Should IntelliSense suggestions be lowercase",
"mssql.query.setRowCount": "Maximum number of rows to return before the server stops processing your query.",
"mssql.query.textSize": "Maximum size of text and ntext data returned from a SELECT statement",
"mssql.query.executionTimeout": "An execution time-out of 0 indicates an unlimited wait (no time-out)",
"mssql.query.noCount": "Enable SET NOCOUNT option",
"mssql.query.noExec": "Enable SET NOEXEC option",
"mssql.query.parseOnly": "Enable SET PARSEONLY option",
"mssql.query.arithAbort": "Enable SET ARITHABORT option",
"mssql.query.statisticsTime": "Enable SET STATISTICS TIME option",
"mssql.query.statisticsIO": "Enable SET STATISTICS IO option",
"mssql.query.xactAbortOn": "Enable SET XACT_ABORT ON option",
"mssql.query.transactionIsolationLevel": "Enable SET TRANSACTION ISOLATION LEVEL option",
"mssql.query.deadlockPriority": "Enable SET DEADLOCK_PRIORITY option",
"mssql.query.lockTimeout": "Enable SET LOCK TIMEOUT option (in milliseconds)",
"mssql.query.queryGovernorCostLimit": "Enable SET QUERY_GOVERNOR_COST_LIMIT",
"mssql.query.ansiDefaults": "Enable SET ANSI_DEFAULTS",
"mssql.query.quotedIdentifier": "Enable SET QUOTED_IDENTIFIER",
"mssql.query.ansiNullDefaultOn": "Enable SET ANSI_NULL_DFLT_ON",
"mssql.query.implicitTransactions": "Enable SET IMPLICIT_TRANSACTIONS",
"mssql.query.cursorCloseOnCommit": "Enable SET CURSOR_CLOSE_ON_COMMIT",
"mssql.query.ansiPadding": "Enable SET ANSI_PADDING",
"mssql.query.ansiWarnings": "Enable SET ANSI_WARNINGS",
"mssql.query.ansiNulls": "Enable SET ANSI_NULLS",
"mssql.query.alwaysEncryptedParameterization": "Enable Parameterization for Always Encrypted",
"mssql.ignorePlatformWarning": "[Optional] Do not show unsupported platform warnings",
"onprem.databaseProperties.recoveryModel": "Recovery Model",
"onprem.databaseProperties.lastBackupDate": "Last Database Backup",