You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

940 lines
23 KiB

{
"name": "vscode-mysql-client2",
"displayName": "MySQL",
"description": "Database Client for vscode",
"version": "3.2.5",
"publisher": "cweijan",
"icon": "resources/logo.png",
"engines": {
"vscode": "^1.38.0"
},
"categories": [
"Programming Languages",
"Keymaps"
],
"keywords": [
"SQL",
"MySQL",
"Database",
"Postgresql",
"Redis"
],
"bugs": {
"url": "https://github.com/cweijan/vscode-database-client/issues",
"email": "cweijan@163.com"
},
"homepage": "https://github.com/cweijan/vscode-database-client/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/cweijan/vscode-database-client.git"
},
"activationEvents": [
"*"
],
"main": "./out/extension",
"contributes": {
"languages": [
{
"id": "es",
"aliases": [
"ElasticSearch",
"es",
"elasticsearch"
],
"extensions": [
"es"
],
"configuration": "./syntaxes/es.configuration.json"
}
],
"snippets": [
{
"language": "sql",
"path": "./syntaxes/snippets.json"
}
],
"grammars": [
{
"language": "sql",
"scopeName": "source.sql",
"path": "./syntaxes/mysql.tmLanguage.json"
},
{
"language": "es",
"scopeName": "source.es",
"path": "./syntaxes/es.tmLanguage.json"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "github-cweijan-mysql",
"title": "Database Explorer",
"icon": "resources/icon/database-container.svg"
},
{
"id": "github-cweijan-nosql",
"title": "NoSQL Explorer",
"icon": "resources/image/icon.png"
}
]
},
"views": {
"github-cweijan-mysql": [
{
"id": "github.cweijan.mysql",
"name": "Connections"
}
],
"github-cweijan-nosql": [
{
"id": "github.cweijan.nosql",
"name": "Connections"
}
]
},
"commands": [
{
"command": "mysql.struct.diff",
"title": "%command.struct.diff%",
"category": "MySQL",
"icon": {
"light": "resources/light/sync.svg",
"dark": "resources/dark/sync.svg"
}
},
{
"command": "mysql.history.open",
"title": "%command.history.open%",
"category": "MySQL",
"icon": "resources/icon/history.svg"
},
{
"command": "mysql.setting.open",
"title": "%command.setting.open%",
"category": "MySQL",
"icon": "resources/icon/settings.svg"
},
{
"command": "mysql.refresh",
"title": "%command.refresh%",
"category": "MySQL",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "mysql.host.copy",
"title": "%command.host.copy%",
"category": "MySQL"
},
{
"command": "mysql.name.copy",
"title": "%command.name.copy%",
"category": "MySQL"
},
{
"command": "mysql.diagram.add",
"title": "%command.diagram.add%",
"icon": {
"light": "resources/light/add.svg",
"dark": "resources/dark/add.svg"
},
"category": "MySQL"
},
{
"command": "mysql.query.add",
"title": "%command.query.add%",
"icon": {
"light": "resources/light/add.svg",
"dark": "resources/dark/add.svg"
},
"category": "MySQL"
},
{
"command": "mysql.query.rename",
"title": "%command.query.rename%",
"category": "MySQL"
},
{
"command": "mysql.diagram.open",
"title": "%command.diagram.open%",
"category": "MySQL"
},
{
"command": "mysql.diagram.drop",
"title": "%command.diagram.drop%",
"category": "MySQL",
"icon": "resources/icon/criss-cross.svg"
},
{
"command": "mysql.connection.add",
"title": "%command.connection.add%",
"icon": {
"light": "resources/light/add.svg",
"dark": "resources/dark/add.svg"
},
"category": "MySQL"
},
{
"command": "mysql.connection.edit",
"title": "%command.connection.edit%",
"category": "MySQL"
},
{
"command": "mysql.connection.disable",
"title": "%command.connection.disable%",
"category": "MySQL"
},
{
"command": "mysql.server.info",
"title": "%command.server.info%",
"category": "MySQL"
},
{
"command": "mysql.connection.delete",
"title": "%command.connection.delete%",
"category": "MySQL"
},
{
"command": "mysql.database.add",
"title": "%command.database.add%",
"icon": {
"light": "resources/light/add.svg",
"dark": "resources/dark/add.svg"
},
"category": "MySQL"
},
{
"command": "mysql.db.overview",
"title": "%command.db.overview%",
"category": "MySQL"
},
{
"command": "mysql.db.drop",
"title": "%command.db.drop%",
"category": "MySQL"
},
{
"command": "mysql.runQuery",
"title": "%command.runQuery%",
"category": "MySQL",
"icon": {
"light": "resources/light/run.png",
"dark": "resources/dark/run.png"
}
},
{
"command": "mysql.query.switch",
"title": "%command.query.switch%",
"category": "MySQL",
"icon": {
"light": "resources/light/query.svg",
"dark": "resources/dark/query.svg"
}
},
{
"command": "mysql.data.import",
"title": "%command.data.import%",
"category": "MySQL"
},
{
"command": "mysql.data.export",
"title": "%command.data.export%",
"category": "MySQL"
},
{
"command": "mysql.struct.export",
"title": "%command.struct.export%",
"category": "MySQL"
},
{
"command": "mysql.db.active",
"title": "%command.db.active%",
"category": "MySQL"
},
{
"command": "mysql.table.truncate",
"title": "%command.table.truncate%",
"category": "MySQL"
},
{
"command": "mysql.db.truncate",
"title": "%command.db.truncate%",
"category": "MySQL"
},
{
"command": "mysql.table.drop",
"title": "%command.table.drop%",
"category": "MySQL",
"icon": "resources/icon/criss-cross.svg"
},
{
"command": "mysql.mock.run",
"title": "%command.mock.run%",
"category": "MySQL",
"icon": {
"light": "resources/light/run.png",
"dark": "resources/dark/run.png"
}
},
{
"command": "mysql.mock.table",
"title": "%command.mock.table%",
"category": "MySQL"
},
{
"command": "mysql.changeTableName",
"title": "%command.changeTableName%",
"category": "MySQL",
"icon": {
"light": "resources/light/edit.svg",
"dark": "resources/dark/edit.svg"
}
},
{
"command": "mysql.table.design",
"title": "%comman.table.design%",
"category": "MySQL"
},
{
"command": "mysql.column.changeName",
"title": "%command.column.changeName%",
"category": "MySQL",
"icon": {
"light": "resources/light/edit.svg",
"dark": "resources/dark/edit.svg"
}
},
{
"command": "mysql.column.add",
"title": "%command.column.add%",
"category": "MySQL"
},
{
"command": "mysql.column.up",
"title": "%command.column.up%",
"category": "MySQL",
"icon": {
"light": "resources/light/up.png",
"dark": "resources/dark/up.png"
}
},
{
"command": "mysql.column.down",
"title": "%command.column.down%",
"category": "MySQL",
"icon": {
"light": "resources/light/down.png",
"dark": "resources/dark/down.png"
}
},
{
"command": "mysql.table.source",
"title": "%command.table.source%",
"category": "MySQL"
},
{
"command": "mysql.view.source",
"title": "%command.view.source%",
"category": "MySQL"
},
{
"command": "mysql.count.sql",
"title": "%command.count.sql%",
"category": "MySQL"
},
{
"command": "mysql.table.show",
"title": "%command.table.show%",
"category": "MySQL",
"icon": "resources/icon/analysis.svg"
},
{
"command": "mysql.column.update",
"title": "%command.column.update%",
"category": "MySQL"
},
{
"command": "mysql.column.drop",
"title": "%command.column.drop%",
"category": "MySQL"
},
{
"command": "mysql.template.table",
"title": "%command.template.table%",
"category": "MySQL",
"icon": {
"light": "resources/light/add.svg",
"dark": "resources/dark/add.svg"
}
},
{
"command": "mysql.template.view",
"title": "%command.template.view%",
"category": "MySQL",
"icon": {
"light": "resources/light/add.svg",
"dark": "resources/dark/add.svg"
}
},
{
"command": "mysql.template.procedure",
"title": "%command.template.procedure%",
"category": "MySQL",
"icon": {
"light": "resources/light/add.svg",
"dark": "resources/dark/add.svg"
}
},
{
"command": "mysql.template.trigger",
"title": "%command.template.trigger%",
"category": "MySQL",
"icon": {
"light": "resources/light/add.svg",
"dark": "resources/dark/add.svg"
}
},
{
"command": "mysql.template.function",
"title": "%command.template.function%",
"category": "MySQL",
"icon": {
"light": "resources/light/add.svg",
"dark": "resources/dark/add.svg"
}
},
{
"command": "mysql.template.user",
"title": "%command.template.user%",
"category": "MySQL",
"icon": {
"light": "resources/light/add.svg",
"dark": "resources/dark/add.svg"
}
},
{
"command": "mysql.delete.user",
"title": "%command.delete.user%",
"category": "MySQL"
},
{
"command": "mysql.user.grant",
"title": "%command.user.grant%",
"category": "MySQL"
},
{
"command": "mysql.change.user",
"title": "%command.change.user%",
"category": "MySQL"
},
{
"command": "mysql.delete.view",
"title": "%command.delete.view%",
"category": "MySQL"
},
{
"command": "mysql.delete.procedure",
"title": "%command.delete.procedure%",
"category": "MySQL"
},
{
"command": "mysql.delete.function",
"title": "%command.delete.function%",
"category": "MySQL"
},
{
"command": "mysql.delete.trigger",
"title": "%command.delete.trigger%",
"category": "MySQL"
},
{
"command": "mysql.redis.connection.terminal",
"title": "%command.redis.connection.terminal%",
"category": "Redis",
"icon": "resources/image/terminal.svg"
},
{
"command": "mysql.redis.connection.status",
"title": "%command.redis.connection.status%"
},
{
"command": "mysql.redis.key.del",
"title": "%command.redis.key.del%",
"icon": "resources/image/delete.png"
},
{
"command": "mysql.redis.key.detail",
"title": "%command.redis.key.detail%"
}
],
"keybindings": [
{
"command": "mysql.runQuery",
"key": "f9",
"when": "editorLangId == sql"
},
{
"command": "mysql.mock.run",
"when": "resourceFilename == mock.json ",
"key": "f9"
}
],
"menus": {
"editor/context": [
{
"command": "mysql.runQuery",
"when": "editorLangId == sql",
"group": "navigation@0"
},
{
"command": "mysql.db.active",
"when": "editorLangId == sql",
"group": "navigation@1"
}
],
"editor/title": [
{
"command": "mysql.runQuery",
"when": "editorLangId == sql",
"group": "navigation"
},
{
"command": "mysql.mock.run",
"when": "resourceFilename =~ /mock.json$/ ",
"group": "navigation"
}
],
"view/title": [
{
"command": "mysql.connection.add",
"when": "view =~ /cweijan.+?ql/",
"group": "navigation@3"
},
{
"command": "mysql.refresh",
"when": "view =~ /cweijan.+?ql/",
"group": "navigation@2"
},
{
"command": "mysql.query.switch",
"when": "view == github.cweijan.mysql",
"group": "navigation@1"
},
{
"command": "mysql.history.open",
"when": "view == github.cweijan.mysql",
"group": "navigation@0"
},
{
"command": "mysql.struct.diff",
"when": "view == github.cweijan.mysql",
"group": "navigation@-2"
}
],
"view/item/context": [
{
"command": "mysql.refresh",
"when": "view =~ /cweijan.+?ql/ && viewItem =~ /^(esConnection|redisConnection|connection|tableGroup|viewGroup|systemViewGroup|triggerGroup|procedureGroup|functionGroup|table)$/",
"group": "inline@-2"
},
{
"command": "mysql.connection.edit",
"when": "view =~ /cweijan.+?ql/ && viewItem =~ /^(connection|esConnection|redisConnection)$/",
"group": "1_mysql@2"
},
{
"command": "mysql.connection.disable",
"when": "view =~ /cweijan.+?ql/ && viewItem =~ /^(connection|esConnection|redisConnection)$/",
"group": "1_mysql@4"
},
{
"command": "mysql.host.copy",
"when": "view =~ /cweijan.+?ql/ && viewItem =~ /^(connection|esConnection|redisConnection)$/",
"group": "1_mysql@6"
},
{
"command": "mysql.database.add",
"when": "view =~ /cweijan.+?ql/ && viewItem == connection",
"group": "2_mysql@0"
},
{
"command": "mysql.diagram.add",
"when": "view =~ /cweijan.+?ql/ && viewItem == diagramGroup",
"group": "2_mysql@0"
},
{
"command": "mysql.query.add",
"when": "view =~ /cweijan.+?ql/ && viewItem == queryGroup",
"group": "2_mysql@0"
},
{
"command": "mysql.query.rename",
"when": "view =~ /cweijan.+?ql/ && viewItem == query",
"group": "2_mysql@0"
},
{
"command": "mysql.refresh",
"when": "view =~ /cweijan.+?ql/ && viewItem =~ /^(connection|esConnection|redisConnection)$/",
"group": "2_mysql@1"
},
{
"command": "mysql.server.info",
"when": "view =~ /cweijan.+?ql/ && viewItem == connection",
"group": "4_mysql@1"
},
{
"command": "mysql.data.import",
"when": "view =~ /cweijan.+?ql/ && viewItem == connection",
"group": "8_mysql@1"
},
{
"command": "mysql.connection.delete",
"when": "view =~ /cweijan.+?ql/ && viewItem =~ /^(connection|esConnection|redisConnection)$/",
"group": "10mysql@2"
},
{
"command": "mysql.query.switch",
"when": "view =~ /cweijan.+?ql/ && viewItem =~ /^(connection|database|esConnection|esIndex)$/",
"group": "inline@1"
},
{
"command": "mysql.database.add",
"when": "view =~ /cweijan.+?ql/ && viewItem == connection",
"group": "inline@0"
},
{
"command": "mysql.diagram.add",
"when": "view =~ /cweijan.+?ql/ && viewItem == diagramGroup",
"group": "inline@0"
},
{
"command": "mysql.query.add",
"when": "view =~ /cweijan.+?ql/ && viewItem == queryGroup",
"group": "inline@0"
},
{
"command": "mysql.template.user",
"when": "view =~ /cweijan.+?ql/ && viewItem == userGroup",
"group": "1_mysql@1"
},
{
"command": "mysql.refresh",
"when": "view =~ /cweijan.+?ql/ && viewItem == userGroup",
"group": "1_mysql@2"
},
{
"command": "mysql.template.user",
"when": "view =~ /cweijan.+?ql/ && viewItem == userGroup",
"group": "inline"
},
{
"command": "mysql.change.user",
"when": "view =~ /cweijan.+?ql/ && viewItem == user",
"group": "1_mysql@-1"
},
{
"command": "mysql.user.grant",
"when": "view =~ /cweijan.+?ql/ && viewItem == user",
"group": "1_mysql@0"
},
{
"command": "mysql.delete.user",
"when": "view =~ /cweijan.+?ql/ && viewItem == user",
"group": "1_mysql@2"
},
{
"command": "mysql.name.copy",
"when": "view =~ /cweijan.+?ql/ && viewItem =~ /^(user|database|esColumn|column|table|view|esIndex|procedure|function|trigger)$/",
"group": "-1_mysql@-5"
},
{
"command": "mysql.refresh",
"when": "view =~ /cweijan.+?ql/ && viewItem == database",
"group": "3_mysql@0"
},
{
"command": "mysql.db.overview",
"when": "view =~ /cweijan.+?ql/ && viewItem == database",
"group": "3_mysql@2"
},
{
"command": "mysql.db.truncate",
"when": "view =~ /cweijan.+?ql/ && viewItem == database",
"group": "4_mysql@4"
},
{
"command": "mysql.db.drop",
"when": "view =~ /cweijan.+?ql/ && viewItem == database",
"group": "4_mysql@5"
},
{
"command": "mysql.data.export",
"when": "view =~ /cweijan.+?ql/ && viewItem == database",
"group": "mysql@5"
},
{
"command": "mysql.struct.export",
"when": "view =~ /cweijan.+?ql/ && viewItem == database",
"group": "mysql@6"
},
{
"command": "mysql.data.import",
"when": "view =~ /cweijan.+?ql/ && viewItem == database",
"group": "mysql@6"
},
{
"command": "mysql.table.show",
"when": "view =~ /cweijan.+?ql/ && viewItem =~ /^(table|view)$/",
"group": "inline@3"
},
{
"command": "mysql.table.drop",
"when": "view =~ /cweijan.+?ql/ && viewItem == table && false",
"group": "inline@1"
},
{
"command": "mysql.table.design",
"when": "view =~ /cweijan.+?ql/ && viewItem == table",
"group": "1_inline@0"
},
{
"command": "mysql.table.source",
"when": "view =~ /cweijan.+?ql/ && viewItem =~ /^(table|view)$/",
"group": "1_inline@2"
},
{
"command": "mysql.count.sql",
"when": "view =~ /cweijan.+?ql/ && viewItem =~ /^(table|view|esIndex)$/",
"group": "1_inline@4"
},
{
"command": "mysql.column.add",
"when": "view =~ /cweijan.+?ql/ && viewItem == table",
"group": "1_inline@6"
},
{
"command": "mysql.mock.table",
"when": "view =~ /cweijan.+?ql/ && viewItem == table",
"group": "1_inline1@1"
},
{
"command": "mysql.data.export",
"when": "view =~ /cweijan.+?ql/ && viewItem =~ /^(table|view)$/",
"group": "1_inline1@2"
},
{
"command": "mysql.struct.export",
"when": "view =~ /cweijan.+?ql/ && viewItem =~ /^(table|view)$/",
"group": "1_inline1@3"
},
{
"command": "mysql.table.truncate",
"when": "view =~ /cweijan.+?ql/ && viewItem == table",
"group": "2_mysql@1"
},
{
"command": "mysql.table.drop",
"when": "view =~ /cweijan.+?ql/ && viewItem == table",
"group": "2_mysql@2"
},
{
"command": "mysql.refresh",
"when": "view =~ /cweijan.+?ql/ && viewItem == tableGroup",
"group": "1_mysql@2"
},
{
"command": "mysql.template.table",
"when": "view =~ /cweijan.+?ql/ && viewItem == tableGroup",
"group": "inline"
},
{
"command": "mysql.column.up",
"when": "view =~ /cweijan.+?ql/ && viewItem == column",
"group": "inline@0"
},
{
"command": "mysql.column.down",
"when": "view =~ /cweijan.+?ql/ && viewItem == column",
"group": "inline@2"
},
{
"command": "mysql.column.changeName",
"when": "view =~ /cweijan.+?ql/ && viewItem == column",
"group": "inline@4"
},
{
"command": "mysql.column.drop",
"when": "view =~ /cweijan.+?ql/ && viewItem == column",
"group": "3_mysql@1"
},
{
"command": "mysql.refresh",
"when": "view =~ /cweijan.+?ql/ && viewItem == viewGroup",
"group": "1_mysql@2"
},
{
"command": "mysql.template.view",
"when": "view =~ /cweijan.+?ql/ && viewItem == viewGroup",
"group": "inline"
},
{
"command": "mysql.delete.view",
"when": "view =~ /cweijan.+?ql/ && viewItem == view",
"group": "1_mysql@1"
},
{
"command": "mysql.diagram.drop",
"when": "view =~ /cweijan.+?ql/ && viewItem == diagram",
"group": "inline@0"
},
{
"command": "mysql.refresh",
"when": "view =~ /cweijan.+?ql/ && viewItem == procedureGroup",
"group": "1_mysql@2"
},
{
"command": "mysql.template.procedure",
"when": "view =~ /cweijan.+?ql/ && viewItem == procedureGroup",
"group": "inline"
},
{
"command": "mysql.delete.procedure",
"when": "view =~ /cweijan.+?ql/ && viewItem == procedure",
"group": "2_mysql@1"
},
{
"command": "mysql.refresh",
"when": "view =~ /cweijan.+?ql/ && viewItem == functionGroup",
"group": "1_mysql@2"
},
{
"command": "mysql.template.function",
"when": "view =~ /cweijan.+?ql/ && viewItem == functionGroup",
"group": "inline"
},
{
"command": "mysql.delete.function",
"when": "view =~ /cweijan.+?ql/ && viewItem == function",
"group": "1_mysql@1"
},
{
"command": "mysql.refresh",
"when": "view =~ /cweijan.+?ql/ && viewItem == triggerGroup",
"group": "1_mysql@2"
},
{
"command": "mysql.template.trigger",
"when": "view =~ /cweijan.+?ql/ && viewItem == triggerGroup",
"group": "inline"
},
{
"command": "mysql.delete.trigger",
"when": "view =~ /cweijan.+?ql/ && viewItem == trigger",
"group": "1_mysql@1"
},
{
"command": "mysql.redis.connection.terminal",
"when": "view == github.cweijan.nosql && viewItem == redisConnection",
"group": "inline@1"
},
{
"command": "mysql.redis.connection.status",
"when": "view == github.cweijan.nosql && viewItem == redisConnection",
"group": "connection"
},
{
"command": "mysql.redis.key.del",
"when": "view == github.cweijan.nosql && viewItem == redisKey",
"group": "inline"
}
]
},
"configuration": {
"type": "object",
"title": "%config.title%",
"properties": {
"vscode-mysql.enableDelimiter": {
"type": "boolean",
"default": false,
"description": "%config.enableDelimiter%"
},
"vscode-mysql.loadMetaOnConnect": {
"type": "boolean",
"default": true,
"description": "%config.loadMetaOnConnect%"
},
"vscode-mysql.defaultSelectLimit": {
"type": "integer",
"default": 100,
"description": "%config.defaultSelectLimit%"
},
"vscode-mysql.showTotal": {
"type": "boolean",
"default": true,
"description": "%config.showTotal%"
}
}
}
},
"scripts": {
"dev": "webpack --progress",
"build": "webpack -p --progress",
"lib": "webpack --config webpack.config.lib.js --progress -p",
"publich": "vsce publish",
"vscode:prepublish": "npm run build"
},
"devDependencies": {
"@types/mockjs": "^1.0.2",
"@types/node": "^12.12.6",
"@types/ssh2": "^0.5.43",
"@types/vscode": "1.38.0",
"@types/pg": "^7.14.7",
"@types/tedious": "^4.0.3",
"copy-webpack-plugin": "^6.3.0",
"css-loader": "^3.5.3",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.3.0",
"@types/redis": "^2.8.18",
"postcss": "^8.2.1",
"postcss-loader": "^4.1.0",
"style-loader": "^1.2.1",
"tailwindcss": "^2.0.2",
"ts-loader": "^7.0.5",
"typescript": "^3.8.3",
"url-loader": "^4.1.0",
"vue-loader": "^15.9.2",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.11",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11"
},
"dependencies": {
"axios": "^0.21.1",
"command-exists": "^1.2.9",
"comment-json": "^4.1.0",
"date-format": "^3.0.0",
"deepmerge": "^3.2.0",
"element-ui": "^2.13.2",
"json-format-highlight": "^1.0.4",
"lodash": "^4.17.20",
"mysql2": "^2.2.5",
"pg": "^8.5.1",
"portfinder": "^1.0.26",
"pretty-bytes": "^5.3.0",
"redis": "^3.0.2",
"routington": "^1.0.3",
"sqlstring": "^2.3.2",
"umy-table": "1.0.8",
"vue": "^2.6.11",
"vue-contextmenujs": "^1.3.13",
"vue-router": "^3.4.1"
},
"__metadata": {
"id": "38c08d09-caa0-4988-8ffb-bcbd51f86e55",
"publisherDisplayName": "cweijan",
"publisherId": "3f28829b-0cc9-47bb-90db-7c05baa399ec"
}
}