mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-23 01:25:38 -05:00
* Initial port of release/0.24 source code * Fix additional headers * Fix a typo in launch.json
245 lines
6.7 KiB
JSON
245 lines
6.7 KiB
JSON
{
|
|
"name": "mssql",
|
|
"version": "0.1.0",
|
|
"publisher": "Microsoft",
|
|
"aiKey": "AIF-5574968e-856d-40d2-af67-c89a14e76412",
|
|
"engines": {
|
|
"vscode": "0.10.x"
|
|
},
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"main": "./client/out/mssqlMain",
|
|
"extensionDependencies": [
|
|
"vscode.sql"
|
|
],
|
|
"scripts": {
|
|
"compile": "gulp compile-extension:mssql-client",
|
|
"postinstall": "node ./node_modules/vscode/bin/install"
|
|
},
|
|
"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.clearTokenCache",
|
|
"title": "%extension.clearTokenCache%",
|
|
"category": "Azure Accounts"
|
|
}
|
|
],
|
|
"account-type": [
|
|
{
|
|
"id": "microsoft",
|
|
"icon": {
|
|
"light": "./out/account-provider/media/microsoft_account_light.svg",
|
|
"dark": "./out/account-provider/media/microsoft_account_dark.svg"
|
|
}
|
|
},
|
|
{
|
|
"id": "work_school",
|
|
"icon": {
|
|
"light": "./out/account-provider/media/work_school_account_light.svg",
|
|
"dark": "./out/account-provider/media/work_school_account_dark.svg"
|
|
}
|
|
}
|
|
],
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "MSSQL configuration",
|
|
"properties": {
|
|
"accounts.azure.enablePublicCloud": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "%config.enablePublicCloudDescription%"
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"dataprotocol-client": "file:../../dataprotocol-node/client",
|
|
"extensions-modules": "file:../../extensions-modules",
|
|
"adal-node": "0.1.25",
|
|
"decompress": "^4.0.0",
|
|
"fs-extra-promise": "^1.0.1",
|
|
"opener": "1.4.3",
|
|
"request": "2.63.0",
|
|
"vscode-extension-telemetry": "^0.0.8",
|
|
"vscode-nls": "2.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"vscode": "1.0.1",
|
|
"@types/node": "^8.0.24"
|
|
}
|
|
}
|