My daily driver is Android + Samsung DeX, and I've tried doing this a couple different ways. In the end, the only thing that didn't make me pull me hair out in the long run was proper VSCode (arm64 build) inside termux/Ubuntu (installed via Andronix). Crucially, the only VNC client that works well with this (and I've tried all the paid ones too) is AVNC from FDroid.
I had too many issues with code-server and vscodium and such when it came to proprietary extensions unfortunately, and my actual dev machine is in the cloud so I rely on the Remote Dev extension. Has to be real VSCode.
I like that you can create a PWA from a standard code-server deployment too, and that works quite nice on DeX (proper immersive-mode full screen), but for me that has been too limiting because I cannot remap my brain away from my vim keybindings, and some stuff just doesn't work in a browser context. The browser will take over certain things (like ESC for getting out of full screen or alt+tab for navigating across browser tabs rather than VSCode tabs, etc).
As a rule of thumb now, any software that's complicated enough to require tabs, I try to run native arm64 builds for (VSCode, Obsidian, browser) and everything else I can get away with kiosk-mode browser windows masquerading as apps (email, calendar, feed reader, chat).
Can you elaborate on how you use DeX specifically? I recently bought my first Samsung - and was a bit curious about it, surprised to hear that it is a powerful tool.
Great! I have been wondering why something like this did not already exist, given that you can already run a full Ubuntu from termux (and indeed people have run a coder-server from such an environment). Someone must be able to create a more user-friendly version of vscode on Android. Will try this out on my Samsung tablet.
My only concern is the memory management -- vscode (and its extensions) is not super friendly in its memory usage, and on a phone/tablet the RAM could easily run out, even if swap is enabled.
This is made by the makers of UserLAnd - Run Linux on Android. Looking for early feedback. If you want a promo code (first 500) please email support@userland.tech.
Is there a planned feature for it to be incorporated into UserLAnd? Possibly through an In-App Purchase? It would be neat to be able to manage this along side other UserLAnd instances
It's basically self-hosted VS Code in a browser. I can switch from my desktop to my laptop, even to my phone, and pick up right where I left off with uncommitted changes, long running processes, etc. Additionally, I get the full resources of my server and don't have to worry about it running down my battery or causing the fans to spin up on my laptop.
> I can switch from my desktop to my laptop, even to my phone, and pick up right where I left off with uncommitted changes, long running processes, etc.
Valid only while you have a (good) internet connection.
From the screenshots this seems to use an X/VNC server or something, it might be good to also explore using https://github.com/coder/code-server with a native Android browser to get things like graphics acceleration (though with disadvantages like not being about to develop graphical applications)
code-server can't use Microsoft's extension marketplace, but this can. Supposedly this runs the original Microsoft binary which is why things work exactly like a Linux desktop version. I know, this sucks.
Just installed, c sharp extension installed fine, looks very promising.
The only issue I've run into so far is signing into my Microsoft Azure and GitHub account since it doesn't seem to be able to load a web browser by default from this VS code instance?
My biggest gripe with vscode on Android (code-server pwa on DeX) is lack of mouse hover and text selection. With so much intellisense hidden behind mouse popovers not having access to that is a bit of a show stopper.
I installed devStudio and hover seems to work fine, probably due to the vnc layer. What doesn't work well is the mouse pointer, there is a weird offset between the native cursor and the vnc cursor.
The web version you linked does not support the remote SSH extension, which is critical for many folks workflows. I can’t do any work without that extension.
I’m curious if the android version supports this extension?
Ironic that you call it a walled garden when the online version is not self hostable as actual VSCode is and is offered online at Microsoft's sole discretion.
Microsoft's version does not work on mobile. I have tried many times to make it work on Chrome on Android, but it just isn't designed to work on a small screen and is unusable. It's sad.
When I got out of jail all I had was smartphones I would borrow from friends and the only way I could end up developing sanely was to open a terminal to a Linux box and just use nano instead, which meant no IDE with auto-complete, syntax lookups, formatting and most importantly, debugging.
Is there an open source / self hosted version of that (preferably with support for remote ssh, since it should be easy to support in a self-hosted environment)
I don't have a decent enough Android device to play with this, but how would one / could one run tsc alongside it on Android? Invoked through termux or something?
Because getting a high resolution, oled, good aspect ratio, fast refresh rate display is much easier and more affordable on a tablet? Sure, even with a kickstand it is not quite as "lapable", but the screens are nice.
On a related note, when is pkvm supposed to be available outside pixel devices? Getting a proper linux or windows VM on one of the bigger samsung tablets + keyboard just might replace my laptop (yeah, remote stuff works, but offline on device would be much more convenient, e.g. on trains).
Code App is a similar app available on iOS. I've used it a bit, and it's pretty polished. It's a paid app in the app store but the testflight build is available for free.
I think they only look similar but are completely different. OP's app runs a full-featured vscode (not creating a new editor) and supposedly has access to all vscode's marketplace extensions.
paraknight|2 years ago
I had too many issues with code-server and vscodium and such when it came to proprietary extensions unfortunately, and my actual dev machine is in the cloud so I rely on the Remote Dev extension. Has to be real VSCode.
I like that you can create a PWA from a standard code-server deployment too, and that works quite nice on DeX (proper immersive-mode full screen), but for me that has been too limiting because I cannot remap my brain away from my vim keybindings, and some stuff just doesn't work in a browser context. The browser will take over certain things (like ESC for getting out of full screen or alt+tab for navigating across browser tabs rather than VSCode tabs, etc).
As a rule of thumb now, any software that's complicated enough to require tabs, I try to run native arm64 builds for (VSCode, Obsidian, browser) and everything else I can get away with kiosk-mode browser windows masquerading as apps (email, calendar, feed reader, chat).
reedf1|2 years ago
rcarmo|2 years ago
o1y32|2 years ago
My only concern is the memory management -- vscode (and its extensions) is not super friendly in its memory usage, and on a phone/tablet the RAM could easily run out, even if swap is enabled.
archargelod|2 years ago
jeroenhd|2 years ago
I wouldn't even try it on a budget device, but high end Androids should run this more than well enough.
raybb|2 years ago
I searched a bit but saw some conflicting info and most of it was quite old. It seemed like people don't recommend doing it is possible.
userland_tech|2 years ago
userland_tech|2 years ago
wrexx0r|2 years ago
Edit: Nevermind it is there. Super Awesome
kposehn|2 years ago
nfriedly|2 years ago
It's basically self-hosted VS Code in a browser. I can switch from my desktop to my laptop, even to my phone, and pick up right where I left off with uncommitted changes, long running processes, etc. Additionally, I get the full resources of my server and don't have to worry about it running down my battery or causing the fans to spin up on my laptop.
qingcharles|2 years ago
https://vscode.dev/
ris58h|2 years ago
Valid only while you have a (good) internet connection.
circuit10|2 years ago
userland_tech|2 years ago
o1y32|2 years ago
fire|2 years ago
I'm curious how much tweaking you needed to do to get this to work - I'd love to see this with https://cursor.sh (vscodium based) as the editor
userland_tech|2 years ago
figers|2 years ago
The only issue I've run into so far is signing into my Microsoft Azure and GitHub account since it doesn't seem to be able to load a web browser by default from this VS code instance?
userland_tech|2 years ago
flagged24|2 years ago
flagged24|2 years ago
iampivot|2 years ago
userland_tech|2 years ago
unknown|2 years ago
[deleted]
kindawinda|2 years ago
tbenst|2 years ago
I’m curious if the android version supports this extension?
satvikpendem|2 years ago
qingcharles|2 years ago
When I got out of jail all I had was smartphones I would borrow from friends and the only way I could end up developing sanely was to open a terminal to a Linux box and just use nano instead, which meant no IDE with auto-complete, syntax lookups, formatting and most importantly, debugging.
hedora|2 years ago
noduerme|2 years ago
unknown|2 years ago
[deleted]
vanarok|2 years ago
issafram|2 years ago
darknavi|2 years ago
What seems crazy to me seems to work for others. I assume many of them are constrained by what they can afford.
diffeomorphism|2 years ago
On a related note, when is pkvm supposed to be available outside pixel devices? Getting a proper linux or windows VM on one of the bigger samsung tablets + keyboard just might replace my laptop (yeah, remote stuff works, but offline on device would be much more convenient, e.g. on trains).
jeroenhd|2 years ago
jyf007|2 years ago
mknapper1|2 years ago
https://github.com/thebaselab/codeapp
o1y32|2 years ago
kposehn|2 years ago
rock_artist|2 years ago
dijit|2 years ago
unknown|2 years ago
[deleted]