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.
358 lines
12 KiB
358 lines
12 KiB
{
|
|
"name": "vscode-sshfs",
|
|
"displayName": "SSH FS",
|
|
"description": "File system provider using SSH",
|
|
"publisher": "Kelvin",
|
|
"version": "1.19.1",
|
|
"engines": {
|
|
"vscode": "^1.49.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onFileSystem:ssh",
|
|
"onFileSystemAccess:ssh",
|
|
"onView:sshfs-configs",
|
|
"onView:sshfs-connections",
|
|
"onCommand:sshfs.new",
|
|
"onCommand:sshfs.add",
|
|
"onCommand:sshfs.disconnect",
|
|
"onCommand:sshfs.disconnectAll",
|
|
"onCommand:sshfs.terminal",
|
|
"onCommand:sshfs.focusTerminal",
|
|
"onCommand:sshfs.closeTerminal",
|
|
"onCommand:sshfs.configure",
|
|
"onCommand:sshfs.reload",
|
|
"onCommand:sshfs.settings",
|
|
"onCommand:sshfs.refresh"
|
|
],
|
|
"main": "./dist/extension.js",
|
|
"author": {
|
|
"name": "Kelvin Schoofs",
|
|
"email": "schoofs.kelvin@gmail.com",
|
|
"url": "https://github.com/SchoofsKelvin"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/SchoofsKelvin/vscode-sshfs"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/SchoofsKelvin/vscode-sshfs/issues"
|
|
},
|
|
"license": "GPL-3.0",
|
|
"icon": "resources/Logo.png",
|
|
"keywords": [
|
|
"remote",
|
|
"ssh",
|
|
"sshfs",
|
|
"sync",
|
|
"filesystem",
|
|
"terminal"
|
|
],
|
|
"contributes": {
|
|
"views": {
|
|
"sshfs": [
|
|
{
|
|
"id": "sshfs-configs",
|
|
"name": "Configurations",
|
|
"contextualTitle": "SSH FS - Configurations",
|
|
"icon": "resources/icon.svg",
|
|
"visibility": "visible"
|
|
},
|
|
{
|
|
"id": "sshfs-connections",
|
|
"name": "Connections",
|
|
"contextualTitle": "SSH FS - Connections",
|
|
"icon": "resources/icon.svg",
|
|
"visibility": "visible"
|
|
}
|
|
]
|
|
},
|
|
"viewsContainers": {
|
|
"activitybar": [
|
|
{
|
|
"id": "sshfs",
|
|
"title": "SSH FS",
|
|
"icon": "resources/icon.svg"
|
|
}
|
|
]
|
|
},
|
|
"commands": [
|
|
{
|
|
"command": "sshfs.new",
|
|
"title": "Create a SSH FS configuration",
|
|
"category": "SSH FS",
|
|
"icon": "$(new-file)"
|
|
},
|
|
{
|
|
"command": "sshfs.add",
|
|
"title": "Add as Workspace folder",
|
|
"category": "SSH FS",
|
|
"icon": "$(new-folder)"
|
|
},
|
|
{
|
|
"command": "sshfs.disconnect",
|
|
"title": "Disconnect",
|
|
"category": "SSH FS",
|
|
"icon": "$(debug-disconnect)"
|
|
},
|
|
{
|
|
"command": "sshfs.disconnectAll",
|
|
"title": "Disconnect all",
|
|
"category": "SSH FS",
|
|
"icon": "$(debug-disconnect)"
|
|
},
|
|
{
|
|
"command": "sshfs.terminal",
|
|
"title": "Open remote SSH terminal",
|
|
"category": "SSH FS",
|
|
"icon": "$(terminal)"
|
|
},
|
|
{
|
|
"command": "sshfs.configure",
|
|
"title": "Edit configuration",
|
|
"category": "SSH FS",
|
|
"icon": "$(settings-gear)"
|
|
},
|
|
{
|
|
"command": "sshfs.reload",
|
|
"title": "Reload configurations",
|
|
"category": "SSH FS",
|
|
"icon": "$(refresh)"
|
|
},
|
|
{
|
|
"command": "sshfs.settings",
|
|
"title": "Open settings and edit configurations",
|
|
"category": "SSH FS",
|
|
"icon": "$(settings)"
|
|
},
|
|
{
|
|
"command": "sshfs.refresh",
|
|
"title": "Refresh",
|
|
"category": "SSH FS",
|
|
"icon": "$(refresh)"
|
|
},
|
|
{
|
|
"command": "sshfs.focusTerminal",
|
|
"title": "Focus terminal",
|
|
"category": "SSH FS",
|
|
"icon": "$(eye)"
|
|
},
|
|
{
|
|
"command": "sshfs.closeTerminal",
|
|
"title": "Close terminal",
|
|
"category": "SSH FS",
|
|
"icon": "$(close)"
|
|
}
|
|
],
|
|
"menus": {
|
|
"commandPalette": [
|
|
{
|
|
"command": "sshfs.new",
|
|
"group": "SSH FS@1"
|
|
},
|
|
{
|
|
"command": "sshfs.add",
|
|
"group": "SSH FS@2"
|
|
},
|
|
{
|
|
"command": "sshfs.disconnect",
|
|
"group": "SSH FS@3"
|
|
},
|
|
{
|
|
"command": "sshfs.terminal",
|
|
"group": "SSH FS@4"
|
|
},
|
|
{
|
|
"command": "sshfs.configure",
|
|
"group": "SSH FS@5"
|
|
},
|
|
{
|
|
"command": "sshfs.reload",
|
|
"group": "SSH FS@6"
|
|
},
|
|
{
|
|
"command": "sshfs.disconnectAll",
|
|
"group": "SSH FS@7"
|
|
},
|
|
{
|
|
"command": "sshfs.settings",
|
|
"group": "SSH FS@8"
|
|
},
|
|
{
|
|
"command": "sshfs.focusTerminal",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "sshfs.closeTerminal",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "sshfs.refresh",
|
|
"when": "false"
|
|
}
|
|
],
|
|
"view/title": [
|
|
{
|
|
"command": "sshfs.refresh",
|
|
"when": "view == 'sshfs-configs' || view == 'sshfs-connections'",
|
|
"group": "navigation@1"
|
|
},
|
|
{
|
|
"command": "sshfs.new",
|
|
"when": "view == 'sshfs-configs'",
|
|
"group": "navigation@2"
|
|
},
|
|
{
|
|
"command": "sshfs.add",
|
|
"when": "view == 'sshfs-connections'",
|
|
"group": "navigation@2"
|
|
},
|
|
{
|
|
"command": "sshfs.disconnectAll",
|
|
"when": "view == 'sshfs-connections'",
|
|
"group": "navigation@3"
|
|
},
|
|
{
|
|
"command": "sshfs.settings",
|
|
"when": "view == 'sshfs-configs' || view == 'sshfs-connections'",
|
|
"group": "navigation@100"
|
|
}
|
|
],
|
|
"view/item/context": [
|
|
{
|
|
"command": "sshfs.add",
|
|
"when": "view == 'sshfs-configs' && viewItem == config",
|
|
"group": "inline@1"
|
|
},
|
|
{
|
|
"command": "sshfs.terminal",
|
|
"when": "view == 'sshfs-configs' && viewItem == config",
|
|
"group": "inline@2"
|
|
},
|
|
{
|
|
"command": "sshfs.configure",
|
|
"when": "view == 'sshfs-configs' && viewItem == config",
|
|
"group": "inline@3"
|
|
},
|
|
{
|
|
"command": "sshfs.disconnect",
|
|
"when": "view == 'sshfs-configs' && viewItem == config",
|
|
"group": "inline@4"
|
|
},
|
|
{
|
|
"command": "sshfs.terminal",
|
|
"when": "view == 'sshfs-connections' && viewItem == connection",
|
|
"group": "inline@1"
|
|
},
|
|
{
|
|
"command": "sshfs.disconnect",
|
|
"when": "view == 'sshfs-connections' && viewItem == connection",
|
|
"group": "inline@2"
|
|
},
|
|
{
|
|
"command": "sshfs.closeTerminal",
|
|
"when": "view == 'sshfs-connections' && viewItem == terminal",
|
|
"group": "inline@1"
|
|
}
|
|
],
|
|
"explorer/context": [
|
|
{
|
|
"command": "sshfs.terminal",
|
|
"when": "explorerResourceIsFolder && resourceScheme == ssh",
|
|
"group": "navigation@30"
|
|
}
|
|
]
|
|
},
|
|
"configuration": {
|
|
"title": "SSH FS Configuration",
|
|
"properties": {
|
|
"sshfs.configpaths": {
|
|
"title": "A list of file locations to load SSH FS configurations from",
|
|
"description": "Location of JSON files to load configs from",
|
|
"type": "array",
|
|
"items": "string",
|
|
"default": []
|
|
},
|
|
"sshfs.paths.ssh": {
|
|
"title": "A list of file locations to load ssh_config (OpenSSH) config files from",
|
|
"description": "Location of ssh_config files to load configs from",
|
|
"type": "array",
|
|
"items": "string",
|
|
"default": [
|
|
"~/.ssh/config",
|
|
"/etc/ssh/ssh_config"
|
|
]
|
|
},
|
|
"sshfs.configs": {
|
|
"title": "A list of SSH FS configurations",
|
|
"description": "Use the Settings UI to edit configurations (run command SSH FS: Open settings and edit configurations)",
|
|
"markdownDescription": "Use the Settings UI to edit configurations *(run command `SSH FS: Open settings and edit configurations`)*",
|
|
"type": "array",
|
|
"items": "object",
|
|
"default": [
|
|
{
|
|
"root": "/tmp",
|
|
"host": "localhost",
|
|
"port": 22,
|
|
"username": "root",
|
|
"password": "CorrectHorseBatteryStaple"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"taskDefinitions": [
|
|
{
|
|
"type": "ssh-shell",
|
|
"properties": {
|
|
"host": {
|
|
"type": "string",
|
|
"description": "The configuration (name) to run this task on"
|
|
},
|
|
"command": {
|
|
"type": "string",
|
|
"description": "The command to run on the server"
|
|
},
|
|
"workingDirectory": {
|
|
"type": "string",
|
|
"description": "The working directory (relative to the config-defined root) to run the command in"
|
|
}
|
|
},
|
|
"required": [
|
|
"host",
|
|
"command"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "yarn run build && cd webview && yarn run build",
|
|
"build": "webpack --mode production",
|
|
"compile": "webpack --mode none --info-verbosity verbose --display-modules",
|
|
"profile": "webpack --mode production --profile --json > stats.json",
|
|
"watch": "webpack --mode none --watch --info-verbosity verbose --display-modules"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^12.7.12",
|
|
"@types/request": "^2.48.1",
|
|
"@types/ssh2": "^0.5.41",
|
|
"@types/vscode": "~1.49.0",
|
|
"@types/webpack": "^4.4.25",
|
|
"@types/winreg": "^1.2.30",
|
|
"clean-webpack-plugin": "^2.0.0",
|
|
"source-map-support": "^0.5.19",
|
|
"ts-loader": "^7.0.5",
|
|
"typescript": "^4.0.2",
|
|
"webpack": "^4.29.6",
|
|
"webpack-cli": "^3.2.3"
|
|
},
|
|
"dependencies": {
|
|
"event-stream": "^4.0.1",
|
|
"jsonc-parser": "^2.0.0",
|
|
"socks": "^2.2.0",
|
|
"ssh2": "^0.8.9",
|
|
"winreg": "^1.2.4"
|
|
}
|
|
} |