-
Notifications
You must be signed in to change notification settings - Fork 27.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass objects with commands.executeCommand when remote #111238
Comments
I assume that a custom tree, right? That should always pass the corresponding element around |
So, just to make sure I am seeing the whole picture: The tree data provider is in one extension host and the command (implementation) in another. Is that right? |
Correct, the Docker extension runs on the remote extension host and provides the tree data. The command is from the Remote-Containers extension running on the local extension host. |
Very trick, maybe not possible, because the objects never leave the extension host. Only identifiers/placeholders are send to the renderer and then looked up for command dispatch. |
Maybe if the objects have a |
What would we do if these objects are huge? The motivation from them staying in the extension host is
I see how the last two aren't always valid (can be worked around) but I am not a big fan of us holding arbitrary amount of data in the UX. |
We could set an upper-bound to the stringified size. If we require the extension to support it with |
Let's see how often anyone actually wants this. Right now we have exactly one real use case and there are several downsides. |
I am trying to use remote-containers and remote-ssh together, to do work inside a container running on a remote host. When I first open VS Code on the remote host via SSH, then view the container list in the Docker extension, then right click and |
This currently limits functionality when connected with Remote-WSL/-SSH. Affected commands:
Reopening for consideration. |
upvote this issue. |
Any idea on a fix for this? This disrupts my workflow and requires me to use my Mac when I need to debug a pod, and it would be nice to not have to constantly switch back and forth when developing. |
There was some concern about serializing large objects. Maybe the receiving extension could declare (statically or dynamically) which properties on the selected objects it needs? |
This comment was marked as spam.
This comment was marked as spam.
We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider. If you wonder what we are up to, please see our roadmap and issue reporting guidelines. Thanks for your understanding, and happy coding! |
I have the Docker extension installed remotely in Remote-SSH and am invoking a command in the local Remote-Containers extension with the context menu in a view of the Docker extension with a single object as the selection. Currently the selected object is not passed along. Is there anything we can do here? Maybe allow sufficiently simple objects?
The text was updated successfully, but these errors were encountered: