v0.5.0 #612
scohen
announced in
Announcements
v0.5.0
#612
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Admittedly, it's been a long while since the last release, but we've laid the groundwork for some exciting new features.
Since November, we've built out our search and indexing infrastructure that allows lexical to find interesting bits of your source code and highlight them for you later. We went through five separate backends before settling on one that is super duper fast, memory efficient(ish) and is written in pure elixir.
Presently, we're using this to power our newest features, find references and go to definition. We've implemented both for modules, module attributes and functions. You'll notice that when lexical starts, it will index your project's source code. This is a one-time operation that should be quick, indexing lexical's and its dependencies 193,000 lines of source code takes around 10 seconds. This means that indexing is on by default, and there's no way to turn it off any more. We've crossed the rubicon, folks, and there's no turning back.
Other good news, because of the indexing infrastructure, we no longer have to do a full build when lexical starts for the first time. This means the startup time has dramatically improved. On the lexical project, it has dropped from 12 seconds to 2.
And we've made a ton of bug fixes and usability improvements since 0.4.1 as well. Some highlights include:
rtx
tomise
As always, I'd like to thank @scottming, @zachallaun and @Blond11516 who were instrumental in getting the core of the language server to the state it is today. Also, thank you @hauleth for ensuring the nix flake works.
What's Changed
Lexical.Document.Path
by @zachallaun in Fix specs inLexical.Document.Path
#433config_env
is called. by @scottming in Fix diagnostics issue whenconfig_env
is called. #439undefined variables
error for HEEx files by @scottming in Ignoreundefined variables
error for HEEx files #463expand_selector
in the case of a syntax error. by @scottming in Fix theexpand_selector
in the case of a syntax error. #524Document.Store
caused by incomplete syntax errors. by @scottming in Fix the termination issue ofDocument.Store
caused by incomplete syntax errors. #528&Module.function/arity
syntax by @zachallaun in Correctly resolve&Module.function/arity
syntax #566defstruct
call finds defined structs by @scohen in Calling find references on adefstruct
call finds defined structs #607New Contributors
Full Changelog: v0.4.1...v0.5.0
This discussion was created from the release v0.5.0.
Beta Was this translation helpful? Give feedback.
All reactions