abdul-hamid-achik / nova-elixir-ls

Elixir Language Server extension for Nova.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elixir Language Server for Nova

This extension adds advanced support for Elixir features. It is powered by elixir-ls. It is currently experimental. Please report any issues you run into.

Supported Features

  • Go-to-definition (working)
  • Reporting of build warnings and errors (working)
  • Documentation lookup on hover (working)
  • Dialyzer analysis (working)
  • Code completion (working)
  • Format code on save (experimental)
  • Find references (experimental)

Contributions

Help improving this extension.

To do this, you need to execute the following commands.

pwd # should look like /somewhere/on/your/drive/in/nova-elixir-ls
# install necessary project dependencies
yarn install # npm install

# compile elixir-ls
cd elixir-ls
mix deps.get
mix compile
mix elixir_ls.release -o ../ElixirLS.novaextension/elixir-ls-release
cd ..

# bundle nova extension
yarn build # npm run build

Finally, you have to activate this extension. To do this, in Preferences -> General -> activate 'Show extension development items in the Extensions menu', and then click on 'Activate Project as Extension' in the menu 'Extensions'.

Acknowledgements

Syntax highlighting and language completions are adapted from https://github.com/stollcri/elixir.novaextension with permission from the maintainer.

This project is heavily inspired by https://github.com/apexskier/nova-typescript

About

Elixir Language Server extension for Nova.


Languages

Language:TypeScript 97.3%Language:JavaScript 2.7%