Releases: sublimelsp/LSP
4070-1.24.0
Sublime Text once it finishes updating all packages.
Breaking changes
- Diagnostics for files that are not within the project folders are no longer ignored.
You can set"diagnostics_mode": "workspace"
in server-specific configuration to enable old behavior.
New features
- Add support for pull diagnostics (#2221) (jwortmann)
- Add "outline" as an option for "document_highlight_style" (#2234) (Terminal)
- add "show_multiline_document_highlights" setting (#2247) (Tito)
Fixes
- Fix handling of folder_exclude_patterns in projects (#2237) (Rafał Chłodnicki)
- html-escape diagnostic-related strings (#2228) (Rafał Chłodnicki)
- Fix exception for null response id (#2233) (jwortmann)
- Fix some features might not work with dynamical registration (#2222) (jwortmann)
Improvements
- use class for diagnostic info instead of hardcoding color (#2257) (Rafał Chłodnicki)
- Use regular font style in sighelp popup if already highlighted by color scheme (#2259) (jwortmann)
- Add support and mode for workspace pull diagnostics (#2225) (jwortmann)
- don't send params for requests/notifications that don't expect them (#2240) (Rafał Chłodnicki)
- optimize creation of code actions annotation region (#2239) (Rafał Chłodnicki)
- Allow style overrides for inlay_hints.css (#2232) (jwortmann)
- Improve label detail support in completions (#2212) (ryuukk)
- Update clojure-lsp docs (#2226) (Raffael Stein)
4070-1.23.0
Sublime Text once it finishes updating all packages.
Breaking changes
- removed bundled
rust-analyzer
client config - install https://packagecontrol.io/packages/LSP-rust-analyzer instead - removed bundled
clangd
client config - install https://packagecontrol.io/packages/LSP-clangd instead - removed bundled
gopls
client config - install https://packagecontrol.io/packages/LSP-gopls instead
If you had one of those configs enabled in your LSP Settings then it will no longer do anything. You can
restore the removed config from #2206 into your LSP Settings but we
instead recommend installing the relevant helper package which takes care of managing the server dependency
and includes all necessary settings that the server can use.
Features
- (inlay hints) toggle inlay hints command/menu item (#2023) (Предраг Николић)
- (completions) add support for CompletionList.itemDefaults (#2194) (Предраг Николић)
Fixes and Improvements
- (settings) better grouping of default settings (#2206) (Rafał Chłodnicki)
- (general) don't initialize TextChange listeners for widgets (#2213) (Rafał Chłodnicki)
- (general) protect again invalid
auto_complete_triggers
values (#2209) (Rafał Chłodnicki) - (general) tell if any selection changed in addition to just the first region (#2204) (Rafał Chłodnicki)
- (general) Don't run non-essential requests during save (#2203) (Rafał Chłodnicki)
- (general) add language ID mapping for TailwindCSS syntax (#2198) (Предраг Николић)
- (general) fix hidden code action menu entries sometimes being visible (#2187) (jwortmann)
- (completions) optimize performance of handling huge completion payloads (#2190) (Rafał Chłodnicki)
- (completions) tweak formatting with labelDetails (#2207) (jwortmann)
- (diagnostics) do not wrongly ignore diagnostics when symlinks are involved (#2210) (Rafał Chłodnicki)
- (diagnostics) notify opened files immediately if there are pending diagnostics (#2211) (Rafał Chłodnicki)
- (call hierarchy) highlight call location for incoming calls (#2208) (jwortmann)
- (code actions) check capabilities against buffer when requesting code actions (#2202) (Rafał Chłodnicki)
- (docs) add Digestif server configuration (#2205) (jwortmann)
- (logging) fix log panel not scrolling on initial open (#2188) (Rafał Chłodnicki)
4070-1.22.0
Breaking changes
- don't show diagnostics panel on save by default (#2179) (Glauco Custódio)
Features
- Implement type hierarchy request (#2180) (jwortmann)
- Implement call hierarchy request (#2151) (jwortmann)
Fixes and Improvements
- Perform inlay hint action on double instead of single click (#2175) (Предраг Николић)
- support canceling pending completions request (#2177) (Rafał Chłodnicki)
- fix stale state or lack of updates on changing branches (#2182) (Rafał Chłodnicki)
- Add timestamp and request duration in LSP logs (#2181) (Rafał Chłodnicki)
- workaround for View Listeners not being attached for new transient view (#2174) (Rafał Chłodnicki)
- Make Document Symbols behavior more consistent with built-in Goto Symbol (#2166) (jwortmann)
- Allow missing window/workDoneProgress/create request from the server (#2159) (Raoul Wols)
- Use "plaintext" language ID for plain text files (#2164) (Предраг Николић)
- Don't use "escapeall" extension when formatting with mdpopups (#2163) (Rafał Chłodnicki)
- support "force_group" and "group" arguments in "lsp_symbol_references" (#2186) (Rafał Chłodnicki)
Plugin API changes
4070-1.21.0
Features
- Add "Source Action" entry to the "Edit" main menu (#2149) (jwortmann)
- Add "Refactor" entry to the "Edit" main menu (#2141) (jwortmann)
- Auto-restart on server crashing, up to 5 times (#2145) (Lucas Alber)
Fixes and Improvements
- Fix inlay hint parts wrapping into multiple lines (#2153) (Rafał Chłodnicki)
- Ensure commands triggered from minihtml run on correct view (#2154) (Rafał Chłodnicki)
- Fix completion documentation being parsed as markdown twice (#2146) (Rafał Chłodnicki)
- When going to definition, scroll to start of the region, not end (#2147) (Rafał Chłodnicki)
- Improve performance of completion & signature request on typing (#2148) (Rafał Chłodnicki)
- Fix code lenses not updating after Undo (#2139) (Rafał Chłodnicki)
- Add missing Goto commands to Command Palette (#2140) (Rafał Chłodnicki)
- docs: add missing keyboard shortcuts (#2143) (Rafał Chłodnicki)
- Pass force_group to LocationPicker (#2134) (Rafał Chłodnicki)
- Don't advertise support for disabled code actions (#2137) (Rafał Chłodnicki)
- Add context for lsp_open_link key binding (#2138) (jwortmann)
- Fix prepareRename support (#2127) (Rafał Chłodnicki)
- docs(language_servers): add markmark language server (for Markdown) (#2129) (Nico Rehwaldt)
- Fix plugin overwrite
on_workspace_configuration
(#2132) (Lucas Alber) - Hide inactive items in context menu (#2124) (jwortmann)
- Don't show a source if diagnostic doesn't have a source (#2119) (Sainan)
- Combine file and range formatting entries in context menu (#2123) (jwortmann)
- Add language id for Django templates (Jannis Vajen)
- Nicer presentation for "find references/definition" quick panel (#2109) (Rafał Chłodnicki)
- Make Goto Diagnostic overlays consistent (#2115) (jwortmann)
- Don't trigger code action requests for background views (#2108) (Rafał Chłodnicki)
- Ignore diagnostics for files in folder_exclude_patterns (#2113) (jwortmann)
- Fix diagnostics underline color priority (#2106) (jwortmann)
- Fix diagnostics_additional_delay_auto_complete_ms not working after split view (#2107) (jwortmann)
4070-1.20.0
Features
- (API) Add
$line
and$character
expansion variables (#2092) (Matthew Erhard)
Fixes and Improvements
- (Code Action) Filter out non-quickfix actions in view (#2081) (Rafał Chłodnicki)
- (JSON Schema) Fix crash on generating schema with mixed-type enum (#2083) (Rafał Chłodnicki)
- (UI) Update diagnostics gutter icons and change default to "sign" (#2086) (jwortmann)
- (Color Boxes) Fix short color box rendering bug after color presentation change (#2087) (jwortmann)
- Properly handle disabling of the LSP package (#2085) (Rafał Chłodnicki)
- Fix issues with restarting servers (#2088) (Rafał Chłodnicki)
- (Diagnostics) Only enable Goto Diagnostic commands if diagnostic with configured severity exists (#2091) (jwortmann)
- (Document Symbol) Focus symbol closest to selection on showing document symbols (#2094) (Rafał Chłodnicki)
- (Docs) Add LSP-clangd and LSP-terraform to Language Servers (#2096) (Rafał Chłodnicki)
- (Document Link) Adjust the label to "Open in Browser" if the target is not a file uri (#2098) (jwortmann)
- Add Jinja to language ids (#2099) (Предраг Николић)
- Add Elixir to language ids (#2100) (Предраг Николић)
4070-1.19.0
Features
- (Completions) Add insert-replace support for completions (#1809) (Предраг Николић)
- (Code Actions) Add support for triggerKind in code action requests (#2042) (Rafał Chłodnicki)
- (Code Actions) Add icons and isPreferred support for code actions (#2040) (jwortmann)
- (Color Boxes) Request color presentations when clicking on a color box (#2065) (jwortmann)
- (Diagnostics Panel) Automatically hide the diagnostics panel on save (#2037) (Tristan Daniel)
- (Log Panel) Custom context menu and "Clear log panel" item (#2045) (Предраг Николић)
- (Log Panel) Add context menu entry for toggling lines limit (#2047) (Rafał Chłodnicki)
- (API) Add group argument for LspGotoCommand (#2031) (Justin Lam)
- (API) Add template variable
$text_document_position
in execute command (#2061) (Ayoub Benali)
Fixes and Improvements
- (Signature Help) Improve highlighting of parameters when labels are of type string (#2072) (Предраг Николић)
- (Workspace Symbols) Allow empty string for request (#2071) (Предраг Николић)
- (Code Actions) Ensure "Source Actions..." request includes the "source" kind (#2064) (Rafał Chłodnicki)
- (Diagnostics Panel) Fix issues with toggling on save (#2063) (Rafał Chłodnicki)
- (Diagnostics Panel) Only update content of diagnostics panel when visible (#2054) (jwortmann)
- (JSON Schema) Add json suggestions for disabled capabilities (#2050) (Предраг Николић)
- (Document Link, API) Parse position or selection from link fragment (#2049) (jwortmann)
- (Settings) Change "log_server" default value to ["panel"] (Предраг Николић)
- (Dev) Various improvements for type checking during development (use of NotRequired) (#2058) (Rafał Chłodnicki)
- (Docs) Add code lens image (#2074) (Предраг Николић)
Breaking changes for LSP-* developers
For developers working on LSP-* packages and using LSP-pyright
for type-checking, it's now necessary to tell pyright
explicitly which version of Python to check against.
Do that by adding a pyrightconfig.json
configuration file in the root of the LSP-* package:
{
"pythonVersion": "3.11"
}
4070-1.18.0
Features and Fixes
- Implement inlay hints (#2018) (predragnikolic & jwortmann) (documentation: https://lsp.sublimetext.io/features/#inlay-hints)
- Add option to highlight hover range (#2030) (jwortmann)
- Optionally fallback to goto_reference in lsp_symbol_references (#2029) (timfjord)
- Delay re-calculation of code lenses and inlay hints for currently not visible views (#2025) (jwortmann)
- Improve strategy for semantic highlighting requests (#2020) (jwortmann)
- Follow global settings more accurately whether to show snippet completions (#2017) (jwortmann)
- docs: Add ruby steep language server (#2019) (jalkoby)
- docs: Update F# guidance (#2011) (baronfel)
API changes
- Define overridable methods in LspExecuteCommand (#2024) (rchl)
4070-1.17.0
Features and Fixes
- Completions rendering overhaul (expose labelDetails more prominently) (#2010) (jwortmann)
- Prevent failing to load all configs when one fails (Raoul Wols)
- Show previews in side view for Goto commands with side_by_side (#1982) (jwortmann)
- Support side_by_side for "Go to reference" (Rafal Chlodnicki)
- Keep active group when using Goto commands (#1994) (jwortmann)
- Fix bug for symbol action links in hover popup (jwortmann)
- Don't use actual linebreaks in log panel if payload is string literal (#1993) (jwortmann)
- Optionally fallback to goto_definition in lsp_symbol_definition (#1986) (timfjord)
- Restore selections after location picker panel (jwortmann)
- Add preview for resource (res:) files in LocationPicker (jwortmann)
- Tweaks for signature help popup including support for contextSupport and activeParameter (#2006) (jwortmann)
- Enable admonition extension for mdpopups (jwortmann)
- docs: Add Godot (GDScript) LSP instructions (lucypero)
API changes
- Allow plugins to modify server response messages (#1992) (jwortmann)
4070-1.16.3
Features and Fixes
- Add support for textDocument/documentLink request (#1974) (jwortmann)
- Don't expose disabled code actions (Rafal Chlodnicki)
- Check for : and / while updating nested dict structures in DottedDict (Raoul Wols)
- docs: add info about enabling clangd server (Ilia)
- Fix diagnostic regions being hidden by semantic regions (#1969) (Rafał Chłodnicki)
- Initialize diagnostic tagged regions after non-tagged ones (Rafal Chlodnicki)
- Follow global setting whether to show snippet completions (Janos Wortmann)
- Fix academicmarkdown language id (Lucas Alber)
- Fix WSL path URI decoding under Windows (#1962) (Jack Cherng)
4070-1.16.2
Features and Fixes
- Fix LspShowScopeNameCommand for the new ContextStackFrame type (#1961) (Raoul Wols)
- Skip empty stderr messages, don't break on them (Shane Moore)
- Guard for overflow of the column offset when applying edits (#1952) (Raoul Wols)
- Fix "side by side go-to" if file is already open (#1950) (Rafał Chłodnicki)
- doc: Update Go instructions (Lucas Alber)
- doc: Update documentation for LSP-ltex-ls (Lucas Alber)
- doc: Add documentation for quick-lint-js language server (Matthew "strager" Glazar)
- doc: Reorganize documentation for JavaScript/TypeScript (Matthew "strager" Glazar)