All Projects → erlang → Sourcer

erlang / Sourcer

Licence: other
An Erlang language server, providing IDE services.

Programming Languages

erlang
1774 projects

Projects that are alternatives of or similar to Sourcer

Elixir Ls
A frontend-independent IDE "smartness" server for Elixir. Implements the "Language Server Protocol" standard and provides debugger support via the "Debug Adapter Protocol"
Stars: ✭ 587 (+393.28%)
Mutual labels:  language-server-protocol
Lsp
Client implementation of the Language Server Protocol for Sublime Text
Stars: ✭ 1,018 (+755.46%)
Mutual labels:  language-server-protocol
Vista.vim
🌵 Viewer & Finder for LSP symbols and tags
Stars: ✭ 1,218 (+923.53%)
Mutual labels:  language-server-protocol
Python Language Server
Microsoft Language Server for Python
Stars: ✭ 778 (+553.78%)
Mutual labels:  language-server-protocol
Kakoune Languageclient
Small implementation of a language client for kakoune.
Stars: ✭ 9 (-92.44%)
Mutual labels:  language-server-protocol
Protocol Buffers Language Server
[WIP] Protocol Buffers Language Server
Stars: ✭ 44 (-63.03%)
Mutual labels:  language-server-protocol
Typescript Language Server
TypeScript & JavaScript Language Server
Stars: ✭ 462 (+288.24%)
Mutual labels:  language-server-protocol
Lemminx
XML Language Server
Stars: ✭ 117 (-1.68%)
Mutual labels:  language-server-protocol
Vscode Intelephense
PHP intellisense for Visual Studio Code
Stars: ✭ 872 (+632.77%)
Mutual labels:  language-server-protocol
Lsp Javascript
Stars: ✭ 55 (-53.78%)
Mutual labels:  language-server-protocol
Pylance Release
Documentation and issues for Pylance
Stars: ✭ 782 (+557.14%)
Mutual labels:  language-server-protocol
Eclipse.jdt.ls
Java language server
Stars: ✭ 888 (+646.22%)
Mutual labels:  language-server-protocol
Rubberduck
Better code navigation on GitHub: Usages, Definitions and Files Tree on code pages and pull requests
Stars: ✭ 50 (-57.98%)
Mutual labels:  language-server-protocol
Spyder
Official repository for Spyder - The Scientific Python Development Environment
Stars: ✭ 6,712 (+5540.34%)
Mutual labels:  language-server-protocol
Swiftlspclient
A Swift library for interacting with Language Server Protocol implementations
Stars: ✭ 84 (-29.41%)
Mutual labels:  language-server-protocol
Vim Lsc
A vim plugin for communicating with a language server
Stars: ✭ 545 (+357.98%)
Mutual labels:  language-server-protocol
Php Language Server
PHP Implementation of the VS Code Language Server Protocol 🆚↔🖥
Stars: ✭ 1,019 (+756.3%)
Mutual labels:  language-server-protocol
Cl Lsp
An implementation of the Language Server Protocol for Common Lisp
Stars: ✭ 117 (-1.68%)
Mutual labels:  language-server-protocol
Dls
A Language Server implementation for D
Stars: ✭ 103 (-13.45%)
Mutual labels:  language-server-protocol
Glsl Language Server
Language server implementation for GLSL
Stars: ✭ 53 (-55.46%)
Mutual labels:  language-server-protocol

Sourcer - language services for IDEs

This is a new incarnation of the sourcer project, the old code is still available on the legacy branch.

Sourcer aims to provide:

  • a generic language server implementation lsp_server
  • Erlang support for the above erlang_ls
  • Erlang language services library sourcer

Generic language server lsp_server

The generic language server uses a TCP connection to talk LSP with clients. It encodes/decodes the messages and delegates the actual work to a language specific server, using cancelable worker processes. It also supports making requests to the client.

Erlang server erlang_ls

This is the "real" server, connecting the generic and specific parts and an adapter from LSP to the 'sourcer' data format (see below) and back.

Supported Options

  • --help, -h, undefined, Shows help;
  • --dump, -d, string, Dump sourcer db for file;
  • --port, -p, integer, LSP server port;
  • --verbose, -v, integer, Verbosity level;
  • --indent, -i, string, Indent file(s) and exit;
  • --config, N/A, string, Configuration file.

Configuration

Configuration file contains property list.

Currently we only support these keys:

  • indent - controls indentation parameters.

Example:

{indent, [{indentW, 2}]}.

Language services library sourcer

The actual work is done by this application. It is meant to be LSP-agnostic so that it can be used in other contexts and tools.

An own parser (largely based on the legacy 'sourcer' code, but simpler) processes the source code and produces a ctags-like database containing information about all interesting code entities. The database should be distributed, in the sense that libraries should be able to provide the data about their own code (produced at build time).

Query facilities are provided so that the information in the database is presented in a way that the LSP expects.

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].