All Projects → TypeFox → Monaco Languageclient

TypeFox / Monaco Languageclient

Licence: mit
NPM module to connect Monaco editor with language servers

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Monaco Languageclient

Elm Language Client Vscode
Improving your Elm experience since 2019
Stars: ✭ 162 (-61.34%)
Mutual labels:  vscode, lsp, language-server-protocol, language-server
Fsautocomplete
F# language server using Language Server Protocol
Stars: ✭ 208 (-50.36%)
Mutual labels:  lsp, language-server-protocol, language-server
Dockerfile Language Server Nodejs
A language server for Dockerfiles powered by Node.js, TypeScript, and VSCode technologies.
Stars: ✭ 170 (-59.43%)
Mutual labels:  lsp, language-server-protocol, language-server
Vscode Intelephense
PHP intellisense for Visual Studio Code
Stars: ✭ 872 (+108.11%)
Mutual labels:  vscode, language-server-protocol, language-server
Glsl Language Server
Language server implementation for GLSL
Stars: ✭ 53 (-87.35%)
Mutual labels:  lsp, language-server-protocol, language-server
Nvim Lspconfig
Quickstart configurations for the Nvim LSP client
Stars: ✭ 3,410 (+713.84%)
Mutual labels:  lsp, language-server-protocol, language-server
Kotlin Language Server
Intelligent Kotlin support for any editor/IDE using the Language Server Protocol
Stars: ✭ 650 (+55.13%)
Mutual labels:  vscode, lsp, language-server
Csharp Language Server Protocol
Language Server Protocol in C#
Stars: ✭ 230 (-45.11%)
Mutual labels:  lsp, language-server-protocol, language-server
Langserver Swift
A Swift implementation of the open Language Server Protocol.
Stars: ✭ 171 (-59.19%)
Mutual labels:  vscode, language-server-protocol, language-server
toy-language-server
Example language server (LSP) implementation for a toy language
Stars: ✭ 54 (-87.11%)
Mutual labels:  language-server, language-server-protocol, lsp
camel-language-server
The Apache Camel LSP server implementation
Stars: ✭ 31 (-92.6%)
Mutual labels:  language-server, language-server-protocol, lsp
atom-ide-scala
Scala & Dotty support for Atom IDE (🧟‍♂️ zombie repo)
Stars: ✭ 47 (-88.78%)
Mutual labels:  language-server, language-server-protocol, lsp
Protocol Buffers Language Server
[WIP] Protocol Buffers Language Server
Stars: ✭ 44 (-89.5%)
Mutual labels:  lsp, language-server-protocol, language-server
Erlang ls
The Erlang Language Server
Stars: ✭ 363 (-13.37%)
Mutual labels:  lsp, language-server-protocol, language-server
Typescript Language Server
TypeScript & JavaScript Language Server
Stars: ✭ 462 (+10.26%)
Mutual labels:  lsp, language-server-protocol, language-server
Elm Language Server
Language server implementation for Elm
Stars: ✭ 298 (-28.88%)
Mutual labels:  lsp, language-server-protocol, language-server
groovy-language-server
A language server for Groovy
Stars: ✭ 132 (-68.5%)
Mutual labels:  language-server, language-server-protocol, lsp
typescript-language-server
TypeScript & JavaScript Language Server
Stars: ✭ 1,118 (+166.83%)
Mutual labels:  language-server, language-server-protocol, lsp
vim-lamp
💡Language Server Protocol client for Vim.
Stars: ✭ 34 (-91.89%)
Mutual labels:  language-server-protocol, lsp
vscode-tenkawa-php
Visual Studio Code extension integrating Tenkawa PHP language server.
Stars: ✭ 28 (-93.32%)
Mutual labels:  language-server, lsp

Monaco language client

Gitpod - Code Now PRs Welcome Build Status NPM Version NPM Download

NPM module to connect Monaco editor with language servers

  • Look at the example client to learn how to start Monaco language client.
  • Look at the example express app to learn how to open a web socket with an express app and launch a language server within the current process or as an external process.
  • Look at the browser example to learn how to use a language service written in JavaScript in a simple HTML page.

Click here for a detail explanation how to connect the Monaco editor to your language server.

Getting started

Local dev env

git clone https://github.com/TypeFox/monaco-languageclient.git
cd monaco-languageclient
yarn

Gitpod

Just start a fresh dev environment in Gitpod.

Open in Gitpod

Gitpod is a one-click online IDE for GitHub. It is based on Theia IDE framework and make use of Monaco and the language server protocol by means of monaco-languageclient.

Examples

There are two different examples that demonstrate how the monaco-languageclient can be used. The Node.js example uses Express and WebSockets to enable communication between the language server process and the web application. The browser example shows how a language service written in JavaScript can be used in a Monaco Editor contained in a simple HTML page.

Node.js

The example node package is located under the monaco-languageclient/example directory. All tasks below should be run from this directory.

From CLI:

  • Run yarn and yarn prepare to install dependencies and build the example node package.
  • Run yarn run start to start the express server with the language server running in the same process.
  • Run yarn run start:ext to start the express server with language server running in the external process.

After staring the express server go to http://localhost:3000 to open the sample page.

You can as well run vscode tasks to start and debug the server in different modes.

Browser

The example browser package is located under the monaco-languageclient/examples/browser directory. All tasks below should be run from this directory.

From CLI:

  • Run yarn and yarn run build to install dependencies and build the example HTML and JavaScript files.

After the example has been built, open monaco-languageclient/examples/browser/lib/index.html in a browser to open the sample page.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].