Replies: 2 comments 3 replies
-
I’m not a maintainer of the project but I have a background in iOS development so take this as an educated guess and please offer any corrections or out-right rejections 😄 It looks like this would be a good place to start. My assumption is that at a high level VSCode being a web app at heart allows it to run in an embedded browser in the Blink app. There are a few different behaviours though based on the kind of URL that you are connecting to. If you have a Github codespace or vscode remote user session then it will open an embedded browser and show that URL to the user. On the other hand if there’s a local file path being referred to then Blink will first spin up a local server that is connected to the iPad’s file system and serve those files up to a browser based session hosted at vscode.dev. Looking elsewhere in the app there is the I’m working on the assumption here that Blink doesn’t actually contain any VSCode files itself instead relying on the versions hosted at Github codespaces and vscode.dev. |
Beta Was this translation helpful? Give feedback.
-
Blink Code is just a thin layer on top of the browser to add some additional features to the browser version of VS Code. So one thing to take into account is that Blink Code is not running any local instance of VS Code. It connects to the remote instance you specify depending on the parameters:
Let me know if you have more questions! |
Beta Was this translation helpful? Give feedback.
-
Hey,
Is there a detailed explanation on how does VS Code work in Blink? I found this: https://docs.blink.sh/advanced/code but it doesn't tell me much on how exactly does it work...what happens when I type
code
?Beta Was this translation helpful? Give feedback.
All reactions