diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ff3464..6042914 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.1.3 (2017-08-27) +* [#22](https://github.com/formulahendry/vscode-docker-explorer/issues/22): Add option to show or hide different explorers + ## 0.1.2 (2017-08-24) * Not show Docker Images with `` tag diff --git a/README.md b/README.md index a3d2367..284d865 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,15 @@ * `docker-explorer.executionCommand`: Command to execute in container. * `docker-explorer.containerLogsOptions`: Options to show container logs. (Default is **"--tail 50 -f"**) +## Visibility of Docker Explorer + +You could use below settings to show or hide different explorers: +* `docker-explorer.showDockerContainers`: Docker Containers +* `docker-explorer.showDockerImages`: Docker Images +* `docker-explorer.showAzureRegistries`: Azure Container Registry +* `docker-explorer.showDockerHubTreeView`: Docker Hub +* `docker-explorer.showSuggestedDockerImages`: Suggested Docker Hub Images + ## Telemetry data By default, anonymous telemetry data collection is turned on to understand user behavior to improve this extension. To disable it, update the settings.json as below: diff --git a/package-lock.json b/package-lock.json index e8a6df0..3f1f299 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "docker-explorer", - "version": "0.0.8", + "version": "0.1.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 45caeae..7f1f320 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "docker-explorer", "displayName": "Docker Explorer", "description": "Manage Docker Containers, Docker Images, Docker Hub and Azure Container Registry", - "version": "0.1.2", + "version": "0.1.3", "publisher": "formulahendry", "license": "MIT", "icon": "logo.png", @@ -41,23 +41,28 @@ "explorer": [ { "id": "dockerContainers", - "name": "Docker Containers" + "name": "Docker Containers", + "when": "config.docker-explorer.showDockerContainers == true" }, { "id": "dockerImages", - "name": "Docker Images" + "name": "Docker Images", + "when": "config.docker-explorer.showDockerImages == true" }, { "id": "azureRegistries", - "name": "Azure Container Registry" + "name": "Azure Container Registry", + "when": "config.docker-explorer.showAzureRegistries == true" }, { "id": "DockerHubTreeView", - "name": "Docker Hub" + "name": "Docker Hub", + "when": "config.docker-explorer.showDockerHubTreeView == true" }, { "id": "suggestedDockerImages", - "name": "Suggested Docker Hub Images" + "name": "Suggested Docker Hub Images", + "when": "config.docker-explorer.showSuggestedDockerImages == true" } ] }, @@ -348,6 +353,31 @@ "default": true, "description": "Whether to enable anonymous usage collection." }, + "docker-explorer.showDockerContainers": { + "type": "boolean", + "default": true, + "description": "Whether to show Docker Containers Explorer." + }, + "docker-explorer.showDockerImages": { + "type": "boolean", + "default": true, + "description": "Whether to show Docker Images Explorer." + }, + "docker-explorer.showAzureRegistries": { + "type": "boolean", + "default": true, + "description": "Whether to show Azure Container Registry Explorer." + }, + "docker-explorer.showDockerHubTreeView": { + "type": "boolean", + "default": true, + "description": "Whether to show Docker Hub Explorer." + }, + "docker-explorer.showSuggestedDockerImages": { + "type": "boolean", + "default": true, + "description": "Whether to show Suggested Docker Hub Images Explorer." + }, "docker-explorer.autoRefreshInterval": { "type": "number", "default": 2000,