mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
* Remove unused files from packaged builds * Update package.json postinstall steps * More npm install fixes * Colorizer test fix * Clean-up typescript module * Fix yarn build on macOS * Add gulp to dev dependencies * Fix macOS build
197 lines
5.4 KiB
JSON
197 lines
5.4 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/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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"vscode": "1.0.1"
|
|
}
|
|
}
|