Skip to content

Instantly share code, notes, and snippets.

@ahey
Created April 4, 2023 01:38
Show Gist options
  • Save ahey/6d9350589912cc42366c40728a40dcd1 to your computer and use it in GitHub Desktop.
Save ahey/6d9350589912cc42366c40728a40dcd1 to your computer and use it in GitHub Desktop.
Enable elixir-ls / elixir_sense intellisense for ASH DSLs
# 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