Skip to content

Releases: erlang-ls/erlang_ls

0.13.0

27 Mar 14:45
013d01d
Compare
Choose a tag to compare
  • Fix config file used by PropEr tests (thanks @pablocostass)
  • Self-describing specs
  • New code lens (named function-references) to show references to a function
  • Optimize indexing (~4x speedup) (thanks @seriyps)
  • Add support for cancelling requests
  • Honour $/cancelRequest in the suggest-specs code lens
  • Limit completion to unexported functions when in an -export (thanks @plux)
  • Jump to variable definition (thanks @plux)
  • Fix linting issues (thanks @plux)

0.12.0

14 Mar 09:48
c5370bd
Compare
Choose a tag to compare
  • Compress document ETS table, reducing RAM consumption (thanks @seriyps)
  • Fix support for snippets
  • Fix Elvis configuration and address linting issues
  • Remove dependency on cowlib, reducing size of the escript and compilation times
  • Enable bound_var_in_pattern, unused_includes and unused_macros diagnostics by default

0.11.0

05 Mar 16:04
23c1aca
Compare
Choose a tag to compare
  • Jump to definition for non fully-qualified BIFs (thanks @al-khanji)
  • Show docs from completion dropdown via completionItem/resolve
  • Fix extraction of spec when showing docs (thanks @gomoripeti)
  • Handle unicode when pretty printing function clauses (thanks @gomoripeti)
  • Make DAP connection to the node hidden (thanks @TheGeorge)
  • Ensure files are indexed when accessed for the first time (thanks @sgillis)
  • Add support for logpoints and fix the watchlist in DAP (thanks @TheGeorge)

0.10.0

20 Feb 12:47
2f95b2a
Compare
Choose a tag to compare
  • Detect unused macros
  • Migrate from lager to OTP logger
  • Highlight already bound variables in patterns (thanks @gomoripeti)
  • Reduce memory consumption for POIs up to 80% (thanks @gomoripeti)
  • Improve DAP support (thanks @TheGeorge)
  • Experimental support for formatting code via the BSP protocol
  • Find references from all function clauses (thanks @gomoripeti)
  • Add Windows CI
  • Improve POI detection in attributes (thanks @gomoripeti)
  • Fix OTP 24 compiler warnings (thanks @garazdawi)
  • Handle macros in type attributes (thanks @gomoripeti)
  • Converted project to umbrella app (thanks @TheGeorge)
  • Fix support for quoted atoms (thanks @keynslug)

0.9.0

23 Jan 09:34
4cebba0
Compare
Choose a tag to compare
  • Support jumping from record field to record definition (thanks to @gomoripeti)
  • Allow usage of long names for the runtime node (thanks to @zsoci)
  • Fix macro renaming, where one extra character was deleted (thanks to @gomoripeti)
  • Build Dialyzer Persistent Lookup Table (plt) as part of make ci (thanks to @alanz)

0.8.0

10 Jan 19:17
9a41d0e
Compare
Choose a tag to compare
  • Suggest type specifications via TypEr
  • Jump to definition for parse transforms
  • Show OTP version on startup
  • Take into account parse transforms runtime dependencies
  • Silence Elvis during tests
  • Don't crash if compiler options are not found (thanks to @zsoci)
  • Handle macros in patterns (thanks to @gomoripeti)
  • Be able to add directories to code path via the code_path_extra_dirs config parameter (thanks to @zsoci)
  • Remove leftovers of db_dir (thanks to @gomoripeti)
  • Be able to define a custom path for the elvis.config file via the elvis_config_path config parameter (thanks to @define-null)

0.7.0

23 Dec 17:25
13550ec
Compare
Choose a tag to compare
  • Add support for snippets
  • Fix a number of bugs related to POI ranges (thanks to @garazdawi)
  • Complete with arity only when dealing with a remote fun
  • Complete facelift for docs on hover
  • Include function clauses on hover
  • Refactor docs handling into separate module
  • Separate docs fetching from formatting
  • Refactor test code for hover into separate modules
  • Introduce symbol highlighting
  • More robust els_code_navigation:find_in_document/5 (thanks to @alanz)
  • Add support for renaming macros and callback functions
  • Be able to navigate to record definitions from types (thanks to @onno-vos-dev )

0.6.0

02 Dec 16:02
fa85f3e
Compare
Choose a tag to compare
  • Include project name in Erlang LS node names
  • Add support for code navigation for record definitions from type specs
  • Rename "xref" diagnostics to "crossref" (since they don't use XRef)
  • Add support for unused include files detection
  • Do not report crossref diagnostics for known pseudo-functions
  • Make docs chunk search use Erlang LS DB rather than code path
  • Remove dependency on Mnesia, use ETS only

0.5.1

10 Nov 12:12
7a5a1eb
Compare
Choose a tag to compare
  • Bump DB Schema version to force DB rebuild

0.5.0

31 Oct 14:30
0a4ec94
Compare
Choose a tag to compare
  • Do not crash while fetching docs due to missing encoding
  • Fix support for OTP 23 in CI
  • Remove obsolete company-lsp instructions
  • Pass custom macros to Dialyzer
  • Assume COMPLETION_TRIGGER_KIND_INVOKED when no context is provided
  • Do not ask for text on save
  • Include experimental support for DAP protocol
  • Add loop detection into dependency discovery
  • Fix path to PLT cache in CI
  • Handle epp error messages as diagnostics for included files
  • Remove spurious call to els_dt_document:lookup/1
  • Provide serverInfo in initialize response
  • Include OTP path to server-info lens to ease troubleshooting
  • Add support for COMPLETION_TRIGGER_KIND_FOR_INCOMPLETE_COMPLETIONS