![Cover image for How to install Vscode on android](https://media.dev.to/cdn-cgi/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fdxviw4f5193ef516s8o1.png)
Hello there. Today (about an hour ago) I tried something cool. As the title says it. I will show you how to install visual studio code (code Oss) o...
For further actions, you may consider blocking this person and/or reporting abuse
Now for bonus points, how do I install node to that ubuntu instance, and map/mount the sd card :D
Any idea how to install code server directly on termux home or make a link for my files to Ubuntu? All of my project folders, packages, modules are in termux home directory which can't seem to be accessed using code server.
Personally I have never tried. You could do so :). I don't use the vscode that much tho
Which code editor are you then using?
Vim/Emacs
Just to let you know, there is also an vs code clone on playstore named VHS code. If you want you could also make a article on that so others can benefit from it.
Is there?
Here's the link. It has bugs though. play.google.com/store/apps/details.... If you want you code check out these two apps. Acode and spck code editor.
VHS code seems to work fine. It's basically just a wrapper for termux running code-server. Which is great actually. There will be lots of input bugs on phones because Monaco doesn't really support touch screens and phone keyboards for some reason. But physical keyboards or Samsung Dex should work well
Install codeboard or hacker's keyboard. You should not have any typing issues after that.
Well, I might have tiny-screen issues on my phone. I'm just excited to have the option to dev for real on Android. It will go well with windowing, laptops, tablets etc
yeap. Dev for real? Well, I use it an alternative till I get a new pc. It still lacks a lot of things.
Well primarily I use Windows, Linux, Mac OS, and even chrome os, but this is a nice step towards making Android a viable platform to develop on
True
I ended up installing code-server in a cloud provider I had and installed the site as a pwa on the phone. Having the full linux bash in the terminal is nice and it requires less work compiling weird projects. The next step would be to create a vpn so the phone could share a connection to another network (or if it was run on a laptop) to access things on a local network (I'm an IoT dev)
Those crazy things we can acheive nowadays ! 😅
Yeah it's cool
I'd love to see an update to this article using the newest version of code-server.
This is beautiful! Now my Galaxy Tap is a full-fledged dev machine. I'd never imagined I could do genuine C++ development on Android.
That's exciting. I can now write C/C++ and even Rust on my phone 🤪
This was helpful but how can i run cpp on it?
Hi, as visual studio code is running inside termux, you can technically run any command from vscode terminal and it will get executed in termux. Just make sure you have
clang
orgcc
installed.Uou... Thanks for this! o/
My python extensions are not installing ... it's shows an error telling that ...this extension is not compatible for this version..how do I install the latest version of it
I think that could be expected as the extension builds are designed to run on some specific platforms. It is possible to modify the extension to run on
aarch
though