Skip to content

A prototype mobile text editor with Language Server Protocol support

License

Notifications You must be signed in to change notification settings

MozarellaMan/Mobile-LSP-Client

Repository files navigation

Mobile Language Server Protocol IDE

A proof of concept mobile application that connects to my Language Server Proxy that provides the ability to implement many language server features over a remote connection.

This app also uses my Language Proxy Tools library to esablish a connection to the Language Server Proxy, and send and receive messages easily.

Why?

This app shows that it is possible to develop a fully features mobile development environment with the power of the Language Server Protocol providing features over JSON remotely. Not all of the Language Server Protocol has been implemented in this application, but as the proxy provides a direct connection to the Language Server - all of the protocol's features are possible to support.

Screenshots

app running a java file app highlighting a syntax error app running a java file with compilation error app running a java file that asks for input

Features

Currently Implemented

  • File synchronization
  • Running code + sending input to code
  • Code diagnostics and diagnostic highlighting
  • Ability to create new files

Missing

How to try it

The minimum Android API level supported is 21.

Note you MUST be running a Language Server Proxy for the app to connect to.

Apk (recommended)

  • Downlaod the latest APK in the releases section and install on your device or emulator with ADB.
  • Enter the URL of the language server proxy and connect.

Building it yourself

This app uses a, currently in alpha, declarative Android UI framework: Jetpack Compose This framework was a joy to work with and protoype this app quickly and flexibly. At the moment, you need the latest preview version of Android Studio to build this app yourself.

Once you have the above installed and ready, it is simply a matter of cloning the repository and letting gradle build the app, then running it in an emulator with Android Studio

About

A prototype mobile text editor with Language Server Protocol support

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages