{ "name": "vscode-mssql", "version": "0.0.3", "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.", "publisher": "microsoft", "license": "SEE LICENSE IN LICENSE.txt", "aiKey": "AIF-5574968e-856d-40d2-af67-c89a14e76412", "icon": "images/sqlserver.png", "galleryBanner": { "color": "#CFB69A", "theme": "light" }, "repository": { "type": "git", "url": "https://github.com/Microsoft/vscode-mssql.git" }, "bugs": { "url": "https://github.com/Microsoft/vscode-mssql/issues" }, "homepage": "https://github.com/Microsoft/vscode-mssql/blob/master/README.md", "engines": { "vscode": "^1.0.0" }, "categories": [ "Languages" ], "keywords": [ "SQL", "SQL Azure", "SQL Server", "Azure SQL Database", "Azure SQL Data Warehouse" ], "activationEvents": [ "*" ], "main": "./out/src/extension", "extensionDependencies": [ "vscode.sql" ], "devDependencies": { "del": "^2.2.1", "gulp": "github:gulpjs/gulp#4.0", "gulp-install": "^0.6.0", "gulp-less": "^3.1.0", "gulp-nuget": "1.0.0", "gulp-sourcemaps": "^1.6.0", "gulp-tslint": "^6.0.2", "gulp-typescript": "^2.13.6", "pm-mocha-jenkins-reporter": "^0.2.6", "tslint": "^3.14.0", "typescript": "^1.8.9", "typemoq": "^0.3.2", "vscode": "^0.11.0" }, "dependencies": { "ejs": "^2.4.2", "error-ex": "^1.3.0", "express": "^4.13.3", "figures": "^1.4.0", "getmac": "1.2.1", "request": "^2.73.0", "underscore": "^1.8.3", "vscode-extension-telemetry": "^0.0.5", "vscode-languageclient": "^2.0.0" }, "contributes": { "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" }, { "command": "extension.createprofile", "title": "Create Connection Profile", "category": "MSSQL" }, { "command": "extension.removeprofile", "title": "Remove Connection Profile", "category": "MSSQL" }, { "command": "extension.chooseDatabase", "title": "Switch database on current server", "category": "MSSQL" } ], "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'" }, { "command": "extension.createprofile", "key": "ctrl+shift+r", "mac": "cmd+shift+r", "when": "editorTextFocus && editorLangId == 'sql'" } ], "configuration": { "type": "object", "title": "MSSQL configuration", "properties": { "vscode-mssql.logDebugInfo": { "type": "boolean", "default": false, "description": "[Optional] Log debug output to the VS Code console (Help -> Toggle Developer Tools)" }, "vscode-mssql.connections": { "type": "array", "default": [ { "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.", "items": { "type": "object", "properties": { "server": { "type": "string", "default": "{{put-server-name-here}}", "description": "[Required] Server to connect to. Use 'hostname\\instance' or '.database.windows.net'." }, "database": { "type": "string", "default": "{{put-database-name-here}}", "description": "[Optional] Database to connect to. If this is empty, default depends on server configuration, typically 'master'." }, "user": { "type": "string", "default": "{{put-username-here}}", "description": "[Optional] User name for SQL authentication. If this is empty, you are prompted when you connect." }, "password": { "type": "string", "default": "{{put-password-here}}", "description": "[Optional] Password for SQL authentication. If this is empty, you are prompted when you connect." }, "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": { "type": "number", "default": 1, "description": "[Optional] Number of attempts to restore connection." }, "connectRetryInterval": { "type": "number", "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]" } } } } } } }, "scripts": { "postinstall": "node ./node_modules/vscode/bin/install", "install-packages": "npm install github:gulpjs/gulp#4.0 && npm install gulp-install && gulp --gulpfile install.js install" } }