crystal-lang-tools / Scry

Licence: mit
Scry is a code analysis server for https://crystal-lang.org

Programming Languages

crystal
512 projects

Projects that are alternatives of or similar to Scry

atom-ide-cpp
C/C++ language support for Atom-IDE
Stars: ✭ 34 (-88.44%)
Mutual labels:  language-server-protocol
atom-ide-crystal
Crystal IDE package for Atom using the Scry Language Server
Stars: ✭ 24 (-91.84%)
Mutual labels:  language-server-protocol
toy-language-server
Example language server (LSP) implementation for a toy language
Stars: ✭ 54 (-81.63%)
Mutual labels:  language-server-protocol
ember-language-server
Language Server Protocol implementation for Ember.js projects
Stars: ✭ 93 (-68.37%)
Mutual labels:  language-server-protocol
stardog-language-servers
Language Servers for Stardog Languages
Stars: ✭ 19 (-93.54%)
Mutual labels:  language-server-protocol
protocol
Package protocol implements Language Server Protocol specification in Go
Stars: ✭ 41 (-86.05%)
Mutual labels:  language-server-protocol
dockerfile-language-service
Dockerfile language service for providing an API to create feature-rich Dockerfile editors in JavaScript.
Stars: ✭ 15 (-94.9%)
Mutual labels:  language-server-protocol
ide-yaml
Atom-IDE support for YAML language
Stars: ✭ 16 (-94.56%)
Mutual labels:  language-server-protocol
vim-ccls
Vim plugin for the ccls language server
Stars: ✭ 66 (-77.55%)
Mutual labels:  language-server-protocol
LuaHelper
LuaHelper is a High-performance lua VSCode plugin, Language Server Protocol for lua.
Stars: ✭ 170 (-42.18%)
Mutual labels:  language-server-protocol
reproto
Rethinking Protocols
Stars: ✭ 110 (-62.59%)
Mutual labels:  language-server-protocol
papyrus-lang
📜Advanced language tools for the Papyrus scripting language.
Stars: ✭ 65 (-77.89%)
Mutual labels:  language-server-protocol
lsp-wl
A Wolfram Language Server
Stars: ✭ 157 (-46.6%)
Mutual labels:  language-server-protocol
atom-ide-scala
Scala & Dotty support for Atom IDE (🧟‍♂️ zombie repo)
Stars: ✭ 47 (-84.01%)
Mutual labels:  language-server-protocol
camel-language-server
The Apache Camel LSP server implementation
Stars: ✭ 31 (-89.46%)
Mutual labels:  language-server-protocol
vim-lamp
💡Language Server Protocol client for Vim.
Stars: ✭ 34 (-88.44%)
Mutual labels:  language-server-protocol
ide-go
Go language support for Atom-IDE, powered by Sourcegraph's Go Language Server
Stars: ✭ 39 (-86.73%)
Mutual labels:  language-server-protocol
jdtls-launcher
The simplest way to install and launch JDTLS
Stars: ✭ 29 (-90.14%)
Mutual labels:  language-server-protocol
nova-typescript
Typescript support for Nova
Stars: ✭ 53 (-81.97%)
Mutual labels:  language-server-protocol
clj-kondo.lsp
Clj-kondo language server and VSCode extension: https://marketplace.visualstudio.com/items?itemName=borkdude.clj-kondo
Stars: ✭ 17 (-94.22%)
Mutual labels:  language-server-protocol

Scry

Join the chat at https://gitter.im/crystal-scry/Lobby

Build Status

Scry logo

Scry is a code analysis server for Crystal. It is an implementation of a common language protocol. It is being built as a server for VSCode, but is compatible with any client that implements this protocol.

The server is implemented in Crystal.

Installation

To install Scry download it from the releases page or compile the latest version using:

Note: Crystal is required in order to compile Scry.

git clone https://github.com/crystal-lang-tools/scry.git
cd scry
shards build --verbose --release

Then, set your LSP client's scry binary path to point to scry/bin/scry.

Known issues

  • Completion feature is still experimental.
  • Unexpected diagnostics can appear on files using implicit require, try using explicit require at top of your files.
  • Go to definition only works for some methods and variables. Go to classes or macros definition is not supported yet.
  • Symbol listing works per file, searching for workspace symbols is not supported yet.

Roadmap

Ongoing, in our free time.

The goal is to implement all of the currently supported Language Server features.

  • Completion (WIP): compute completion items at a given cursor position.
  • Diagnostics (WIP): provides problem detection for text document.
  • Document Formatting (WIP): this includes formatting of whole documents, document ranges and formatting on type.
  • Goto Definition: (WIP) provides go to definition support for a symbol selected in a text document.
  • Document Highlights: highlights all 'equal' symbols in a text document.
  • Hover: provides hover information for a symbol selected in a text document.
  • Signature Help: provides signature help for a symbol selected in a text document.
  • Find References: finds all project-wide references for a symbol selected in a text document.
  • List Document Symbols: (WIP) lists all symbols defined in a text document.
  • List Workspace Symbols: (WIP) lists all project-wide symbols.
  • Code Actions: compute commands for a given text document and range.
  • CodeLens: compute CodeLens statistics for a given text document. (OK, maybe not this one)
  • rename: project-wide rename of a symbol.

Contributing

  1. Fork it https://github.com/crystal-lang-tools/scry/fork
  2. Create your feature branch git checkout -b my-new-feature
  3. Commit your changes git commit -am 'Add some feature'
  4. Push to the branch git push origin my-new-feature
  5. Create a new Pull Request

Contributors

See all of Scry's contributors

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