Skip to content

Commit

Permalink
Resolve #22: Add option to show or hide different explorers
Browse files Browse the repository at this point in the history
  • Loading branch information
formulahendry committed Aug 27, 2017
1 parent ca67731 commit c0bb986
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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 `<none>` tag

Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 36 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
}
]
},
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit c0bb986

Please sign in to comment.