mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 01:25:36 -05:00
669 lines
21 KiB
JSON
669 lines
21 KiB
JSON
{
|
|
"name": "mssql",
|
|
"version": "0.1.0",
|
|
"publisher": "Microsoft",
|
|
"aiKey": "AIF-5574968e-856d-40d2-af67-c89a14e76412",
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"engines": {
|
|
"vscode": "*"
|
|
},
|
|
"main": "./out/main",
|
|
"extensionDependencies": [
|
|
"vscode.sql"
|
|
],
|
|
"scripts": {
|
|
"compile": "gulp compile-extension:mssql-client",
|
|
"update-grammar": "node ../../build/npm/update-grammar.js Microsoft/vscode-mssql syntaxes/SQL.plist ./syntaxes/sql.tmLanguage.json"
|
|
},
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "sql",
|
|
"extensions": [
|
|
".sql"
|
|
],
|
|
"aliases": [
|
|
"SQL"
|
|
]
|
|
}
|
|
],
|
|
"outputChannels": [
|
|
"MSSQL"
|
|
],
|
|
"snippets": [
|
|
{
|
|
"language": "sql",
|
|
"path": "./snippets/mssql.json"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "MSSQL configuration",
|
|
"properties": {
|
|
"mssql.query.displayBitAsNumber": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Should BIT columns be displayed as numbers (1 or 0)? If false, BIT columns will be displayed as 'true' or 'false'"
|
|
},
|
|
"mssql.format.alignColumnDefinitionsInColumns": {
|
|
"type": "boolean",
|
|
"description": "Should column definitions be aligned?",
|
|
"default": false
|
|
},
|
|
"mssql.format.datatypeCasing": {
|
|
"type": "string",
|
|
"description": "Should data types be formatted as UPPERCASE, lowercase, or none (not formatted)",
|
|
"default": "none",
|
|
"enum": [
|
|
"none",
|
|
"uppercase",
|
|
"lowercase"
|
|
]
|
|
},
|
|
"mssql.format.keywordCasing": {
|
|
"type": "string",
|
|
"description": "Should keywords be formatted as UPPERCASE, lowercase, or none (not formatted)",
|
|
"default": "none",
|
|
"enum": [
|
|
"none",
|
|
"uppercase",
|
|
"lowercase"
|
|
]
|
|
},
|
|
"mssql.format.placeCommasBeforeNextStatement": {
|
|
"type": "boolean",
|
|
"description": "should commas be placed at the beginning of each statement in a list e.g. ', mycolumn2' instead of at the end e.g. 'mycolumn1,'",
|
|
"default": false
|
|
},
|
|
"mssql.format.placeSelectStatementReferencesOnNewLine": {
|
|
"type": "boolean",
|
|
"description": "Should references to objects in a select statements be split into separate lines? E.g. for 'SELECT C1, C2 FROM T1' both C1 and C2 will be on separate lines",
|
|
"default": false
|
|
},
|
|
"mssql.logDebugInfo": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "[Optional] Log debug output to the VS Code console (Help -> Toggle Developer Tools)"
|
|
},
|
|
"ignorePlatformWarning": {
|
|
"type": "boolean",
|
|
"description": "[Optional] Do not show unsupported platform warnings",
|
|
"default": false
|
|
}
|
|
}
|
|
},
|
|
"dashboard": {
|
|
"provider": "MSSQL",
|
|
"flavors": [
|
|
{
|
|
"flavor": "on_prem",
|
|
"condition": {
|
|
"field": "isCloud",
|
|
"operator": "!=",
|
|
"value": true
|
|
},
|
|
"databaseProperties": [
|
|
{
|
|
"displayName": "Recovery Model",
|
|
"value": "recoveryModel"
|
|
},
|
|
{
|
|
"displayName": "Last Database Backup",
|
|
"value": "lastBackupDate",
|
|
"ignore": [
|
|
"1/1/0001 12:00:00 AM"
|
|
]
|
|
},
|
|
{
|
|
"displayName": "Last Log Backup",
|
|
"value": "lastLogBackupDate",
|
|
"ignore": [
|
|
"1/1/0001 12:00:00 AM"
|
|
]
|
|
},
|
|
{
|
|
"displayName": "Compatibility Level",
|
|
"value": "compatibilityLevel"
|
|
},
|
|
{
|
|
"displayName": "Owner",
|
|
"value": "owner"
|
|
}
|
|
],
|
|
"serverProperties": [
|
|
{
|
|
"displayName": "Version",
|
|
"value": "serverVersion"
|
|
},
|
|
{
|
|
"displayName": "Edition",
|
|
"value": "serverEdition"
|
|
},
|
|
{
|
|
"displayName": "Computer Name",
|
|
"value": "machineName"
|
|
},
|
|
{
|
|
"displayName": "OS Version",
|
|
"value": "osVersion"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"flavor": "cloud",
|
|
"condition": {
|
|
"field": "isCloud",
|
|
"operator": "==",
|
|
"value": true
|
|
},
|
|
"databaseProperties": [
|
|
{
|
|
"displayName": "Edition",
|
|
"value": "azureEdition"
|
|
},
|
|
{
|
|
"displayName": "Pricing Tier",
|
|
"value": "serviceLevelObjective"
|
|
},
|
|
{
|
|
"displayName": "Compatibility Level",
|
|
"value": "compatibilityLevel"
|
|
},
|
|
{
|
|
"displayName": "Owner",
|
|
"value": "owner"
|
|
}
|
|
],
|
|
"serverProperties": [
|
|
{
|
|
"displayName": "Version",
|
|
"value": "serverVersion"
|
|
},
|
|
{
|
|
"displayName": "Type",
|
|
"value": "serverEdition"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"connectionProvider": {
|
|
"providerId": "MSSQL",
|
|
"displayName": "Microsoft SQL Server",
|
|
"connectionOptions": [
|
|
{
|
|
"specialValueType": "serverName",
|
|
"isIdentity": true,
|
|
"name": "server",
|
|
"displayName": "Server",
|
|
"description": "Name of the SQL Server instance",
|
|
"groupName": "Source",
|
|
"valueType": "string",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": true,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": "databaseName",
|
|
"isIdentity": true,
|
|
"name": "database",
|
|
"displayName": "Database",
|
|
"description": "The name of the initial catalog or database int the data source",
|
|
"groupName": "Source",
|
|
"valueType": "string",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": "authType",
|
|
"isIdentity": true,
|
|
"name": "authenticationType",
|
|
"displayName": "Authentication type",
|
|
"description": "Specifies the method of authenticating with SQL Server",
|
|
"groupName": "Security",
|
|
"valueType": "category",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": [
|
|
{
|
|
"displayName": "SQL Login",
|
|
"name": "SqlLogin"
|
|
},
|
|
{
|
|
"displayName": "Windows Authentication",
|
|
"name": "Integrated"
|
|
}
|
|
],
|
|
"isRequired": true,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": "userName",
|
|
"isIdentity": true,
|
|
"name": "user",
|
|
"displayName": "User name",
|
|
"description": "Indicates the user ID to be used when connecting to the data source",
|
|
"groupName": "Security",
|
|
"valueType": "string",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": true,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": "password",
|
|
"isIdentity": true,
|
|
"name": "password",
|
|
"displayName": "Password",
|
|
"description": "Indicates the password to be used when connecting to the data source",
|
|
"groupName": "Security",
|
|
"valueType": "password",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": true,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "applicationIntent",
|
|
"displayName": "Application intent",
|
|
"description": "Declares the application workload type when connecting to a server",
|
|
"groupName": "Initialization",
|
|
"valueType": "category",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": [
|
|
{
|
|
"displayName": "ReadWrite",
|
|
"name": "ReadWrite"
|
|
},
|
|
{
|
|
"displayName": "ReadOnly",
|
|
"name": "ReadOnly"
|
|
}
|
|
],
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "asynchronousProcessing",
|
|
"displayName": "Asynchronous processing enabled",
|
|
"description": "When true, enables usage of the Asynchronous functionality in the .Net Framework Data Provider",
|
|
"groupName": "Initialization",
|
|
"valueType": "boolean",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "connectTimeout",
|
|
"displayName": "Connect timeout",
|
|
"description": "The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error",
|
|
"groupName": "Initialization",
|
|
"valueType": "number",
|
|
"defaultValue": "15",
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "currentLanguage",
|
|
"displayName": "Current language",
|
|
"description": "The SQL Server language record name",
|
|
"groupName": "Initialization",
|
|
"valueType": "string",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "columnEncryptionSetting",
|
|
"displayName": "Column encryption setting",
|
|
"description": "Default column encryption setting for all the commands on the connection",
|
|
"groupName": "Security",
|
|
"valueType": "category",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": [
|
|
{
|
|
"displayName": null,
|
|
"name": "Disabled"
|
|
},
|
|
{
|
|
"displayName": null,
|
|
"name": "Enabled"
|
|
}
|
|
],
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "encrypt",
|
|
"displayName": "Encrypt",
|
|
"description": "When true, SQL Server uses SSL encryption for all data sent between the client and server if the servers has a certificate installed",
|
|
"groupName": "Security",
|
|
"valueType": "boolean",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "persistSecurityInfo",
|
|
"displayName": "Persist security info",
|
|
"description": "When false, security-sensitive information, such as the password, is not returned as part of the connection",
|
|
"groupName": "Security",
|
|
"valueType": "boolean",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "trustServerCertificate",
|
|
"displayName": "Trust server certificate",
|
|
"description": "When true (and encrypt=true), SQL Server uses SSL encryption for all data sent between the client and server without validating the server certificate",
|
|
"groupName": "Security",
|
|
"valueType": "boolean",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "attachedDBFileName",
|
|
"displayName": "Attached DB file name",
|
|
"description": "The name of the primary file, including the full path name, of an attachable database",
|
|
"groupName": "Source",
|
|
"valueType": "string",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "contextConnection",
|
|
"displayName": "Context connection",
|
|
"description": "When true, indicates the connection should be from the SQL server context. Available only when running in the SQL Server process",
|
|
"groupName": "Source",
|
|
"valueType": "boolean",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "port",
|
|
"displayName": "Port",
|
|
"description": null,
|
|
"groupName": null,
|
|
"valueType": "number",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "connectRetryCount",
|
|
"displayName": "Connect retry count",
|
|
"description": "Number of attempts to restore connection",
|
|
"groupName": "Connection Resiliency",
|
|
"valueType": "number",
|
|
"defaultValue": "1",
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "connectRetryInterval",
|
|
"displayName": "Connect retry interval",
|
|
"description": "Delay between attempts to restore connection",
|
|
"groupName": "Connection Resiliency",
|
|
"valueType": "number",
|
|
"defaultValue": "10",
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": "appName",
|
|
"isIdentity": false,
|
|
"name": "applicationName",
|
|
"displayName": "Application name",
|
|
"description": "The name of the application",
|
|
"groupName": "Context",
|
|
"valueType": "string",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "workstationId",
|
|
"displayName": "Workstation Id",
|
|
"description": "The name of the workstation connecting to SQL Server",
|
|
"groupName": "Context",
|
|
"valueType": "string",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "pooling",
|
|
"displayName": "Pooling",
|
|
"description": "When true, the connection object is drawn from the appropriate pool, or if necessary, is created and added to the appropriate pool",
|
|
"groupName": "Pooling",
|
|
"valueType": "boolean",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "maxPoolSize",
|
|
"displayName": "Max pool size",
|
|
"description": "The maximum number of connections allowed in the pool",
|
|
"groupName": "Pooling",
|
|
"valueType": "number",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "minPoolSize",
|
|
"displayName": "Min pool size",
|
|
"description": "The minimum number of connections allowed in the pool",
|
|
"groupName": "Pooling",
|
|
"valueType": "number",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "loadBalanceTimeout",
|
|
"displayName": "Load balance timeout",
|
|
"description": "The minimum amount of time (in seconds) for this connection to live in the pool before being destroyed",
|
|
"groupName": "Pooling",
|
|
"valueType": "number",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "replication",
|
|
"displayName": "Replication",
|
|
"description": "Used by SQL Server in Replication",
|
|
"groupName": "Replication",
|
|
"valueType": "boolean",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "attachDbFilename",
|
|
"displayName": "Attach DB filename",
|
|
"description": null,
|
|
"groupName": null,
|
|
"valueType": "string",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "failoverPartner",
|
|
"displayName": "Failover partner",
|
|
"description": "The name or network address of the instance of SQL Server that acts as a failover partner",
|
|
"groupName": " Source",
|
|
"valueType": "string",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "multiSubnetFailover",
|
|
"displayName": "Multi subnet failover",
|
|
"description": null,
|
|
"groupName": null,
|
|
"valueType": "boolean",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "multipleActiveResultSets",
|
|
"displayName": "Multiple active result sets",
|
|
"description": "When true, multiple result sets can be returned and read from one connection",
|
|
"groupName": "Advanced",
|
|
"valueType": "boolean",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "packetSize",
|
|
"displayName": "Packet size",
|
|
"description": "Size in bytes of the network packets used to communicate with an instance of SQL Server",
|
|
"groupName": "Advanced",
|
|
"valueType": "number",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
},
|
|
{
|
|
"specialValueType": null,
|
|
"isIdentity": false,
|
|
"name": "typeSystemVersion",
|
|
"displayName": "Type system version",
|
|
"description": "Indicates which server type system then provider will expose through the DataReader",
|
|
"groupName": "Advanced",
|
|
"valueType": "string",
|
|
"defaultValue": null,
|
|
"objectType": null,
|
|
"categoryValues": null,
|
|
"isRequired": false,
|
|
"isArray": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"dataprotocol-client": "github:Microsoft/sqlops-dataprotocolclient#0.2.5",
|
|
"opener": "^1.4.3",
|
|
"service-downloader": "github:anthonydresser/service-downloader#0.1.4",
|
|
"vscode-extension-telemetry": "^0.0.15"
|
|
},
|
|
"devDependencies": {
|
|
}
|
|
}
|