Bumps [glob](https://github.com/isaacs/node-glob) from 9.3.2 to 10.0.0. - [Release notes](https://github.com/isaacs/node-glob/releases) - [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md) - [Commits](https://github.com/isaacs/node-glob/compare/v9.3.2...v10.0.0) --- updated-dependencies: - dependency-name: glob dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
1596 lines
52 KiB
JSON
1596 lines
52 KiB
JSON
{
|
|
"name": "vscode-codeql",
|
|
"displayName": "CodeQL",
|
|
"description": "CodeQL for Visual Studio Code",
|
|
"author": "GitHub",
|
|
"private": true,
|
|
"version": "1.8.3",
|
|
"publisher": "GitHub",
|
|
"license": "MIT",
|
|
"icon": "media/VS-marketplace-CodeQL-icon.png",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/github/vscode-codeql"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.67.0",
|
|
"node": "^16.13.0",
|
|
"npm": ">=7.20.6"
|
|
},
|
|
"categories": [
|
|
"Programming Languages"
|
|
],
|
|
"extensionDependencies": [
|
|
"hbenl.vscode-test-explorer"
|
|
],
|
|
"capabilities": {
|
|
"untrustedWorkspaces": {
|
|
"supported": "limited",
|
|
"description": "Workspace trust is required to execute commands that can contain arbitrary paths.",
|
|
"restrictedConfigurations": [
|
|
"codeQL.cli.executablePath",
|
|
"codeQL.runningTests.additionalTestArguments"
|
|
]
|
|
}
|
|
},
|
|
"activationEvents": [
|
|
"onLanguage:ql",
|
|
"onLanguage:ql-summary",
|
|
"onView:codeQLDatabases",
|
|
"onView:codeQLVariantAnalysisRepositories",
|
|
"onView:codeQLQueryHistory",
|
|
"onView:codeQLAstViewer",
|
|
"onView:codeQLEvalLogViewer",
|
|
"onView:test-explorer",
|
|
"onCommand:codeQL.checkForUpdatesToCLI",
|
|
"onCommand:codeQL.authenticateToGitHub",
|
|
"onCommand:codeQL.viewAst",
|
|
"onCommand:codeQL.viewCfg",
|
|
"onCommand:codeQL.openReferencedFile",
|
|
"onCommand:codeQL.previewQueryHelp",
|
|
"onCommand:codeQL.chooseDatabaseFolder",
|
|
"onCommand:codeQL.chooseDatabaseArchive",
|
|
"onCommand:codeQL.chooseDatabaseInternet",
|
|
"onCommand:codeQL.chooseDatabaseGithub",
|
|
"onCommand:codeQL.quickQuery",
|
|
"onCommand:codeQL.restartQueryServer",
|
|
"onWebviewPanel:resultsView",
|
|
"onWebviewPanel:codeQL.variantAnalysis",
|
|
"onWebviewPanel:codeQL.dataFlowPaths",
|
|
"onFileSystem:codeql-zip-archive"
|
|
],
|
|
"main": "./out/extension",
|
|
"files": [
|
|
"gen/*.js",
|
|
"media/**",
|
|
"out/**",
|
|
"package.json",
|
|
"language-configuration.json"
|
|
],
|
|
"contributes": {
|
|
"configurationDefaults": {
|
|
"[ql]": {
|
|
"editor.wordBasedSuggestions": false
|
|
},
|
|
"[dbscheme]": {
|
|
"editor.wordBasedSuggestions": false
|
|
}
|
|
},
|
|
"jsonValidation": [
|
|
{
|
|
"fileMatch": "GitHub.vscode-codeql/databases.json",
|
|
"url": "./databases-schema.json"
|
|
}
|
|
],
|
|
"languages": [
|
|
{
|
|
"id": "ql",
|
|
"aliases": [
|
|
"QL",
|
|
"ql",
|
|
"CodeQL"
|
|
],
|
|
"extensions": [
|
|
".ql",
|
|
".qll"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
},
|
|
{
|
|
"id": "dbscheme",
|
|
"aliases": [
|
|
"DBScheme",
|
|
"dbscheme"
|
|
],
|
|
"extensions": [
|
|
".dbscheme"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
},
|
|
{
|
|
"id": "xml",
|
|
"extensions": [
|
|
".qhelp"
|
|
]
|
|
},
|
|
{
|
|
"id": "ql-summary",
|
|
"filenames": [
|
|
"evaluator-log.summary"
|
|
]
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "ql",
|
|
"scopeName": "source.ql",
|
|
"path": "./out/syntaxes/ql.tmLanguage.json"
|
|
},
|
|
{
|
|
"language": "dbscheme",
|
|
"scopeName": "source.dbscheme",
|
|
"path": "./out/syntaxes/dbscheme.tmLanguage.json"
|
|
}
|
|
],
|
|
"snippets": [
|
|
{
|
|
"language": "ql",
|
|
"path": "./snippets.json"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "CodeQL",
|
|
"properties": {
|
|
"codeQL.cli.executablePath": {
|
|
"scope": "machine-overridable",
|
|
"type": "string",
|
|
"default": "",
|
|
"markdownDescription": "Path to the CodeQL executable that should be used by the CodeQL extension. The executable is named `codeql` on Linux/Mac and `codeql.exe` on Windows. If empty, the extension will look for a CodeQL executable on your shell PATH, or if CodeQL is not on your PATH, download and manage its own CodeQL executable."
|
|
},
|
|
"codeQL.runningQueries.numberOfThreads": {
|
|
"type": "integer",
|
|
"default": 1,
|
|
"minimum": 0,
|
|
"maximum": 1024,
|
|
"description": "Number of threads for running queries."
|
|
},
|
|
"codeQL.runningQueries.saveCache": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"scope": "window",
|
|
"description": "Aggressively save intermediate results to the disk cache. This may speed up subsequent queries if they are similar. Be aware that using this option will greatly increase disk usage and initial evaluation time."
|
|
},
|
|
"codeQL.runningQueries.cacheSize": {
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
],
|
|
"default": null,
|
|
"minimum": 1024,
|
|
"description": "Maximum size of the disk cache (in MB). Leave blank to allow the evaluator to automatically adjust the size of the disk cache based on the size of the codebase and the complexity of the queries being executed."
|
|
},
|
|
"codeQL.runningQueries.timeout": {
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
],
|
|
"default": null,
|
|
"minimum": 0,
|
|
"maximum": 2147483647,
|
|
"description": "Timeout (in seconds) for running queries. Leave blank or set to zero for no timeout."
|
|
},
|
|
"codeQL.runningQueries.memory": {
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
],
|
|
"default": null,
|
|
"minimum": 1024,
|
|
"description": "Memory (in MB) to use for running queries. Leave blank for CodeQL to choose a suitable value based on your system's available memory."
|
|
},
|
|
"codeQL.runningQueries.debug": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Enable debug logging and tuple counting when running CodeQL queries. This information is useful for debugging query performance."
|
|
},
|
|
"codeQL.runningQueries.maxPaths": {
|
|
"type": "integer",
|
|
"default": 4,
|
|
"minimum": 1,
|
|
"maximum": 256,
|
|
"markdownDescription": "Max number of paths to display for each alert found by a path query (`@kind path-problem`)."
|
|
},
|
|
"codeQL.runningQueries.autoSave": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Enable automatically saving a modified query file when running a query."
|
|
},
|
|
"codeQL.runningQueries.maxQueries": {
|
|
"type": "integer",
|
|
"default": 20,
|
|
"description": "Max number of simultaneous queries to run using the 'CodeQL: Run Queries' command."
|
|
},
|
|
"codeQL.runningQueries.customLogDirectory": {
|
|
"type": [
|
|
"string",
|
|
null
|
|
],
|
|
"default": null,
|
|
"description": "Path to a directory where the CodeQL extension should store query server logs. If empty, the extension stores logs in a temporary workspace folder and deletes the contents after each run.",
|
|
"markdownDeprecationMessage": "This property is deprecated and no longer has any effect. All query logs are stored in the query history folder next to the query results."
|
|
},
|
|
"codeQL.runningQueries.quickEvalCodelens": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Enable the 'Quick Evaluation' CodeLens."
|
|
},
|
|
"codeQL.runningQueries.useExtensionPacks": {
|
|
"type": "string",
|
|
"default": "none",
|
|
"enum": [
|
|
"none",
|
|
"all"
|
|
],
|
|
"enumDescriptions": [
|
|
"Do not use extension packs.",
|
|
"Use all extension packs found in the workspace."
|
|
],
|
|
"description": "Choose whether or not to run queries using extension packs. Requires CodeQL CLI v2.12.3 or later."
|
|
},
|
|
"codeQL.resultsDisplay.pageSize": {
|
|
"type": "integer",
|
|
"default": 200,
|
|
"description": "Max number of query results to display per page in the results view."
|
|
},
|
|
"codeQL.queryHistory.format": {
|
|
"type": "string",
|
|
"default": "%q on %d - %s %r [%t]",
|
|
"markdownDescription": "Default string for how to label query history items.\n* %t is the time of the query\n* %q is the human-readable query name\n* %f is the query file name\n* %d is the database name\n* %r is the number of results\n* %s is a status string"
|
|
},
|
|
"codeQL.queryHistory.ttl": {
|
|
"type": "number",
|
|
"default": 30,
|
|
"description": "Number of days to retain queries in the query history before being automatically deleted.",
|
|
"scope": "machine"
|
|
},
|
|
"codeQL.runningTests.additionalTestArguments": {
|
|
"scope": "window",
|
|
"type": "array",
|
|
"default": [],
|
|
"markdownDescription": "Additional command line arguments to pass to the CLI when [running tests](https://codeql.github.com/docs/codeql-cli/manual/test-run/). This setting should be an array of strings, each containing an argument to be passed."
|
|
},
|
|
"codeQL.runningTests.numberOfThreads": {
|
|
"scope": "window",
|
|
"type": "integer",
|
|
"default": 1,
|
|
"minimum": 0,
|
|
"maximum": 1024,
|
|
"description": "Number of threads for running CodeQL tests."
|
|
},
|
|
"codeQL.telemetry.enableTelemetry": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"scope": "application",
|
|
"markdownDescription": "Specifies whether to send CodeQL usage telemetry. This setting AND the global `#telemetry.enableTelemetry#` setting must be checked for telemetry to be sent to GitHub. For more information, see the [telemetry documentation](https://codeql.github.com/docs/codeql-for-visual-studio-code/about-telemetry-in-codeql-for-visual-studio-code)"
|
|
},
|
|
"codeQL.telemetry.logTelemetry": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"scope": "application",
|
|
"description": "Specifies whether or not to write telemetry events to the extension log."
|
|
},
|
|
"codeQL.variantAnalysis.controllerRepo": {
|
|
"type": "string",
|
|
"default": "",
|
|
"pattern": "^$|^(?:[a-zA-Z0-9]+-)*[a-zA-Z0-9]+/[a-zA-Z0-9-_]+$",
|
|
"patternErrorMessage": "Please enter a valid GitHub repository",
|
|
"markdownDescription": "[For internal use only] The name of the GitHub repository in which the GitHub Actions workflow is run when using the \"Run Variant Analysis\" command. The repository should be of the form `<owner>/<repo>`)."
|
|
},
|
|
"codeQL.logInsights.joinOrderWarningThreshold": {
|
|
"type": "number",
|
|
"default": 50,
|
|
"scope": "window",
|
|
"minimum": 0,
|
|
"description": "Report a warning for any join order whose metric exceeds this value."
|
|
}
|
|
}
|
|
},
|
|
"commands": [
|
|
{
|
|
"command": "codeQL.authenticateToGitHub",
|
|
"title": "CodeQL: Authenticate to GitHub"
|
|
},
|
|
{
|
|
"command": "codeQL.runQuery",
|
|
"title": "CodeQL: Run Query on Selected Database"
|
|
},
|
|
{
|
|
"command": "codeQL.runQueryContextEditor",
|
|
"title": "CodeQL: Run Query on Selected Database"
|
|
},
|
|
{
|
|
"command": "codeQL.runQueryOnMultipleDatabases",
|
|
"title": "CodeQL: Run Query on Multiple Databases"
|
|
},
|
|
{
|
|
"command": "codeQL.runQueryOnMultipleDatabasesContextEditor",
|
|
"title": "CodeQL: Run Query on Multiple Databases"
|
|
},
|
|
{
|
|
"command": "codeQL.runVariantAnalysis",
|
|
"title": "CodeQL: Run Variant Analysis"
|
|
},
|
|
{
|
|
"command": "codeQL.runVariantAnalysisContextEditor",
|
|
"title": "CodeQL: Run Variant Analysis"
|
|
},
|
|
{
|
|
"command": "codeQL.exportSelectedVariantAnalysisResults",
|
|
"title": "CodeQL: Export Variant Analysis Results"
|
|
},
|
|
{
|
|
"command": "codeQL.runQueries",
|
|
"title": "CodeQL: Run Queries in Selected Files"
|
|
},
|
|
{
|
|
"command": "codeQL.quickEval",
|
|
"title": "CodeQL: Quick Evaluation"
|
|
},
|
|
{
|
|
"command": "codeQL.quickEvalContextEditor",
|
|
"title": "CodeQL: Quick Evaluation"
|
|
},
|
|
{
|
|
"command": "codeQL.openReferencedFile",
|
|
"title": "CodeQL: Open Referenced File"
|
|
},
|
|
{
|
|
"command": "codeQL.openReferencedFileContextEditor",
|
|
"title": "CodeQL: Open Referenced File"
|
|
},
|
|
{
|
|
"command": "codeQL.openReferencedFileContextExplorer",
|
|
"title": "CodeQL: Open Referenced File"
|
|
},
|
|
{
|
|
"command": "codeQL.previewQueryHelp",
|
|
"title": "CodeQL: Preview Query Help"
|
|
},
|
|
{
|
|
"command": "codeQL.quickQuery",
|
|
"title": "CodeQL: Quick Query"
|
|
},
|
|
{
|
|
"command": "codeQL.createQuery",
|
|
"title": "CodeQL: Create Query"
|
|
},
|
|
{
|
|
"command": "codeQL.openDocumentation",
|
|
"title": "CodeQL: Open Documentation"
|
|
},
|
|
{
|
|
"command": "codeQL.copyVersion",
|
|
"title": "CodeQL: Copy Version Information"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.openConfigFile",
|
|
"title": "Open database configuration file",
|
|
"icon": "$(json)"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.addNewDatabase",
|
|
"title": "Add new database",
|
|
"icon": "$(add)"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.addNewList",
|
|
"title": "Add new list",
|
|
"icon": "$(new-folder)"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.setSelectedItem",
|
|
"title": "Select"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.setSelectedItemContextMenu",
|
|
"title": "Select"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.renameItemContextMenu",
|
|
"title": "Rename"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.openOnGitHubContextMenu",
|
|
"title": "Open on GitHub"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.removeItemContextMenu",
|
|
"title": "Delete"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.chooseDatabaseFolder",
|
|
"title": "Choose Database from Folder",
|
|
"icon": {
|
|
"light": "media/light/folder-opened-plus.svg",
|
|
"dark": "media/dark/folder-opened-plus.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.removeOrphanedDatabases",
|
|
"title": "Delete unused databases"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.chooseDatabaseArchive",
|
|
"title": "Choose Database from Archive",
|
|
"icon": {
|
|
"light": "media/light/archive-plus.svg",
|
|
"dark": "media/dark/archive-plus.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.chooseDatabaseInternet",
|
|
"title": "Download Database",
|
|
"icon": {
|
|
"light": "media/light/cloud-download.svg",
|
|
"dark": "media/dark/cloud-download.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.chooseDatabaseGithub",
|
|
"title": "Download Database from GitHub",
|
|
"icon": {
|
|
"light": "media/light/github.svg",
|
|
"dark": "media/dark/github.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "codeQL.setCurrentDatabase",
|
|
"title": "CodeQL: Set Current Database"
|
|
},
|
|
{
|
|
"command": "codeQL.viewAst",
|
|
"title": "CodeQL: View AST"
|
|
},
|
|
{
|
|
"command": "codeQL.viewAstContextExplorer",
|
|
"title": "CodeQL: View AST"
|
|
},
|
|
{
|
|
"command": "codeQL.viewAstContextEditor",
|
|
"title": "CodeQL: View AST"
|
|
},
|
|
{
|
|
"command": "codeQL.viewCfg",
|
|
"title": "CodeQL: View CFG"
|
|
},
|
|
{
|
|
"command": "codeQL.viewCfgContextExplorer",
|
|
"title": "CodeQL: View CFG"
|
|
},
|
|
{
|
|
"command": "codeQL.viewCfgContextEditor",
|
|
"title": "CodeQL: View CFG"
|
|
},
|
|
{
|
|
"command": "codeQL.upgradeCurrentDatabase",
|
|
"title": "CodeQL: Upgrade Current Database"
|
|
},
|
|
{
|
|
"command": "codeQL.clearCache",
|
|
"title": "CodeQL: Clear Cache"
|
|
},
|
|
{
|
|
"command": "codeQL.installPackDependencies",
|
|
"title": "CodeQL: Install Pack Dependencies"
|
|
},
|
|
{
|
|
"command": "codeQL.downloadPacks",
|
|
"title": "CodeQL: Download Packs"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.setCurrentDatabase",
|
|
"title": "Select"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.removeDatabase",
|
|
"title": "Remove Database"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.upgradeDatabase",
|
|
"title": "Upgrade Database"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.renameDatabase",
|
|
"title": "Rename Database"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.openDatabaseFolder",
|
|
"title": "Show Database Directory"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.addDatabaseSource",
|
|
"title": "Add Database Source to Workspace"
|
|
},
|
|
{
|
|
"command": "codeQL.chooseDatabaseFolder",
|
|
"title": "CodeQL: Choose Database from Folder"
|
|
},
|
|
{
|
|
"command": "codeQL.chooseDatabaseArchive",
|
|
"title": "CodeQL: Choose Database from Archive"
|
|
},
|
|
{
|
|
"command": "codeQL.chooseDatabaseInternet",
|
|
"title": "CodeQL: Download Database"
|
|
},
|
|
{
|
|
"command": "codeQL.chooseDatabaseGithub",
|
|
"title": "CodeQL: Download Database from GitHub"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.sortByName",
|
|
"title": "Sort by Name",
|
|
"icon": {
|
|
"light": "media/light/sort-alpha.svg",
|
|
"dark": "media/dark/sort-alpha.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.sortByDateAdded",
|
|
"title": "Sort by Date Added",
|
|
"icon": {
|
|
"light": "media/light/sort-date.svg",
|
|
"dark": "media/dark/sort-date.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "codeQL.checkForUpdatesToCLI",
|
|
"title": "CodeQL: Check for CLI Updates"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.openQueryTitleMenu",
|
|
"title": "View Query",
|
|
"icon": "$(edit)"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.openQueryContextMenu",
|
|
"title": "View Query",
|
|
"icon": "$(edit)"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.itemClicked",
|
|
"title": "Open Query Results",
|
|
"icon": "$(preview)"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.removeHistoryItemTitleMenu",
|
|
"title": "Delete",
|
|
"icon": "$(trash)"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.removeHistoryItemContextMenu",
|
|
"title": "Delete",
|
|
"icon": "$(trash)"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.removeHistoryItemContextInline",
|
|
"title": "Delete",
|
|
"icon": "$(trash)"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.sortByName",
|
|
"title": "Sort by Name"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.sortByDate",
|
|
"title": "Sort by Date"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.sortByCount",
|
|
"title": "Sort by Results Count"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.showQueryLog",
|
|
"title": "View Query Log"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.openQueryDirectory",
|
|
"title": "Open Results Directory"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.showEvalLog",
|
|
"title": "Show Evaluator Log (Raw JSON)"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.showEvalLogSummary",
|
|
"title": "Show Evaluator Log (Summary Text)"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.showEvalLogViewer",
|
|
"title": "Show Evaluator Log (UI)"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.cancel",
|
|
"title": "Cancel"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.showQueryText",
|
|
"title": "View Query Text"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.exportResults",
|
|
"title": "Export Results"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.viewCsvResults",
|
|
"title": "View Results (CSV)"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.viewCsvAlerts",
|
|
"title": "View Alerts (CSV)"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.viewSarifAlerts",
|
|
"title": "View Alerts (SARIF)"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.viewDil",
|
|
"title": "View DIL"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.renameItem",
|
|
"title": "Rename"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.compareWith",
|
|
"title": "Compare Results"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.openOnGithub",
|
|
"title": "View Logs"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.copyRepoList",
|
|
"title": "Copy Repository List"
|
|
},
|
|
{
|
|
"command": "codeQLQueryResults.down",
|
|
"title": "CodeQL: Navigate Down in Local Result Viewer"
|
|
},
|
|
{
|
|
"command": "codeQLQueryResults.up",
|
|
"title": "CodeQL: Navigate Up in Local Result Viewer"
|
|
},
|
|
{
|
|
"command": "codeQLQueryResults.right",
|
|
"title": "CodeQL: Navigate Right in Local Result Viewer"
|
|
},
|
|
{
|
|
"command": "codeQLQueryResults.left",
|
|
"title": "CodeQL: Navigate Left in Local Result Viewer"
|
|
},
|
|
{
|
|
"command": "codeQL.restartQueryServer",
|
|
"title": "CodeQL: Restart Query Server"
|
|
},
|
|
{
|
|
"command": "codeQLTests.showOutputDifferences",
|
|
"title": "Show Test Output Differences"
|
|
},
|
|
{
|
|
"command": "codeQLTests.acceptOutput",
|
|
"title": "Accept Test Output"
|
|
},
|
|
{
|
|
"command": "codeQLAstViewer.gotoCode",
|
|
"title": "Go To Code"
|
|
},
|
|
{
|
|
"command": "codeQLAstViewer.clear",
|
|
"title": "Clear AST",
|
|
"icon": {
|
|
"light": "media/light/clear-all.svg",
|
|
"dark": "media/dark/clear-all.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "codeQLEvalLogViewer.clear",
|
|
"title": "Clear Viewer",
|
|
"icon": {
|
|
"light": "media/light/clear-all.svg",
|
|
"dark": "media/dark/clear-all.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "codeQL.gotoQL",
|
|
"title": "CodeQL: Go to QL Code",
|
|
"enablement": "codeql.hasQLSource"
|
|
},
|
|
{
|
|
"command": "codeQL.openDataExtensionsEditor",
|
|
"title": "CodeQL: Open Data Extensions Editor"
|
|
},
|
|
{
|
|
"command": "codeQL.mockGitHubApiServer.startRecording",
|
|
"title": "CodeQL: Mock GitHub API Server: Start Scenario Recording"
|
|
},
|
|
{
|
|
"command": "codeQL.mockGitHubApiServer.saveScenario",
|
|
"title": "CodeQL: Mock GitHub API Server: Save Scenario"
|
|
},
|
|
{
|
|
"command": "codeQL.mockGitHubApiServer.cancelRecording",
|
|
"title": "CodeQL: Mock GitHub API Server: Cancel Scenario Recording"
|
|
},
|
|
{
|
|
"command": "codeQL.mockGitHubApiServer.loadScenario",
|
|
"title": "CodeQL: Mock GitHub API Server: Load Scenario"
|
|
},
|
|
{
|
|
"command": "codeQL.mockGitHubApiServer.unloadScenario",
|
|
"title": "CodeQL: Mock GitHub API Server: Unload Scenario"
|
|
}
|
|
],
|
|
"menus": {
|
|
"view/title": [
|
|
{
|
|
"command": "codeQLDatabases.sortByName",
|
|
"when": "view == codeQLDatabases",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.sortByDateAdded",
|
|
"when": "view == codeQLDatabases",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.chooseDatabaseFolder",
|
|
"when": "view == codeQLDatabases",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.chooseDatabaseArchive",
|
|
"when": "view == codeQLDatabases",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.chooseDatabaseInternet",
|
|
"when": "view == codeQLDatabases",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.chooseDatabaseGithub",
|
|
"when": "view == codeQLDatabases",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.openQueryTitleMenu",
|
|
"when": "view == codeQLQueryHistory",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.itemClicked",
|
|
"when": "view == codeQLQueryHistory",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.removeHistoryItemTitleMenu",
|
|
"when": "view == codeQLQueryHistory",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.sortByName",
|
|
"when": "view == codeQLQueryHistory",
|
|
"group": "1_queryHistory@0"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.sortByDate",
|
|
"when": "view == codeQLQueryHistory",
|
|
"group": "1_queryHistory@1"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.sortByCount",
|
|
"when": "view == codeQLQueryHistory",
|
|
"group": "1_queryHistory@2"
|
|
},
|
|
{
|
|
"command": "codeQLAstViewer.clear",
|
|
"when": "view == codeQLAstViewer",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "codeQLEvalLogViewer.clear",
|
|
"when": "view == codeQLEvalLogViewer",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.openConfigFile",
|
|
"when": "view == codeQLVariantAnalysisRepositories",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.addNewDatabase",
|
|
"when": "view == codeQLVariantAnalysisRepositories && codeQLVariantAnalysisRepositories.configError == false",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.addNewList",
|
|
"when": "view == codeQLVariantAnalysisRepositories && codeQLVariantAnalysisRepositories.configError == false",
|
|
"group": "navigation"
|
|
}
|
|
],
|
|
"view/item/context": [
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.removeItemContextMenu",
|
|
"when": "view == codeQLVariantAnalysisRepositories && viewItem =~ /canBeRemoved/",
|
|
"group": "2_qlContextMenu@3"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.setSelectedItemContextMenu",
|
|
"when": "view == codeQLVariantAnalysisRepositories && viewItem =~ /canBeSelected/",
|
|
"group": "1_qlContextMenu@1"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.renameItemContextMenu",
|
|
"when": "view == codeQLVariantAnalysisRepositories && viewItem =~ /canBeRenamed/",
|
|
"group": "2_qlContextMenu@2"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.openOnGitHubContextMenu",
|
|
"when": "view == codeQLVariantAnalysisRepositories && viewItem =~ /canBeOpenedOnGitHub/",
|
|
"group": "2_qlContextMenu@1"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.setCurrentDatabase",
|
|
"group": "inline",
|
|
"when": "view == codeQLDatabases && viewItem != currentDatabase"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.removeDatabase",
|
|
"group": "9_qlCommands",
|
|
"when": "view == codeQLDatabases"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.renameDatabase",
|
|
"group": "9_qlCommands",
|
|
"when": "view == codeQLDatabases"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.openDatabaseFolder",
|
|
"group": "9_qlCommands",
|
|
"when": "view == codeQLDatabases"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.addDatabaseSource",
|
|
"group": "9_qlCommands",
|
|
"when": "view == codeQLDatabases"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.setSelectedItem",
|
|
"when": "view == codeQLVariantAnalysisRepositories && viewItem =~ /canBeSelected/",
|
|
"group": "inline"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.openQueryContextMenu",
|
|
"group": "2_queryHistory@0",
|
|
"when": "view == codeQLQueryHistory"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.removeHistoryItemContextMenu",
|
|
"group": "7_queryHistory@0",
|
|
"when": "viewItem == interpretedResultsItem || viewItem == rawResultsItem || viewItem == remoteResultsItem || viewItem == cancelledRemoteResultsItemWithoutLogs || viewItem == cancelledResultsItem || viewItem == cancelledRemoteResultsItem"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.removeHistoryItemContextInline",
|
|
"group": "inline",
|
|
"when": "viewItem == interpretedResultsItem || viewItem == rawResultsItem || viewItem == remoteResultsItem || viewItem == cancelledRemoteResultsItemWithoutLogs || viewItem == cancelledResultsItem || viewItem == cancelledRemoteResultsItem"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.renameItem",
|
|
"group": "6_queryHistory@0",
|
|
"when": "view == codeQLQueryHistory"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.compareWith",
|
|
"group": "3_queryHistory@0",
|
|
"when": "viewItem == rawResultsItem || viewItem == interpretedResultsItem"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.showQueryLog",
|
|
"group": "4_queryHistory@4",
|
|
"when": "viewItem == rawResultsItem || viewItem == interpretedResultsItem"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.openQueryDirectory",
|
|
"group": "2_queryHistory@4",
|
|
"when": "view == codeQLQueryHistory && !hasRemoteServer"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.showEvalLog",
|
|
"group": "4_queryHistory@1",
|
|
"when": "codeql.supportsEvalLog && viewItem == rawResultsItem || codeql.supportsEvalLog && viewItem == interpretedResultsItem || codeql.supportsEvalLog && viewItem == cancelledResultsItem"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.showEvalLogSummary",
|
|
"group": "4_queryHistory@2",
|
|
"when": "codeql.supportsEvalLog && viewItem == rawResultsItem || codeql.supportsEvalLog && viewItem == interpretedResultsItem || codeql.supportsEvalLog && viewItem == cancelledResultsItem"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.showEvalLogViewer",
|
|
"group": "4_queryHistory@3",
|
|
"when": "config.codeQL.canary && codeql.supportsEvalLog && viewItem == rawResultsItem || config.codeQL.canary && codeql.supportsEvalLog && viewItem == interpretedResultsItem || config.codeQL.canary && codeql.supportsEvalLog && viewItem == cancelledResultsItem"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.showQueryText",
|
|
"group": "2_queryHistory@2",
|
|
"when": "view == codeQLQueryHistory"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.exportResults",
|
|
"group": "1_queryHistory@0",
|
|
"when": "view == codeQLQueryHistory && viewItem == remoteResultsItem"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.viewCsvResults",
|
|
"group": "9_qlCommands",
|
|
"when": "viewItem == rawResultsItem"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.viewCsvAlerts",
|
|
"group": "5_queryHistory@0",
|
|
"when": "viewItem == interpretedResultsItem"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.viewSarifAlerts",
|
|
"group": "5_queryHistory@1",
|
|
"when": "viewItem == interpretedResultsItem"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.viewDil",
|
|
"group": "5_queryHistory@2",
|
|
"when": "viewItem == rawResultsItem || viewItem == interpretedResultsItem"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.cancel",
|
|
"group": "9_qlCommands",
|
|
"when": "viewItem == inProgressResultsItem || viewItem == inProgressRemoteResultsItem"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.openOnGithub",
|
|
"group": "2_queryHistory@3",
|
|
"when": "viewItem == remoteResultsItem || viewItem == inProgressRemoteResultsItem || viewItem == cancelledRemoteResultsItem"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.copyRepoList",
|
|
"group": "1_queryHistory@1",
|
|
"when": "viewItem == remoteResultsItem"
|
|
},
|
|
{
|
|
"command": "codeQLTests.showOutputDifferences",
|
|
"group": "qltest@1",
|
|
"when": "viewItem == testWithSource"
|
|
},
|
|
{
|
|
"command": "codeQLTests.acceptOutput",
|
|
"group": "qltest@2",
|
|
"when": "viewItem == testWithSource"
|
|
}
|
|
],
|
|
"explorer/context": [
|
|
{
|
|
"command": "codeQL.setCurrentDatabase",
|
|
"group": "9_qlCommands",
|
|
"when": "resourceScheme == codeql-zip-archive || explorerResourceIsFolder || resourceExtname == .zip"
|
|
},
|
|
{
|
|
"command": "codeQL.viewAstContextExplorer",
|
|
"group": "9_qlCommands",
|
|
"when": "resourceScheme == codeql-zip-archive && !explorerResourceIsFolder && !listMultiSelection"
|
|
},
|
|
{
|
|
"command": "codeQL.viewCfgContextExplorer",
|
|
"group": "9_qlCommands",
|
|
"when": "resourceScheme == codeql-zip-archive && config.codeQL.canary"
|
|
},
|
|
{
|
|
"command": "codeQL.runQueries",
|
|
"group": "9_qlCommands",
|
|
"when": "resourceScheme != codeql-zip-archive"
|
|
},
|
|
{
|
|
"command": "codeQL.openReferencedFileContextExplorer",
|
|
"group": "9_qlCommands",
|
|
"when": "resourceExtname == .qlref"
|
|
},
|
|
{
|
|
"command": "codeQL.previewQueryHelp",
|
|
"group": "9_qlCommands",
|
|
"when": "resourceExtname == .qhelp && isWorkspaceTrusted"
|
|
}
|
|
],
|
|
"commandPalette": [
|
|
{
|
|
"command": "codeQL.authenticateToGitHub",
|
|
"when": "config.codeQL.canary"
|
|
},
|
|
{
|
|
"command": "codeQL.runQuery",
|
|
"when": "resourceLangId == ql && resourceExtname == .ql"
|
|
},
|
|
{
|
|
"command": "codeQL.runQueryContextEditor",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQL.runQueryOnMultipleDatabases",
|
|
"when": "resourceLangId == ql && resourceExtname == .ql"
|
|
},
|
|
{
|
|
"command": "codeQL.runQueryOnMultipleDatabasesContextEditor",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQL.runVariantAnalysis",
|
|
"when": "editorLangId == ql && resourceExtname == .ql"
|
|
},
|
|
{
|
|
"command": "codeQL.runVariantAnalysisContextEditor",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQL.runQueries",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQL.quickEval",
|
|
"when": "editorLangId == ql"
|
|
},
|
|
{
|
|
"command": "codeQL.quickEvalContextEditor",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQL.openReferencedFile",
|
|
"when": "resourceExtname == .qlref"
|
|
},
|
|
{
|
|
"command": "codeQL.openReferencedFileContextEditor",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQL.openReferencedFileContextExplorer",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQL.previewQueryHelp",
|
|
"when": "resourceExtname == .qhelp && isWorkspaceTrusted"
|
|
},
|
|
{
|
|
"command": "codeQL.setCurrentDatabase",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQL.viewAst",
|
|
"when": "resourceScheme == codeql-zip-archive"
|
|
},
|
|
{
|
|
"command": "codeQL.viewAstContextEditor",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQL.viewAstContextExplorer",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQL.viewCfg",
|
|
"when": "resourceScheme == codeql-zip-archive && config.codeQL.canary"
|
|
},
|
|
{
|
|
"command": "codeQL.viewCfgContextExplorer",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQL.viewCfgContextEditor",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQL.openDataExtensionsEditor",
|
|
"when": "config.codeQL.canary && config.codeQL.dataExtensions.editor"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.openConfigFile",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.addNewDatabase",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.addNewList",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.setSelectedItem",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.setSelectedItemContextMenu",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.renameItemContextMenu",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.openOnGitHubContextMenu",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLVariantAnalysisRepositories.removeItemContextMenu",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.setCurrentDatabase",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.renameDatabase",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.openDatabaseFolder",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.addDatabaseSource",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.sortByName",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.sortByDateAdded",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.removeDatabase",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.chooseDatabaseFolder",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.chooseDatabaseArchive",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.removeOrphanedDatabases",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.chooseDatabaseInternet",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.chooseDatabaseGithub",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLDatabases.upgradeDatabase",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.openQueryTitleMenu",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.openQueryContextMenu",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.removeHistoryItemTitleMenu",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.removeHistoryItemContextMenu",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.removeHistoryItemContextInline",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.itemClicked",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.showQueryLog",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.showEvalLog",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.showEvalLogSummary",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.showEvalLogViewer",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.openQueryDirectory",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.cancel",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.openOnGithub",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.copyRepoList",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.showQueryText",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.exportResults",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.viewCsvResults",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.viewCsvAlerts",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.viewSarifAlerts",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.viewDil",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.renameItem",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.compareWith",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.sortByName",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.sortByDate",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLQueryHistory.sortByCount",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLAstViewer.gotoCode",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLAstViewer.clear",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLEvalLogViewer.clear",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLTests.acceptOutput",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQLTests.showOutputDifferences",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "codeQL.mockGitHubApiServer.startRecording",
|
|
"when": "config.codeQL.mockGitHubApiServer.enabled && !codeQL.mockGitHubApiServer.recording"
|
|
},
|
|
{
|
|
"command": "codeQL.mockGitHubApiServer.saveScenario",
|
|
"when": "config.codeQL.mockGitHubApiServer.enabled && codeQL.mockGitHubApiServer.recording"
|
|
},
|
|
{
|
|
"command": "codeQL.mockGitHubApiServer.cancelRecording",
|
|
"when": "config.codeQL.mockGitHubApiServer.enabled && codeQL.mockGitHubApiServer.recording"
|
|
},
|
|
{
|
|
"command": "codeQL.mockGitHubApiServer.loadScenario",
|
|
"when": "config.codeQL.mockGitHubApiServer.enabled && !codeQL.mockGitHubApiServer.recording"
|
|
},
|
|
{
|
|
"command": "codeQL.mockGitHubApiServer.unloadScenario",
|
|
"when": "config.codeQL.mockGitHubApiServer.enabled && codeQL.mockGitHubApiServer.scenarioLoaded"
|
|
},
|
|
{
|
|
"command": "codeQL.createQuery",
|
|
"when": "config.codeQL.canary"
|
|
}
|
|
],
|
|
"editor/context": [
|
|
{
|
|
"command": "codeQL.runQueryContextEditor",
|
|
"when": "editorLangId == ql && resourceExtname == .ql"
|
|
},
|
|
{
|
|
"command": "codeQL.runQueryOnMultipleDatabasesContextEditor",
|
|
"when": "editorLangId == ql && resourceExtname == .ql"
|
|
},
|
|
{
|
|
"command": "codeQL.runVariantAnalysisContextEditor",
|
|
"when": "editorLangId == ql && resourceExtname == .ql"
|
|
},
|
|
{
|
|
"command": "codeQL.viewAstContextEditor",
|
|
"when": "resourceScheme == codeql-zip-archive"
|
|
},
|
|
{
|
|
"command": "codeQL.viewCfgContextEditor",
|
|
"when": "resourceScheme == codeql-zip-archive && config.codeQL.canary"
|
|
},
|
|
{
|
|
"command": "codeQL.quickEvalContextEditor",
|
|
"when": "editorLangId == ql"
|
|
},
|
|
{
|
|
"command": "codeQL.openReferencedFileContextEditor",
|
|
"when": "resourceExtname == .qlref"
|
|
},
|
|
{
|
|
"command": "codeQL.previewQueryHelp",
|
|
"when": "resourceExtname == .qhelp && isWorkspaceTrusted"
|
|
},
|
|
{
|
|
"command": "codeQL.gotoQL",
|
|
"when": "editorLangId == ql-summary && config.codeQL.canary"
|
|
}
|
|
]
|
|
},
|
|
"viewsContainers": {
|
|
"activitybar": [
|
|
{
|
|
"id": "ql-container",
|
|
"title": "CodeQL",
|
|
"icon": "media/logo.svg"
|
|
}
|
|
]
|
|
},
|
|
"views": {
|
|
"ql-container": [
|
|
{
|
|
"id": "codeQLDatabases",
|
|
"name": "Databases"
|
|
},
|
|
{
|
|
"id": "codeQLVariantAnalysisRepositories",
|
|
"name": "Variant Analysis Repositories"
|
|
},
|
|
{
|
|
"id": "codeQLQueryHistory",
|
|
"name": "Query History"
|
|
},
|
|
{
|
|
"id": "codeQLAstViewer",
|
|
"name": "AST Viewer"
|
|
},
|
|
{
|
|
"id": "codeQLEvalLogViewer",
|
|
"name": "Evaluator Log Viewer",
|
|
"when": "config.codeQL.canary"
|
|
}
|
|
]
|
|
},
|
|
"viewsWelcome": [
|
|
{
|
|
"view": "codeQLAstViewer",
|
|
"contents": "Run the 'CodeQL: View AST' command on an open source file from a CodeQL database.\n[View AST](command:codeQL.viewAst)"
|
|
},
|
|
{
|
|
"view": "codeQLQueryHistory",
|
|
"contents": "You have no query history items at the moment.\n\nSelect a database to run a CodeQL query and get your first results."
|
|
},
|
|
{
|
|
"view": "codeQLDatabases",
|
|
"contents": "Add a CodeQL database:\n[From a folder](command:codeQLDatabases.chooseDatabaseFolder)\n[From an archive](command:codeQLDatabases.chooseDatabaseArchive)\n[From a URL (as a zip file)](command:codeQLDatabases.chooseDatabaseInternet)\n[From GitHub](command:codeQLDatabases.chooseDatabaseGithub)"
|
|
},
|
|
{
|
|
"view": "codeQLEvalLogViewer",
|
|
"contents": "Run the 'Show Evaluator Log (UI)' command on a CodeQL query run in the Query History view."
|
|
},
|
|
{
|
|
"view": "codeQLVariantAnalysisRepositories",
|
|
"contents": "Set up a controller repository to start using variant analysis. [Learn more](https://codeql.github.com/docs/codeql-for-visual-studio-code/running-codeql-queries-at-scale-with-mrva#controller-repository) about controller repositories. \n[Set up controller repository](command:codeQLVariantAnalysisRepositories.setupControllerRepository)",
|
|
"when": "!config.codeQL.variantAnalysis.controllerRepo"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"build": "gulp",
|
|
"watch": "gulp watch",
|
|
"test": "npm-run-all test:*",
|
|
"test:unit": "cross-env TZ=UTC LANG=en-US jest --projects test/unit-tests",
|
|
"test:view": "jest --projects src/view",
|
|
"test:vscode-integration": "npm-run-all test:vscode-integration:*",
|
|
"test:vscode-integration:activated-extension": "jest --projects test/vscode-tests/activated-extension",
|
|
"test:vscode-integration:no-workspace": "jest --projects test/vscode-tests/no-workspace",
|
|
"test:vscode-integration:minimal-workspace": "jest --projects test/vscode-tests/minimal-workspace",
|
|
"test:cli-integration": "jest --projects test/vscode-tests/cli-integration",
|
|
"update-vscode": "node ./node_modules/vscode/bin/install",
|
|
"format": "prettier --write **/*.{ts,tsx} && eslint . --ext .ts,.tsx --fix",
|
|
"lint": "eslint . --ext .js,.ts,.tsx --max-warnings=0",
|
|
"lint:markdown": "markdownlint-cli2 \"../../**/*.{md,mdx}\" \"!**/node_modules/**\" \"!**/.vscode-test/**\" \"!**/build/cli/v*/**\"",
|
|
"format-staged": "lint-staged",
|
|
"storybook": "start-storybook -p 6006",
|
|
"build-storybook": "build-storybook",
|
|
"lint:scenarios": "ts-node scripts/lint-scenarios.ts",
|
|
"check-types": "find . -type f -name \"tsconfig.json\" -not -path \"./node_modules/*\" | sed -r 's|/[^/]+$||' | sort | uniq | xargs -I {} sh -c \"echo Checking types in {} && cd {} && npx tsc --noEmit\"",
|
|
"postinstall": "patch-package",
|
|
"prepare": "cd ../.. && husky install"
|
|
},
|
|
"dependencies": {
|
|
"@octokit/plugin-retry": "^3.0.9",
|
|
"@octokit/rest": "^19.0.4",
|
|
"@vscode/codicons": "^0.0.31",
|
|
"@vscode/webview-ui-toolkit": "^1.0.1",
|
|
"ajv": "^8.11.0",
|
|
"child-process-promise": "^2.2.1",
|
|
"chokidar": "^3.5.3",
|
|
"classnames": "~2.2.6",
|
|
"d3": "^7.6.1",
|
|
"d3-graphviz": "^5.0.2",
|
|
"fs-extra": "^11.1.1",
|
|
"immutable": "^4.0.0",
|
|
"js-yaml": "^4.1.0",
|
|
"minimist": "~1.2.6",
|
|
"msw": "^1.2.0",
|
|
"nanoid": "^3.2.0",
|
|
"node-fetch": "~2.6.7",
|
|
"p-queue": "^6.0.0",
|
|
"path-browserify": "^1.0.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"semver": "~7.3.2",
|
|
"source-map": "^0.7.4",
|
|
"source-map-support": "^0.5.21",
|
|
"stream": "^0.0.2",
|
|
"stream-chain": "~2.2.4",
|
|
"stream-json": "~1.7.3",
|
|
"styled-components": "^5.3.3",
|
|
"tmp": "^0.1.0",
|
|
"tmp-promise": "~3.0.2",
|
|
"tree-kill": "~1.2.2",
|
|
"unzipper": "~0.10.5",
|
|
"vscode-extension-telemetry": "^0.1.6",
|
|
"vscode-jsonrpc": "^8.0.2",
|
|
"vscode-languageclient": "^8.0.2",
|
|
"vscode-test-adapter-api": "~1.7.0",
|
|
"vscode-test-adapter-util": "~0.7.0",
|
|
"zip-a-folder": "~1.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.18.13",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.18.6",
|
|
"@faker-js/faker": "^7.5.0",
|
|
"@github/markdownlint-github": "^0.3.0",
|
|
"@octokit/plugin-throttling": "^5.0.1",
|
|
"@storybook/addon-actions": "^6.5.17-alpha.0",
|
|
"@storybook/addon-essentials": "^6.5.17-alpha.0",
|
|
"@storybook/addon-interactions": "^6.5.17-alpha.0",
|
|
"@storybook/addon-links": "^6.5.17-alpha.0",
|
|
"@storybook/builder-webpack5": "^6.5.17-alpha.0",
|
|
"@storybook/manager-webpack5": "^6.5.17-alpha.0",
|
|
"@storybook/react": "^6.5.17-alpha.0",
|
|
"@storybook/testing-library": "^0.0.13",
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@testing-library/react": "^14.0.0",
|
|
"@testing-library/user-event": "^14.4.3",
|
|
"@types/child-process-promise": "^2.2.1",
|
|
"@types/classnames": "~2.2.9",
|
|
"@types/d3": "^7.4.0",
|
|
"@types/d3-graphviz": "^2.6.6",
|
|
"@types/del": "^4.0.0",
|
|
"@types/fs-extra": "^11.0.1",
|
|
"@types/google-protobuf": "^3.2.7",
|
|
"@types/gulp": "^4.0.9",
|
|
"@types/gulp-replace": "^1.1.0",
|
|
"@types/gulp-sourcemaps": "0.0.32",
|
|
"@types/jest": "^29.0.2",
|
|
"@types/js-yaml": "^3.12.5",
|
|
"@types/jszip": "~3.1.6",
|
|
"@types/nanoid": "^3.0.0",
|
|
"@types/node": "^16.11.25",
|
|
"@types/node-fetch": "~2.5.2",
|
|
"@types/react": "^18.0.28",
|
|
"@types/react-dom": "^18.0.11",
|
|
"@types/sarif": "~2.1.2",
|
|
"@types/semver": "~7.2.0",
|
|
"@types/stream-chain": "~2.0.1",
|
|
"@types/stream-json": "~1.7.1",
|
|
"@types/styled-components": "^5.1.11",
|
|
"@types/tar-stream": "^2.2.2",
|
|
"@types/through2": "^2.0.36",
|
|
"@types/tmp": "^0.1.0",
|
|
"@types/unzipper": "~0.10.1",
|
|
"@types/vscode": "^1.59.0",
|
|
"@types/webpack": "^5.28.0",
|
|
"@types/webpack-env": "^1.18.0",
|
|
"@types/xml2js": "~0.4.4",
|
|
"@typescript-eslint/eslint-plugin": "^5.38.0",
|
|
"@typescript-eslint/parser": "^5.38.0",
|
|
"@vscode/test-electron": "^2.2.0",
|
|
"@vscode/vsce": "^2.15.0",
|
|
"ansi-colors": "^4.1.1",
|
|
"applicationinsights": "^2.3.5",
|
|
"cross-env": "^7.0.3",
|
|
"css-loader": "~3.1.0",
|
|
"del": "^6.0.0",
|
|
"esbuild": "^0.15.15",
|
|
"eslint": "^8.23.1",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-etc": "^2.0.2",
|
|
"eslint-plugin-github": "^4.4.1",
|
|
"eslint-plugin-jest-dom": "^4.0.2",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-react": "^7.31.8",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-storybook": "^0.6.4",
|
|
"file-loader": "^6.2.0",
|
|
"glob": "^10.0.0",
|
|
"gulp": "^4.0.2",
|
|
"gulp-esbuild": "^0.10.5",
|
|
"gulp-replace": "^1.1.3",
|
|
"gulp-sourcemaps": "^3.0.0",
|
|
"gulp-typescript": "^5.0.1",
|
|
"husky": "^8.0.0",
|
|
"jest": "^29.0.3",
|
|
"jest-environment-jsdom": "^29.0.3",
|
|
"jest-runner-vscode": "^3.0.1",
|
|
"lint-staged": "~13.2.0",
|
|
"markdownlint-cli2": "^0.6.0",
|
|
"markdownlint-cli2-formatter-pretty": "^0.0.4",
|
|
"mini-css-extract-plugin": "^2.6.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"patch-package": "^6.5.0",
|
|
"prettier": "^2.7.1",
|
|
"tar-stream": "^3.0.0",
|
|
"through2": "^4.0.2",
|
|
"ts-jest": "^29.0.1",
|
|
"ts-json-schema-generator": "^1.1.2",
|
|
"ts-loader": "^9.4.2",
|
|
"ts-node": "^10.7.0",
|
|
"ts-protoc-gen": "^0.9.0",
|
|
"typescript": "^5.0.2",
|
|
"webpack": "^5.76.0",
|
|
"webpack-cli": "^5.0.1"
|
|
},
|
|
"lint-staged": {
|
|
"./**/*.{json,css,scss}": [
|
|
"prettier --write"
|
|
],
|
|
"./**/*.{ts,tsx}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
]
|
|
}
|
|
}
|