Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.44 KB

DEVELOPMENT.md

File metadata and controls

35 lines (23 loc) · 1.44 KB

Development

Packaging

  1. Update the elixir-ls submodule git submodule foreach git pull origin master to desired tag

  2. Update version in package.json (to e.g. 0.15.0)

  3. Update CHANGELOG.md

  4. Test the new vscode-elixir-ls version with:

    npm install
    npm install -g @vscode/vsce@latest
    vsce package
    code --install-extension ./elixir-ls-*.vsix --force
  5. Push and verify the build is green.

  6. Tag and push tags. Tag needs to be version prefixed with v (e.g. v0.15.0). Github action will create and publish the release to Visual Studio Marketplace and Open VSX Registry. Semver prerelease tags (e.g. v0.1.0-rc.0) will dry run publish.

  7. Update forum announcement post: https://elixirforum.com/t/introducing-elixirls-the-elixir-language-server/5857

Updating allowed dialyzer options

The list in [project.json] needs to be updated to accommodate for changes in OTP basing on the list from https://github.com/erlang/otp/blob/412bff5196fc0ab88a61fe37ca30e5226fc7872d/lib/dialyzer/src/dialyzer_options.erl#L495

References

https://code.visualstudio.com/api/working-with-extensions/publishing-extension

Personal Access Token (PAT) direct link: https://dev.azure.com/elixir-lsp/_usersSettings/tokens

https://code.visualstudio.com/api/language-extensions/embedded-languages

VSCode grammar debugging

Run "Developer: Inspect Editor Tokens and Scopes" when you want to debug the textmate grammar