perl-lsp version 0.6.0

I'm pleased to announce the release of perl-lsp version 0.6.0; you can install it from Github releases, from crates.io via cargo install perl-lsp, or as a vscode or vscodium extension. If you are a zed user, you can opt in using the zed-perl extension following these instructions.

Notable new features in this version: - Type Narrowing - ref/isa/defined checks and early returns will type the checked variable for the duration of the block as relevant - Diagnostics - warnings if your code is dereferencing against a known or possibly undef value, or otherwise incompatibly (methods from the wrong class, array deref on a known hash value) - Rename Symmetry - a lot of edge cases in workspace-wide rename were closed, ensuring that whichever side of a reference to a sub/variable will rename all known references. For inherited methods, rename the full inheritance hierarchy, with a configurable more conservative mode which only renames that specific method. - Heatmap - generate a json heatmap of used/unused and complex functions/methods. Driven by the --heatmap flag to the CLI, with an optional --html flag to generate a nice viewer on top of the output

I would love feedback on the project; I'm very excited about the performance and semantic depth that it can achieve, and would love to close out weird edge cases and build useful features that would help everyone in their day to day editing.

Leave a comment

About Veesh

user-pic I do full-stack development with Mojolicious and Vue.