Replies: 1 comment 2 replies
-
After posting the message above, I stumbled upon this https://code.visualstudio.com/api/advanced-topics/remote-extensions which explained a lot, however, I still have more questions. I learnt more about auto port-forwarding and the function Namely, I have been struggling with performance issues in In the code of the extension I am creating a PR for, there are a lot of so-called disposables, and I want to know if these are compatible with extensions running in a workspace remotely using Any hints or links that you can offer me will be highly appreciated. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone (and mostly @code-asher).
I am in the process of creating a PR for the vscode extension for Evidence, an awesome reporting tool, here evidence-dev/evidence#3201
The issue I am facing is that depending on whether the user is using vscode locally or via code-server, providing a seamless experience requires different measure.
Namely, unlike in native vscode, port forwarding works entirely differently in code-server. This is an important distinction for someone running the extension on a remote machine using code-server from Coder.
Is there a way to detect that we are running inside of a code-server, as compared to vscode natively, and what is the recommended way to interact with the auto port forwarding feature. Namely, when the user does not specify a preferred port or when the port is occupied and the command ends up running on a different port. This is a time where probing the auto forwarder asking for the actual port can be of great use.
Any level of information or a hint into where to look would be great.
Kind regards,
Orwa.
Beta Was this translation helpful? Give feedback.
All reactions