diff --git a/.gitignore b/.gitignore index a816153..8a41fed 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ node_modules [._]*.sw[a-p] [._]s[a-v][a-z] [._]sw[a-p] +.vscode # Project-specific *.vsix diff --git a/package.json b/package.json index f66ee67..03bf6b1 100644 --- a/package.json +++ b/package.json @@ -38,15 +38,44 @@ "theme" ], "contributes": { - "iconThemes": [{ - "id": "file-icons", - "label": "File Icons", - "path": "./icons/file-icons-icon-theme.json" - },{ - "id": "file-icons-colourless", - "label": "File Icons (Colourless)", - "path": "./icons/file-icons-colourless-icon-theme.json" - }] + "iconThemes": [ + { + "id": "file-icons", + "label": "File Icons", + "path": "./icons/file-icons-icon-theme.json" + }, + { + "id": "file-icons-colourless", + "label": "File Icons (Colourless)", + "path": "./icons/file-icons-colourless-icon-theme.json" + } + ], + "commands": [ + { + "command": "file-icons-colourless.hidesExplorerArrows", + "title": "%command.hidesExplorerArrows%" + }, + { + "command": "file-icons.hidesExplorerArrows", + "title": "%command.hidesExplorerArrows%" + } + ], + "configuration": { + "type": "object", + "title": "%configuration.title%", + "properties": { + "file-icons-colourless.hidesExplorerArrows": { + "type": "boolean", + "default": false, + "description": "%configuration.hidesExplorerArrows%" + }, + "file-icons.hidesExplorerArrows": { + "type": "boolean", + "default": false, + "description": "%configuration.hidesExplorerArrows%" + } + } + } }, "scripts": { "import": "make update",