Language Client (MOD)

All plugins

By QiubyZhukhi

Version 1.0.6

Acode Language Client Note This plugin is meant to replace Acode Language Servers plugin. Uninstall before installing this plugin WARNING Please update your server to the npm version. WARNING Please update your server to v1.0.6 or higher for this plugin to work properly. Acode plugin that adds support for language servers. Udate your server To update the server from npm run Supported Features - Auto Complettion - Import Completion (Javascript/Typescript/Python) - Code Formatting (Full / Selected Text) - Go to definition, declaration, implementation, references - Rename Symbol - Code actions - Error Diagnostics - Code navigations via breadcrumbs - Supports code lens New in v1.0.4 - Support for bottom footer showing server info - Fixed major bug issue New in v1.0.2 - Support for breadcrumb navigation. - Added support for code lens. To setup server To install the server from npm run To run the server use Supported Languages The following programming languages are currently supported. These are supported without starting the server. - HTML - CSS - SCSS - LESS - JSON - JSON5 The following requires the server to work. - JAVASCRIPT (Uses typescript) - TYPESCRIPT (Uses typescript) - JSX (Uses typescript) - TSX (Uses typescript) - PYTHON (Uses pylsp) - JAVA (Uses jdtls) - C-CPP (Uses clangd) - RUST (Uses rust-analyzer) - VUE (Uses vue-language-server) Usage This section explains how to use the plugin and the exposed api's for usage in other Acode plugins Youtube tutorial: https://youtu.be/e8Ge4qBd--c?si=314bPpChORcFu4jT Server The server is an express websocket application where: /python sets up a jsonrpc websocket connection to the python language server. /javascript sets up a jsonrpc websocket connection to the javascript language server etc. If you cloned this repo, it comes with the server so just run: To install the server run the following command: API The plugin exposes the following api's to create language clients for Acode Example of a acode typescript plugin that adds typescript language client abilities .getSocket(url: string) The argument url must start with either server/ or auto/ . If not use ReconnectingWebSocket instead of .getSocket This function returns a ReconnectingWebsocket instance. Use server/ the language is in: - typescript - python - java - vue - html - c cpp Else use auto/ ?args= to execute an already installed language server by…