Giter Club home page Giter Club logo

vscode_for_android's Introduction

Code FA

这是一个使用 code-server 实现的 VS Code 安卓版。这个方案也有些人实现了,这里也是提供其中一种。

体积会比较大,由于所需要的资源都是整个运行初始化需要的,所以将资源集成到服务器,再动态下载的意义不大。

所以大家综合权衡这种方案与其他开发者的方案。

原理是运行 code-server 再使用 webview 加载视图,会有一些bug,但已经能有一些可观的表现。

这个项目是开源的,上层框架是 Flutter,加载 VS Code 是在 Flutter 中实现,VS Code 运行在 Android WebView 中。

工作比较忙,可能处理问题较慢,见谅。

Cheers! 🍻

功能特性

  • 完全本地运行的 Code Server
  • 支持最新4.13.0版本
  • 支持快速升级 Code-Server 版本
  • 支持自定义 Code-Server 版本
  • 支持无网络环境下运行

开始使用

1.下载 code-server-4.13.0-linux-arm64.tar.gz

2.将下载的文件放到 /sdcard,注意不用解压,不要更改他的文件名

3.启动 Code FA,Engoy it!

更改 Code-Server 版本

1.在 /sdcard 中创建一个名为 code_version 的文件,文件内容为版本号,例如 4.13.0,不要有换行

2.下载对应的版本,放到 /sdcard 中,注意不用解压,不要更改它的文件名

3.启动 Code FA,Engoy it!

已知问题

  • 内置 WebView 对剪切板的适配不友好:可通过外部浏览器打开 127.0.0.1:10000 来绕过这个问题

vscode_for_android's People

Contributors

mengyanshou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.