-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Hello,
Currently for vscode-remote:// only the raw path and directory is shown.
But for Dev Container example: vscode-remote://dev-container+7b22686f737450....5486f7374227d7d/tmp/app it makes sense to parse the hex and show the actual underlining path and project title.
At least in Python we can do:
import json
import binascii
json.loads(binascii.unhexlify("7b22686f737450....5486f7374227d7d").decode('utf-8'))
# {'hostPath': '\\\\wsl.localhost\\Ubuntu-22.04\\home\\user\\code\\my-app-name', 'localDocker': False, 'configFile': {'$mid': 1, 'path': '/home/user/code/my-app-name/.devcontainer/devcontainer.json', 'scheme': 'vscode-fileHost'}}Just showing "my-app-name" and "hostPath" would be great. Thanks.
Metadata
Metadata
Assignees
Labels
No labels