Created
April 4, 2023 01:38
-
-
Save ahey/6d9350589912cc42366c40728a40dcd1 to your computer and use it in GitHub Desktop.
Enable elixir-ls / elixir_sense intellisense for ASH DSLs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get intellisense working with the Ash Framework DSL in VSCode | |
# on MacOS using the asdf version manager | |
git clone https://github.com/elixir-lsp/vscode-elixir-ls.git | |
cd vscode-elixir-ls | |
# Update elixir_sense to the latest version and get dependencies | |
git submodule init | |
git submodule update --remote | |
cd elixir-ls | |
asdf install | |
mix deps.get | |
# Build the extension | |
cd .. | |
npm install | |
npx vsce package | |
code --install-extension *.vsix --force | |
# Open VSCode, and then restart again | |
# Wait for compilation to finish, you can monitor progress in the ElixirLS Output panel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment