Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can VS Code run on Android? [closed]

Does anybody know about plans of MS to support running VS Code so it can run on Android OS?

like image 683
Dmytro Khmara Avatar asked Mar 29 '16 16:03

Dmytro Khmara


People also ask

Can we use VS Code in android phone?

We have explained all it's process in this article. To install VS Code in android, you will need to install termux, then install Ubuntu using it, install the code server and use it as a code editor based on VS Code's layout and functioning.

Can VS Code work offline?

You can install extensions manually without an internet connection using the Extensions: Install from VSIX... command, but if you use the extension panel or devcontainer. json to install extensions, your local machine and VS Code Server will need outbound HTTPS (port 443) access to: marketplace.visualstudio.com.

Can we run VS Code on mobile?

You will be only able to install vs code on android phone because the app which we are going to use is available only for android. If you want to know more about vs code and want to know the best editor for coding than read this article – Best code editor for coders.

Can I use VS Code instead of android studio?

Android Studio is a much heavier IDE than VS Code, consuming closer to a solid gigabyte of memory, while VS Code consumes substantially less. It also participates in fairly resource-intensive operations, like indexing your code when you load your project.


2 Answers

Running VS Code on Android is not possible, at least until Android support is implemented in Electron. This has been rejected by the Electron team in the past, see electron#562

Visual Studio Codespaces and GitHub Codespaces an upcoming services that enables running VS Code in a browser. Since everything runs in a browser, it seems likely that mobile OS' will be supported.

It's also possible to run VS Code on Android by installing Linux on your Android device as described in this answer.

like image 123
Daniel Imms Avatar answered Oct 04 '22 21:10

Daniel Imms


I don't agree with the accepted answer that the lack of electron prevents VSC on Android.

Electron is really the desktop equivelent of projects like Apache Cordova or Adobe PhoneGap (but Electron is much less efficient and will presumably give way to solutions much closer to Cordova/PhoneGap when possible - it is already being worked on eg. here.)

API's would need to be mapped from their electron equivelents, and many of the plug-ins will have their own issues (but Android is reasonably flexible about allowing stuff like Python compared to iOS) so it is doable.

On the other hand, the demand for an Android version of VSC probably comes from people using the new Chromebooks that support Android, and there is already a solution for ChromeOS using crouton, available here.

like image 23
Tom Avatar answered Oct 04 '22 21:10

Tom