mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Initial commit for Query Store extension (#23260)
* Initial commit for Query Store extension * fix eslint explicit-functino-return-type setting * address comments * remove specifying explicit-function-return-type eslint rule * update strings
This commit is contained in:
@@ -274,6 +274,7 @@ const externalExtensions = [
|
||||
'machine-learning',
|
||||
'profiler',
|
||||
'query-history',
|
||||
'query-store',
|
||||
'schema-compare',
|
||||
'server-report',
|
||||
'sql-assessment',
|
||||
|
||||
@@ -310,6 +310,7 @@ const externalExtensions = [
|
||||
'machine-learning',
|
||||
'profiler',
|
||||
'query-history',
|
||||
'query-store',
|
||||
'schema-compare',
|
||||
'server-report',
|
||||
'sql-assessment',
|
||||
|
||||
13
extensions/query-store/.eslintrc.json
Normal file
13
extensions/query-store/.eslintrc.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"parserOptions": {
|
||||
"project": "./extensions/query-store/tsconfig.json"
|
||||
},
|
||||
"rules": {
|
||||
"@typescript-eslint/no-floating-promises": [
|
||||
"error",
|
||||
{
|
||||
"ignoreVoid": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
1
extensions/query-store/.gitignore
vendored
Normal file
1
extensions/query-store/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.vsix
|
||||
9
extensions/query-store/.vscodeignore
Normal file
9
extensions/query-store/.vscodeignore
Normal file
@@ -0,0 +1,9 @@
|
||||
src
|
||||
out
|
||||
tsconfig.json
|
||||
.gitignore
|
||||
coverage
|
||||
coverConfig.json
|
||||
extension.webpack.config.js
|
||||
*.vsix
|
||||
yarn.lock
|
||||
19
extensions/query-store/README.md
Normal file
19
extensions/query-store/README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Query Store Extension for Azure Data Studio
|
||||
|
||||
## Overview
|
||||
|
||||
Query Store extension for Azure Data Studio simplifies assists users with troubleshooting query performance in SQL Server and Azure SQL and understanding issues caused by plan changes.
|
||||
|
||||
## Privacy Statement
|
||||
|
||||
To learn more about our Privacy Statement visit [this link](https://go.microsoft.com/fwlink/?LinkID=824704).
|
||||
|
||||
## Feedback
|
||||
|
||||
Please report issues and feature requests [here.](https://github.com/microsoft/azuredatastudio/issues)
|
||||
|
||||
## License
|
||||
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
Licensed under the [Source EULA](https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt).
|
||||
20
extensions/query-store/coverConfig.json
Normal file
20
extensions/query-store/coverConfig.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"enabled": true,
|
||||
"relativeSourcePath": "..",
|
||||
"relativeCoverageDir": "../../coverage",
|
||||
"ignorePatterns": [
|
||||
"**/node_modules/**",
|
||||
"**/test/**",
|
||||
"extension.js"
|
||||
],
|
||||
"reports": [
|
||||
"cobertura",
|
||||
"lcov",
|
||||
"json"
|
||||
],
|
||||
"verbose": false,
|
||||
"remapOptions": {
|
||||
"basePath": "..",
|
||||
"useAbsolutePaths": true
|
||||
}
|
||||
}
|
||||
17
extensions/query-store/extension.webpack.config.js
Normal file
17
extensions/query-store/extension.webpack.config.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
//@ts-check
|
||||
|
||||
'use strict';
|
||||
|
||||
const withDefaults = require('../shared.webpack.config');
|
||||
|
||||
module.exports = withDefaults({
|
||||
context: __dirname,
|
||||
entry: {
|
||||
extension: './src/extension.ts'
|
||||
}
|
||||
});
|
||||
BIN
extensions/query-store/images/extension.png
Normal file
BIN
extensions/query-store/images/extension.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
49
extensions/query-store/package.json
Normal file
49
extensions/query-store/package.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"name": "query-store",
|
||||
"displayName": "%queryStore.displayName%",
|
||||
"description": "%queryStore.description%",
|
||||
"version": "0.1.0",
|
||||
"publisher": "Microsoft",
|
||||
"preview": true,
|
||||
"engines": {
|
||||
"vscode": "*",
|
||||
"azdata": ">=1.45.0"
|
||||
},
|
||||
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt",
|
||||
"icon": "images/extension.png",
|
||||
"aiKey": "29a207bb14f84905966a8f22524cb730-25407f35-11b6-4d4e-8114-ab9e843cb52f-7380",
|
||||
"activationEvents": [
|
||||
"*"
|
||||
],
|
||||
"main": "./out/extension",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Microsoft/azuredatastudio.git"
|
||||
},
|
||||
"capabilities": {
|
||||
"virtualWorkspaces": false,
|
||||
"untrustedWorkspaces": {
|
||||
"supported": true
|
||||
}
|
||||
},
|
||||
"extensionDependencies": [
|
||||
"Microsoft.mssql"
|
||||
],
|
||||
"contributes": {
|
||||
"commands": [
|
||||
],
|
||||
"menus": {
|
||||
"objectExplorer/item/context": [
|
||||
],
|
||||
"dataExplorer/context": [
|
||||
],
|
||||
"commandPalette": [
|
||||
]
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"vscode-nls": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
}
|
||||
}
|
||||
4
extensions/query-store/package.nls.json
Normal file
4
extensions/query-store/package.nls.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"queryStore.displayName": "Query Store",
|
||||
"queryStore.description": "Query Store extension for Azure Data Studio."
|
||||
}
|
||||
13
extensions/query-store/src/extension.ts
Normal file
13
extensions/query-store/src/extension.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import * as vscode from 'vscode';
|
||||
|
||||
export async function activate(_context: vscode.ExtensionContext): Promise<void> {
|
||||
}
|
||||
|
||||
export function deactivate(): void {
|
||||
|
||||
}
|
||||
10
extensions/query-store/src/typings/ref.d.ts
vendored
Normal file
10
extensions/query-store/src/typings/ref.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
/// <reference path='../../../../src/vscode-dts/vscode.d.ts'/>
|
||||
/// <reference path='../../../../src/sql/azdata.d.ts'/>
|
||||
/// <reference path='../../../../src/sql/azdata.proposed.d.ts'/>
|
||||
/// <reference path='../../../mssql/src/mssql.d.ts'/>
|
||||
/// <reference types='@types/node'/>
|
||||
15
extensions/query-store/tsconfig.json
Normal file
15
extensions/query-store/tsconfig.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"extends": "../tsconfig.base.json",
|
||||
"compileOnSave": true,
|
||||
"compilerOptions": {
|
||||
"outDir": "./out",
|
||||
"lib": [
|
||||
"es6",
|
||||
"es2015.promise",
|
||||
"dom"
|
||||
]
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
}
|
||||
1867
extensions/query-store/yarn.lock
Normal file
1867
extensions/query-store/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user