2016-06-26 21:49:47 +03:00
|
|
|
{
|
|
|
|
"name": "vscode-mssql",
|
2016-09-21 07:42:24 +03:00
|
|
|
"version": "0.0.4",
|
2016-06-26 21:49:47 +03:00
|
|
|
"displayname": "MSSQL support in VS Code",
|
|
|
|
"description": "Connect to SQL Server and Azure SQL databases, run T-SQL queries and see results in a grid.",
|
2016-07-19 03:15:30 +03:00
|
|
|
"publisher": "microsoft",
|
2016-07-14 02:25:29 +03:00
|
|
|
"license": "SEE LICENSE IN LICENSE.txt",
|
2016-07-26 20:23:24 +03:00
|
|
|
"aiKey": "AIF-5574968e-856d-40d2-af67-c89a14e76412",
|
2016-06-26 21:49:47 +03:00
|
|
|
"icon": "images/sqlserver.png",
|
|
|
|
"galleryBanner": {
|
|
|
|
"color": "#CFB69A",
|
|
|
|
"theme": "light"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2016-07-19 01:21:48 +03:00
|
|
|
"url": "https://github.com/Microsoft/vscode-mssql.git"
|
2016-06-26 21:49:47 +03:00
|
|
|
},
|
|
|
|
"bugs": {
|
2016-07-19 03:15:30 +03:00
|
|
|
"url": "https://github.com/Microsoft/vscode-mssql/issues"
|
2016-07-14 02:25:29 +03:00
|
|
|
},
|
2016-07-19 01:21:48 +03:00
|
|
|
"homepage": "https://github.com/Microsoft/vscode-mssql/blob/master/README.md",
|
2016-06-26 21:49:47 +03:00
|
|
|
"engines": {
|
2016-07-14 02:25:29 +03:00
|
|
|
"vscode": "^1.0.0"
|
2016-06-26 21:49:47 +03:00
|
|
|
},
|
|
|
|
"categories": [
|
|
|
|
"Languages"
|
|
|
|
],
|
|
|
|
"keywords": [
|
2016-07-14 02:25:29 +03:00
|
|
|
"SQL",
|
|
|
|
"SQL Azure",
|
|
|
|
"SQL Server",
|
|
|
|
"Azure SQL Database",
|
|
|
|
"Azure SQL Data Warehouse"
|
|
|
|
],
|
|
|
|
"activationEvents": [
|
|
|
|
"*"
|
2016-06-26 21:49:47 +03:00
|
|
|
],
|
|
|
|
"main": "./out/src/extension",
|
|
|
|
"extensionDependencies": [
|
|
|
|
"vscode.sql"
|
|
|
|
],
|
|
|
|
"devDependencies": {
|
2016-08-02 04:18:36 +03:00
|
|
|
"del": "^2.2.1",
|
|
|
|
"gulp": "github:gulpjs/gulp#4.0",
|
|
|
|
"gulp-install": "^0.6.0",
|
|
|
|
"gulp-less": "^3.1.0",
|
|
|
|
"gulp-sourcemaps": "^1.6.0",
|
|
|
|
"gulp-tslint": "^6.0.2",
|
|
|
|
"gulp-typescript": "^2.13.6",
|
2016-09-14 01:57:29 +03:00
|
|
|
"gulp-rename": "^1.2.2",
|
2016-08-20 02:38:35 +03:00
|
|
|
"pm-mocha-jenkins-reporter": "^0.2.6",
|
2016-08-02 04:18:36 +03:00
|
|
|
"tslint": "^3.14.0",
|
2016-07-14 02:25:29 +03:00
|
|
|
"typescript": "^1.8.9",
|
2016-08-18 20:11:16 +03:00
|
|
|
"typemoq": "^0.3.2",
|
2016-09-20 03:59:22 +03:00
|
|
|
"vscode": "^0.11.0",
|
|
|
|
"gulp-json-editor": "^2.2.1"
|
2016-07-14 02:25:29 +03:00
|
|
|
},
|
2016-06-26 21:49:47 +03:00
|
|
|
"dependencies": {
|
2016-09-15 21:51:35 +03:00
|
|
|
"body-parser": "^1.15.2",
|
|
|
|
"copy-paste": "^1.3.0",
|
|
|
|
"decompress": "^4.0.0",
|
2016-07-14 02:25:29 +03:00
|
|
|
"ejs": "^2.4.2",
|
2016-08-20 04:38:56 +03:00
|
|
|
"error-ex": "^1.3.0",
|
2016-07-14 02:25:29 +03:00
|
|
|
"express": "^4.13.3",
|
2016-08-20 04:38:56 +03:00
|
|
|
"figures": "^1.4.0",
|
2016-09-14 01:57:29 +03:00
|
|
|
"fs-extra-promise": "^0.3.1",
|
2016-09-15 21:51:35 +03:00
|
|
|
"getmac": "1.2.1",
|
2016-09-14 01:57:29 +03:00
|
|
|
"http-proxy-agent": "^1.0.0",
|
|
|
|
"https-proxy-agent": "^1.0.0",
|
2016-09-15 21:51:35 +03:00
|
|
|
"request": "^2.73.0",
|
2016-09-14 01:57:29 +03:00
|
|
|
"tmp": "^0.0.28",
|
2016-09-15 21:51:35 +03:00
|
|
|
"underscore": "^1.8.3",
|
|
|
|
"vscode-extension-telemetry": "^0.0.5",
|
2016-09-20 03:59:22 +03:00
|
|
|
"applicationinsights": "^0.15.0",
|
2016-09-22 02:16:43 +03:00
|
|
|
"vscode-languageclient": "^2.5.0"
|
2016-06-26 21:49:47 +03:00
|
|
|
},
|
2016-07-14 02:25:29 +03:00
|
|
|
"contributes": {
|
2016-06-26 21:49:47 +03:00
|
|
|
"languages": [
|
|
|
|
{
|
|
|
|
"id": "sql",
|
|
|
|
"extensions": [
|
|
|
|
".sql"
|
|
|
|
],
|
|
|
|
"aliases": [
|
|
|
|
"SQL"
|
|
|
|
],
|
|
|
|
"configuration": "./syntaxes/sql.configuration.json"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"grammars": [
|
|
|
|
{
|
|
|
|
"language": "sql",
|
|
|
|
"scopeName": "source.sql",
|
|
|
|
"path": "./syntaxes/SQL.plist"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"outputChannels": [
|
|
|
|
"MSSQL"
|
|
|
|
],
|
|
|
|
"snippets": [
|
|
|
|
{
|
|
|
|
"language": "sql",
|
|
|
|
"path": "./snippets/mssql.json"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "extension.runQuery",
|
|
|
|
"title": "Run T-SQL query",
|
|
|
|
"category": "MSSQL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.connect",
|
|
|
|
"title": "Connect to a database",
|
|
|
|
"category": "MSSQL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.disconnect",
|
|
|
|
"title": "Disconnect active connection",
|
|
|
|
"category": "MSSQL"
|
2016-07-28 04:35:39 +03:00
|
|
|
},
|
|
|
|
{
|
2016-08-01 02:51:08 +03:00
|
|
|
"command": "extension.createprofile",
|
|
|
|
"title": "Create Connection Profile",
|
2016-07-28 04:35:39 +03:00
|
|
|
"category": "MSSQL"
|
|
|
|
},
|
|
|
|
{
|
2016-08-01 02:51:08 +03:00
|
|
|
"command": "extension.removeprofile",
|
|
|
|
"title": "Remove Connection Profile",
|
2016-07-28 04:35:39 +03:00
|
|
|
"category": "MSSQL"
|
2016-08-02 03:24:33 +03:00
|
|
|
},
|
2016-08-01 23:23:56 +03:00
|
|
|
{
|
|
|
|
"command": "extension.chooseDatabase",
|
|
|
|
"title": "Switch database on current server",
|
|
|
|
"category": "MSSQL"
|
2016-09-20 04:07:13 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.openConnectionSettingsFile",
|
|
|
|
"title": "Open Connection Profile Settings",
|
|
|
|
"category": "MSSQL"
|
2016-06-26 21:49:47 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"keybindings": [
|
|
|
|
{
|
|
|
|
"command": "extension.runQuery",
|
|
|
|
"key": "ctrl+shift+e",
|
|
|
|
"mac": "cmd+shift+e",
|
|
|
|
"when": "editorTextFocus && editorLangId == 'sql'"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.connect",
|
|
|
|
"key": "ctrl+shift+c",
|
|
|
|
"mac": "cmd+shift+c",
|
|
|
|
"when": "editorTextFocus && editorLangId == 'sql'"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "extension.disconnect",
|
|
|
|
"key": "ctrl+shift+d",
|
|
|
|
"mac": "cmd+shift+d",
|
|
|
|
"when": "editorTextFocus && editorLangId == 'sql'"
|
2016-07-28 04:35:39 +03:00
|
|
|
},
|
|
|
|
{
|
2016-08-01 02:51:08 +03:00
|
|
|
"command": "extension.createprofile",
|
2016-07-28 04:35:39 +03:00
|
|
|
"key": "ctrl+shift+r",
|
|
|
|
"mac": "cmd+shift+r",
|
|
|
|
"when": "editorTextFocus && editorLangId == 'sql'"
|
2016-06-26 21:49:47 +03:00
|
|
|
}
|
|
|
|
],
|
2016-09-20 04:07:13 +03:00
|
|
|
"jsonValidation": [
|
|
|
|
{
|
|
|
|
"fileMatch" : "connections.json",
|
|
|
|
"url": "./connections.schema.json"
|
|
|
|
}
|
|
|
|
],
|
2016-06-26 21:49:47 +03:00
|
|
|
"configuration": {
|
|
|
|
"type": "object",
|
|
|
|
"title": "MSSQL configuration",
|
2016-07-14 02:25:29 +03:00
|
|
|
"properties": {
|
|
|
|
"vscode-mssql.logDebugInfo": {
|
2016-06-26 21:49:47 +03:00
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "[Optional] Log debug output to the VS Code console (Help -> Toggle Developer Tools)"
|
|
|
|
},
|
2016-09-14 04:09:38 +03:00
|
|
|
"vscode-mssql.maxRecentConnections": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 5,
|
|
|
|
"description": "The maximum number of recently used connections to store in the connection list"
|
|
|
|
},
|
2016-07-14 02:25:29 +03:00
|
|
|
"vscode-mssql.connections": {
|
2016-06-26 21:49:47 +03:00
|
|
|
"type": "array",
|
2016-07-14 02:25:29 +03:00
|
|
|
"default": [
|
2016-06-26 21:49:47 +03:00
|
|
|
{
|
|
|
|
"server": "{{put-server-name-here}}",
|
|
|
|
"database": "{{put-database-name-here}}",
|
|
|
|
"user": "{{put-username-here}}",
|
|
|
|
"password": "{{put-password-here}}"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"description": "Connections placed here are shown in the connections picklist across VS Code sessions.",
|
2016-07-14 02:25:29 +03:00
|
|
|
"items": {
|
2016-06-26 21:49:47 +03:00
|
|
|
"type": "object",
|
2016-07-14 02:25:29 +03:00
|
|
|
"properties": {
|
|
|
|
"server": {
|
2016-06-26 21:49:47 +03:00
|
|
|
"type": "string",
|
|
|
|
"default": "{{put-server-name-here}}",
|
|
|
|
"description": "[Required] Server to connect to. Use 'hostname\\instance' or '<server>.database.windows.net'."
|
|
|
|
},
|
2016-07-14 02:25:29 +03:00
|
|
|
"database": {
|
2016-06-26 21:49:47 +03:00
|
|
|
"type": "string",
|
|
|
|
"default": "{{put-database-name-here}}",
|
|
|
|
"description": "[Optional] Database to connect to. If this is empty, default depends on server configuration, typically 'master'."
|
|
|
|
},
|
2016-07-14 02:25:29 +03:00
|
|
|
"user": {
|
2016-06-26 21:49:47 +03:00
|
|
|
"type": "string",
|
|
|
|
"default": "{{put-username-here}}",
|
|
|
|
"description": "[Optional] User name for SQL authentication. If this is empty, you are prompted when you connect."
|
|
|
|
},
|
2016-07-14 02:25:29 +03:00
|
|
|
"password": {
|
2016-06-26 21:49:47 +03:00
|
|
|
"type": "string",
|
|
|
|
"default": "{{put-password-here}}",
|
|
|
|
"description": "[Optional] Password for SQL authentication. If this is empty, you are prompted when you connect."
|
|
|
|
},
|
2016-08-31 03:30:19 +03:00
|
|
|
"authenticationType": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "SqlLogin",
|
|
|
|
"enum": [
|
|
|
|
"Integrated",
|
|
|
|
"SqlLogin"
|
|
|
|
],
|
|
|
|
"description": "[Optional] Specifies the method of authenticating with SQL Server."
|
|
|
|
},
|
|
|
|
"port": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 1433,
|
|
|
|
"description": "[Optional] Specify the port number to connect to."
|
|
|
|
},
|
|
|
|
"encrypt": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "[Optional] Specify if the connection will be encrypted. Always set to 'true' for Azure SQL DB and loaded from here otherwise."
|
|
|
|
},
|
|
|
|
"trustServerCertificate": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "[Optional]"
|
|
|
|
},
|
|
|
|
"persistSecurityInfo": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "[Optional]"
|
|
|
|
},
|
|
|
|
"connectTimeout": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 15,
|
|
|
|
"description": "[Optional] The length of time in seconds to wait for a connection to the server before terminating the attempt and generating error."
|
|
|
|
},
|
|
|
|
"connectRetryCount": {
|
2016-06-26 21:49:47 +03:00
|
|
|
"type": "number",
|
2016-08-31 03:30:19 +03:00
|
|
|
"default": 1,
|
|
|
|
"description": "[Optional] Number of attempts to restore connection."
|
2016-06-26 21:49:47 +03:00
|
|
|
},
|
2016-08-31 03:30:19 +03:00
|
|
|
"connectRetryInterval": {
|
2016-06-26 21:49:47 +03:00
|
|
|
"type": "number",
|
2016-08-31 03:30:19 +03:00
|
|
|
"default": 10,
|
|
|
|
"description": "[Optional] Delay between attempts to restore connection."
|
|
|
|
},
|
|
|
|
"applicationName": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "vscode-mssql",
|
|
|
|
"description": "[Optional] Application name used for SQL server logging (default: 'vscode-mssql')."
|
|
|
|
},
|
|
|
|
"workstationId": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "",
|
|
|
|
"description": "[Optional] The name of the workstation connecting to SQL Server."
|
|
|
|
},
|
|
|
|
"applicationIntent": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "ReadWrite",
|
|
|
|
"enum": [
|
|
|
|
"ReadWrite",
|
|
|
|
"ReadOnly"
|
|
|
|
],
|
|
|
|
"description": "[Optional]"
|
|
|
|
},
|
|
|
|
"currentLanguage": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "",
|
|
|
|
"description": "[Optional]"
|
|
|
|
},
|
|
|
|
"pooling": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "[Optional]"
|
|
|
|
},
|
|
|
|
"maxPoolSize": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 100,
|
|
|
|
"description": "[Optional]"
|
|
|
|
},
|
|
|
|
"minPoolSize": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 0,
|
|
|
|
"description": "[Optional]"
|
|
|
|
},
|
|
|
|
"loadBalanceTimeout": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 0,
|
|
|
|
"description": "[Optional]"
|
|
|
|
},
|
|
|
|
"replication": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "[Optional]"
|
|
|
|
},
|
|
|
|
"attachDbFilename": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "",
|
|
|
|
"description": "[Optional]"
|
|
|
|
},
|
|
|
|
"failoverPartner": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "",
|
|
|
|
"description": "[Optional]"
|
|
|
|
},
|
|
|
|
"multiSubnetFailover": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "[Optional]"
|
|
|
|
},
|
|
|
|
"multipleActiveResultSets": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "[Optional]"
|
|
|
|
},
|
|
|
|
"packetSize": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 8192,
|
|
|
|
"description": "[Optional]"
|
|
|
|
},
|
|
|
|
"typeSystemVersion": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"Latest"
|
|
|
|
],
|
|
|
|
"description": "[Optional]"
|
2016-09-20 04:07:13 +03:00
|
|
|
},
|
|
|
|
"profileName": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "[Optional]"
|
2016-06-26 21:49:47 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"scripts": {
|
2016-07-23 00:47:21 +03:00
|
|
|
"postinstall": "node ./node_modules/vscode/bin/install",
|
2016-08-02 04:18:36 +03:00
|
|
|
"install-packages": "npm install github:gulpjs/gulp#4.0 && npm install gulp-install && gulp --gulpfile install.js install"
|
2016-06-26 21:49:47 +03:00
|
|
|
}
|
2016-07-01 01:12:52 +03:00
|
|
|
}
|