Skip to content

Releases: sublimelsp/LSP

4070-2.8.2

04 Feb 21:40

Choose a tag to compare

Fixes

  • Refactor handling of progress notification for diagnostics (#2740) (Rafał Chłodnicki)
  • Fix diagnostics request for not visible views after refresh (#2743) (jwortmann)
  • Fix diagnostic dynamic registration and rework Goto Diagnostic command (#2727) (jwortmann)
  • Fix dotted dict processing dots in second+ level keys (#2745) (Rafał Chłodnicki)
  • fix missing request duration in logs (#2736) (Rafał Chłodnicki)

Refactors

  • Type parameters and return value of Request (#2741) (Rafał Chłodnicki)

4070-2.8.1

23 Jan 06:53

Choose a tag to compare

Features

  • Add AbstractPlugin.is_applicable plugin API method and deprecate should_ignore and selector (#2713) (jwortmann)

Fixes

  • Fix regression causing outdated diagnostics (#2732) (Rafał Chłodnicki)

4070-2.8.0

21 Jan 19:22

Choose a tag to compare

Features

  • Add willRename and didRename fileOperations (#2498) (Предраг Николић)
  • Add prompt on triggering workspace edits during rename file (#2716) (Предраг Николић)
  • Copy diagnostic hover text (#2618) (Предраг Николић)
  • Show WorkspaceEdit and TextEdit description in undo menu (#2695) (jwortmann)

Fixes

  • Notify server on change between each code action on save (#2707) (Rafał Chłodnicki)
  • Fix duplicate requests on file open with dynamic registration (#2698) (jwortmann)
  • Fix diagnostics request after refresh (#2699) (jwortmann)
  • Fix unregistering of didChangeWatchedFiles capability (#2683) (Rafał Chłodnicki)

Enhancements

  • Return number of changes and changed files when applying WorkspaceEdit (#2717) (jwortmann)
  • Switch to CommonMark/GFM parser "marko" (#2712) (Rafał Chłodnicki)
  • Improve request cancellation handling (#2700) (Rafał Chłodnicki)
  • Add caching for color scheme support of custom semantic token types (#2704) (jwortmann)
  • Don't delay didOpen until next message loop iteration (#2696) (Rafał Chłodnicki)
  • Make signature help popup open and stay visible more reliably (#2686) (Rafał Chłodnicki)
  • Don't expand range to cover all diagnostics for code action requests (#2690) (Rafał Chłodnicki)
  • Limit some requests to a single session (#2688) (jwortmann)
  • Add support for relative patterns in didChangeWatchedFiles (#2685) (Rafał Chłodnicki)

Refactors

  • Uncomment await_message for textDocument/didSave (#2722) (Предраг Николић)
  • Make apply_text_edits return a Promise (#2708) (Rafał Chłodnicki)
  • Remove unused Manager.sessions() (#2703) (Rafał Chłodnicki)
  • Merge diagnostics getter functions (#2694) (Rafał Chłodnicki)
  • Aggregate watch patterns that match same root and kind (#2687) (Rafał Chłodnicki)
  • Use more assignment expressions (#2681) (jwortmann)

Documentation

  • Add docs for rename file (#2728) (Предраг Николић)
  • Switch docs from "Material for MkDocs" to "Zensical" (#2720) (Предраг Николић)
  • Tweak semantic tokens table (#2709) (jwortmann)
  • Update Helm section in language_servers.md (#2682) (Предраг Николић)

4070-2.7.0

10 Nov 10:35

Choose a tag to compare

Features

  • Add support to open unsaved buffers with VSCode-specific 'untitled' scheme (#2667) (jwortmann)
  • Add on_selection_modified_async API method (#2657) (jwortmann)

Fixes

  • Purge changes before triggering formatting (#2680) (Rafał Chłodnicki)
  • Request each code action kind separately during save (#2674) (Rafał Chłodnicki)
  • Fix code lenses with dynamic registration (#2666) (jwortmann)
  • Ensure ShowMessage request popup is shown inside the viewport area (#2668) (jwortmann)
  • Fix another case of outdated diagnostics (#2654) (Rafał Chłodnicki)
  • Consider dynamic registration when checking for capabilities (#2652) (jwortmann)
  • Ensure document state is synced before requesting diagnostics (#2648) (Rafał Chłodnicki)

Enhancements

  • Add helm language id (#2679) (Предраг Николић)
  • Add scope for new semantic token type 'label' (#2659) (jwortmann)

Refactors

  • Refactor code lenses (#2677) (jwortmann)
  • Move protocol types to separate folder (#2660) (jwortmann)
  • Use predefined constants in language ID mapping (#2658) (jwortmann)

Documentation

  • Reorganize PostgreSQL section in language_servers.md (#2675) (Предраг Николић)
  • Add instructions for PostgresSQL (#2669) (Olivier Le Moal)
  • Update instructions for Typst (#2644) (jwortmann)

4070-2.6.0

23 Sep 11:51

Choose a tag to compare

Features

  • Allow to suppress opening new view on open URI with plugin (#2640) (jwortmann)

Enhancements

  • respect refactoring_auto_save in more cases (#2643) (Rafał Chłodnicki)
  • Send 'erb' as language id for ERB files (#2642) (Guillermo)
  • Limit length of text in completion popup details pane (#2636) (jwortmann)
  • Don't show error dialog for failed workspace command (#2634) (jwortmann)

4070-2.5.0

03 Sep 13:57

Choose a tag to compare

Features

  • Add selector API in AbstractPlugin (#2620) (Rafał Chłodnicki)

Fixes

  • skip diagnostics pull if diagnostics already received (#2623) (Rafał Chłodnicki)

Enhancements

  • Expose publicly Manager.get_session (#2624) (Rafał Chłodnicki)

4070-2.4.0

16 Aug 07:57

Choose a tag to compare

Breaking changes

  • Deprecate language IDs configuration file (#2586) (Janos Wortmann) - The language-ids.sublime-settings configuration file has been deprecated and will be removed in the next minor release of LSP. The language IDs are
    hardcoded now. Language IDs are used by servers which handle more than one language to avoid
    re-interpreting file extensions. If you used the configuration file and think that a language ID
    is wrong or missing, please follow this migration guide #2592.
  • Remove syntax2scope and view2scope functions (#2594) (Предраг Николић) - They are not used.
  • Implement storage path as global constant (#2614) (@deathaxe) - get_storage_path was replaced with ST_STORAGE_PATH.

Fixes

  • Fix LspToggleInlayHintsCommand not initializing (#2571) (Janos Wortmann)

Enhancements

  • Replace Quick Fix label in hover popup with lightbulb icon (#2567) (Janos Wortmann)
  • Implement storage path as global constant (#2614) (@deathaxe)

Refactors

  • Deprecate Session.set_window_status_async (#2570) (Janos Wortmann)
  • Deprecate language IDs configuration file (#2586) (Janos Wortmann)
  • Remove workaround for on_post_move_asynclistener not triggering (#2582) (Janos Wortmann)
  • Update LSP types (#2593) (Предраг Николић)
  • Bump actions/checkout from 4 to 5 (#2617) (@dependabot)
  • Extract more global constants (#2565) (Janos Wortmann)

Documentation

  • Update docs and README (#2583, #2590) (Janos Wortmann)
  • Add LSP-nimlangserver to the docs (#2602) (Amjad Ben Hedhili)
  • Add instructions for helm-ls to the docs (#2589) (@FichteFoll)
  • Add instructions for Perl LS to the docs (#2595) (Russ @russsaidwords)
  • Add instructions for Marksman to the docs (#2604) (Gavin Wiggins)
  • Add instructions for Herb to the docs (#2610, #2613) (Óscar Carretero)
  • Add instructions for MediaWiki to the docs (#2611) (@bhsd-harry)
  • Add instructions for Pyrefly to the docs (#2612) (Janos Wortmann)
  • Fix Sorbet docs to requires a directory be passed to the typecheck command (#2599) (James Hochadel)

4070-2.3.0

04 Dec 17:54

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

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

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)