Skip to content
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

Disable functionality that will only work on a local machine if running remotely #1738

Closed
5 of 7 tasks
DanTup opened this issue May 23, 2019 · 2 comments
Closed
5 of 7 tasks
Labels
in remote Relates to running the extension in a remote setting using VS Code's remote dev support is enhancement
Milestone

Comments

@DanTup
Copy link
Member

DanTup commented May 23, 2019

microsoft/vscode#74188

Anything that doesn't make sense in a remote context should be disabled:

  • launching emulators
  • creating emulators
  • opening Xcode/Android Studio
  • launching Flutter mobile apps (this is useable for things like ADB over TCP?)
  • device manager (this is useable for things like ADB over TCP?)
  • launching DevTools via service (we should fall back to launching ourselves for remote scenarios)
  • launching Flutter Web apps
@DanTup DanTup added this to the v3.2.0 milestone May 23, 2019
@DanTup DanTup added is enhancement in remote Relates to running the extension in a remote setting using VS Code's remote dev support labels May 23, 2019
@DanTup DanTup added the blocked on vs code / lsp / dap Requires a change in VS Code to progress label Jun 6, 2019
@DanTup DanTup modified the milestones: v3.2.0, On Deck Jun 6, 2019
@DanTup DanTup modified the milestones: On Deck, v3.3.0 Jun 20, 2019
@DanTup DanTup removed the blocked on vs code / lsp / dap Requires a change in VS Code to progress label Jul 8, 2019
DanTup added a commit that referenced this issue Jul 8, 2019
DanTup added a commit that referenced this issue Jul 8, 2019
DanTup added a commit that referenced this issue Jul 10, 2019
This won't work due to the requirement to run Chrome (it'll run in the container).

See #1738.
@DanTup DanTup closed this as completed Jul 16, 2019
@audkar
Copy link

audkar commented Jul 17, 2019

Hey @DanTup 👋 I have question to you on this topic. (probably you are the only person in the world who has most knowledge on this symbiosis between vscode, vscode-remote over ssh, flutter and mobile frameworks) :)))

At which layer limitations exists for this "Anything that doesn't make sense in a remote context should be disabled"? I have huge hopes for developing on remote mac when/if it is supported from vscode side. I imaged that I could run automation tests while developing. Or maybe have rdp/vnc connection for simulator, but develop on local vscode. In these cases managing simulators (start/list/stop) would be quite useful IMO. Do you know any insight why this might not work?

@DanTup
Copy link
Member Author

DanTup commented Jul 17, 2019

Right now it's not possible to use VS Code remoting to a Mac over SSH (see microsoft/vscode-remote-release#24 - and please put a 👍 on it!). I don't know the reason for this limitation so it's hard to guess whether it may be lifted in the future or not.

If it was supported then I would expect (though I can't be certain without testing!) that it would work as you describe - though as you say, you'd need VNC or something to see the simulator - or to have a physical device connected and within reach. If you're mostly interested in running tests (and don't need to see the screen) then I guess that should be easier.

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in remote Relates to running the extension in a remote setting using VS Code's remote dev support is enhancement
Projects
None yet
Development

No branches or pull requests

2 participants