Skip to content

Releases: sublimelsp/LSP

4070-2.3.0

04 Dec 17:54
Compare
Choose a tag to compare

Features

  • truncate inlay hint (#2514) (bivashy)
  • add variable for VersionedTextDocumentIdentifier to use with lsp_execute (#2516) (jwortmann)

Fixes

  • code actions on save not fixing issues if saving quickly (#2540) (Rafał Chłodnicki)
  • respect user-preferred flags when canceling completions (#2541) (Rafał Chłodnicki)
  • consider priority_selector when using best_session during rename (#2538) (Rafał Chłodnicki)
  • fix not considering given point when choosing best session in Goto commands (#2533) (jwortmann)
  • ensure ending a session triggers listeners (#2518) (Rafał Chłodnicki)
  • use session-unique region keys for semantic tokens (#2517) (Rafał Chłodnicki)

Enhancements

  • set completions from the async thread (#2563) (jwortmann)
  • cancel pending requests as early as possible (#2543) (Rafał Chłodnicki)
  • don't attach LSP to syntax test files (#2531) (jwortmann)
  • make DocumentSyncListener more efficient if no server is running (#2532) (jwortmann)
  • remove unnecessary parallel debouncing on selection change (#2529) (jwortmann)
  • print URI error to status bar instead of error dialog (#2528) (jwortmann)
  • don't restart servers when userprefs change (#2448) (jwortmann)
  • use orjson to de-/serialize json-rpc messages (#2513) (deathaxe)

Documentation

  • add LSP-twiggy to language servers list (#2558) (Ivan Nikolić)
  • update vue servers (#2549) (Rafał Chłodnicki)
  • tweak badges in Readme (#2544) (jwortmann)
  • add LSP-some-sass to language servers list (#2539) (Ivan Nikolić)
  • update semantic token types in docs (Janos Wortmann)
  • fix phpactor selector (#2512) (Rafał Chłodnicki)

Refactors

  • use namespaced enum constants (Janos Wortmann)
  • improve custom IntFlag enum and annotations (Janos Wortmann)
  • remove deprecated abstractproperty decorator (Janos Wortmann)
  • replace literal with enum constant (Janos Wortmann)
  • update type stubs for Python 3.8 (#2535) (jwortmann)
  • remove unnecessary use of generators for session retrieval (#2524) (Rafał Chłodnicki)
  • feat: make DebouncerNonThreadSafe public (#2525) (Rafał Chłodnicki)
  • update LSP types and pyright (#2519) (Rafał Chłodnicki)
  • use generated types for python 38 (#2500) (Предраг Николић)
  • add info about tinymist (#2473) (Ilia)

4070-2.2.0

25 Jun 17:39
Compare
Choose a tag to compare

Features

  • feat: Add "show_diagnostics_in_hover" setting (#2489) (@HJX-001)

Fixes

  • fix: Unexpected keyword argument 'event' when using mouse keys (#2492) (@deathaxe)
  • fix: Enum issues (#2484, #2487) (Janos Wortmann)
  • fix: Remove logging.basicConfig() and avoid polluting other packages (#2478) (Предраг Николић)

Documentation

API changes

  • api: Allow plugins to listen for server notification messages (#2496) (Предраг Николић)

4070-2.1.0

20 May 09:27
Compare
Choose a tag to compare

Features

  • Add refactoring_auto_save setting to save modified files after applying a refactoring (#2433) (Janos Wortmann)

Fixes and Improvements

  • Respect semantic token capability when dynamically registered (#2453) (Rafał Chłodnicki)
  • Use caret for point to look up symbol (#2440) (Troels Bjørnskov)
  • Various typing improvements (#2446, #2450, #2456, #2458, #2460, #2459) (Janos Wortmann, Jack Cherng, deathaxe)

4070-2.0.0

19 Apr 16:58
Compare
Choose a tag to compare

⚠️ Sublime Text will need to be restarted more than once for things to work properly. ⚠️

Breaking changes

  • LSP and LSP-* packages are transitioning from Python 3.3 to Python 3.8.

FAQ

What are the most significant improvements that stem from the 3.3 to 3.8 change?

There are no new features.
This is an internal LSP codebase change that affects all LSP-* packages.

LSP is broken after the update even if Sublime Text is restarted many times

If that is the case, follow these steps:

  • Check if "index_files" is set to false in Preferences.sublime-settings

From the command palette open Preferences: Settings and see if "index_files": false exists.
If yes, remove that setting.

  • Check if "LSP" is put in "ignored_packages" in Preferences.sublime-settings

Ensure that LSP hasn't been added to the "ignored_packages" list during the update. If it has, remove it.

  • Reach for help

Feel free to open an issue or reach out to us on Discord if you encounter any problems during the update.
Please provide logs from the Sublime Text console.

4070-1.30.0

15 Apr 09:16
Compare
Choose a tag to compare

Breaking changes

  • godot-editor client configuration default tcp_port value is now 6005 instead of 6008. Older versions of Godot(3.x) use port 6008 (#2447) (Предраг Николић)

Fixes and Improvements

  • Keep tab selection and focus when applying WorkspaceEdit (#2431) (Janos Wortmann)
  • Enhancements for the rename panel (#2428) (Janos Wortmann)
  • Fix URI format for res scheme (#2432) (Janos Wortmann)
  • If "log_debug" is enabled, window/logMessage will be printed to the Sublime Text Console instead of LSP log panel (#2444) (Janos Wortmann)

Documentation

  • docs: Add Toit (#2425) (Serjan Nasredin)
  • docs: Add Solidity (#2383) (Nikita Kozlov)

Plugin API changes

  • Allow plugins to ignore certain views (#2410) (Janos Wortmann)

4070-1.29.0

28 Feb 07:30
Compare
Choose a tag to compare

New features

  • add commands for opening "find references" in bottom or quick panel (#2409) (Rafał Chłodnicki)
  • Add format on paste (#2397) (Предраг Николић)

Fixes and Improvements

  • Fix usage of sublime.score_selector (#2427) (Benjamin Schaaf)
  • Fix find_open_file incompatibility with older ST versions (Janos Wortmann)

Refactoring

  • Remove hover provider count view setting (Janos Wortmann)
  • Remove unnecessary argument from lsp_symbol_rename command (Janos Wortmann)

Documentation

  • docs: add info about typst-lsp commands (#2424) (Ilia)
  • docs: add systemverilog/verible language server setup guide (#2416) (Johnny Martínez)
  • docs: rewrite self-help instructions (#2405) (Rafał Chłodnicki)
  • docs: rewritten "common problems" section (#2406) (Rafał Chłodnicki)
  • A few enhancements for the docs website (#2402) (jwortmann)
  • chore: deploy docs preview on docs changes (#2403) (Rafał Chłodnicki)

4070-1.28.0

26 Jan 19:17
Compare
Choose a tag to compare

New features

  • Support setting cursor position in text edits (#2389) (Rafał Chłodnicki)

Fixes and Improvements

  • Include lsp_utils settings in LSP (#2395) (Rafał Chłodnicki)
  • Add stimulus-lsp to docs (#2391) (Óscar Carretero)
  • Add asm-lsp to docs (#2400) (Will Lillis)

4070-1.27.0

03 Jan 22:07
Compare
Choose a tag to compare

Breaking changes

  • The default value of show_references_in_quick_panel has changed from false to true.

New features

  • Support all arguments of native save in lsp_save command (#2382) (jwortmann)
  • Add only_files argument for lsp_save_all command (#2376) (jwortmann)
  • Show diagnostics popup when hovering over gutter icons (#2349) (jwortmann)
  • Add menu item to toggle code lenses (#2351) (Rafał Chłodnicki)
  • Add menu item to disable/enable hover popups (#2316) (jwortmann)

Improvements

  • Workspace Symbols overhaul (#2333) (jwortmann)
  • Add NO_UNDO flags to all regions (less memory usage) (#2370) (Rafał Chłodnicki)
  • Try to match at least 2 components of base scope with the map (#2361) (Rafał Chłodnicki)
  • Small visual tweak for signature help popup (#2358) (jwortmann)
  • Prefer active view instead of leftmost one for Goto commands (#2356) (jwortmann)

Fixes

  • Empty command handling with tcp_port (#2378) (Alexey Bondarenko)
  • Document state getting out of sync in rare cases (#2375) (Rafał Chłodnicki)
  • Use simple error for code lenses that failed to resolve (Rafal Chlodnicki)
  • Fix performance regression in Goto Symbol overlay (#2348) (jwortmann)

4070-1.26.0

22 Oct 12:28
Compare
Choose a tag to compare

New features

  • Add support for remote images in hover popups (#2341) (jwortmann)
  • Add kind filter for Goto Symbol command (#2330) (jwortmann)
  • Handle multiple formatters (#2328) (jwortmann)
  • Add support for folding range request (#2304) (jwortmann)
  • Add support for multi-range formatting (#2299) (jwortmann)

Improvements

  • Handle custom URI schemes in hover text links (#2339) (Raoul Wols)
  • Sort and select closest result for Find References in quick panel (#2337) (jwortmann)
  • Improve signature help performance (#2329) (jwortmann)
  • Align "Expand Selection" fallback behavior with "Goto Definition" and "Find References" (#2325) (Janos Wortmann)
  • support client config with tcp_port but without command (#2300) (Marek Budík)

Fixes

  • check codeAction/resolve capability against session buffer (#2343) (1900 TD Lemon)
  • Minor visual tweaks to ShowMessageRequest popup (#2340) (Rafał Chłodnicki)
  • fix "formatting on save" potentially running on outdated document state (#2336) (Rafal Chlodnicki)

4070-1.25.0

19 Jul 08:30
Compare
Choose a tag to compare

⚠️ To ensure that everything works properly after LSP package is updated, it's strongly recommended to restart
Sublime Text once it finishes updating all packages. ⚠️

New features

  • Add option to show diagnostics as annotations (#1702) (Rafał Chłodnicki)
  • Add argument "include_declaration" to "lsp_symbol_references" (#2275) (Magnus Karlsson)

Fixes

  • Fix rare KeyError (Janos Wortmann)
  • fix "Error rewriting command" warning triggered on startup (#2277) (Rafał Chłodnicki)
  • fix crash on checking excluded folders with missing project data (#2276) (Rafał Chłodnicki)
  • Fix tagged diagnostics flickering on document changes (#2274) (Rafał Chłodnicki)

Improvements

  • Show server crashed dialog on unexpected output in server's stdout (Rafal Chlodnicki)
  • Only do a single pass on running code actions on save (#2283) (Rafał Chłodnicki)
  • Take font style of sighelp active parameter from color scheme (#2279) (jwortmann)