Skip to content

Releases: sublimelsp/LSP

4070-2.10.2

28 Apr 15:53

Choose a tag to compare

Fixes

  • [3.14] Emit spec-compliant file:/// URIs for filename_to_uri (#2878) (Sean Demura)

Enhancements

  • Adjust font size of code lens annotations (#2883) (jwortmann)
  • Always request workspace diagnostics if supported by server (#2827) (jwortmann)

Docs

  • add more details to editor setup (#2881) (Rafał Chłodnicki)

4070-2.10.1

20 Apr 20:52

Choose a tag to compare

Fixes

  • Fix initializationOptions being ignored (Tamás Bálint Misius)

Enhancements

  • Sort references code lens locations (Janos Wortmann)
  • Include diagnostic code when copying diagnostic text (#2875) (Rafał Chłodnicki)

Refactors

  • Test both TCP modes (#2866) (Raoul Wols)

4070-2.10.0

18 Apr 15:47

Choose a tag to compare

Breaking changes

  • The place for manual language server configurations was moved from LSP.sublime-settings
    to a new settings file LanguageServers.sublime-settings, which can be opened from the
    command palette and from the main menu. This makes it possible to dynamically change the
    "settings" of a language server while it is running. For now the configurations under
    "clients" in LSP.sublime-settings still work, but that place is deprecated.

  • The shipped server configurations from "default_clients" were removed. If you used
    one of those, please add the configuration to your user configurations file under
    Packages/User/LanguageServers.sublime-settings. Examples can be found on the
    documentation website at https://lsp.sublimetext.io/language_servers/.

Features

  • Add support for workspace/didChangeConfiguration (#2862) (jwortmann)
  • Add support for VSCode-specific editor.action.showReferences command (#2874) (jwortmann)
  • Add support for MarkupContent in diagnostic message (#2845) (jwortmann)

Fixes

  • Deep copy all ClientConfig properties when copying it (#2861) (Rafał Chłodnicki)
  • Fix crash on checking for membership (#2857) (Rafał Chłodnicki)
  • Fix formatting triggering on swapping lines (#2852) (Rafał Chłodnicki)
  • Mark changes triggered by edits as OTHER for on-type-formatting (#2854) (Rafał Chłodnicki)
  • Handle unknown diagnostic tags gracefully (#2847) (jwortmann)

Enhancements

  • Make Goto Diagnostics panel follow show_diagnostics_severity_level (#2856) (jwortmann)
  • Update style for diagnostic annotations (#2839) (jwortmann)

Refactors

  • Add an opt-in pre-commit hook for development (#2873) (Rafał Chłodnicki)
  • Refactor transports (#2851) (Rafał Chłodnicki)
  • Refactor code action annotations (#2835) (jwortmann)

Documentation

  • Add rumdl to list of language servers for Markdown (#2842) (Evan Read)

4070-2.9.0

28 Mar 18:59

Choose a tag to compare

Features

  • add "notification_handler" and "request_handler" API decorators in plugin API (#2755) (Rafał Chłodnicki)
  • add "show_signature_help" setting (#2793) (jwortmann)
  • add "lsp_code_actions_on_format" setting (#2747) (Martijn Jacobs)
  • support ignoring specific tokens in the "semantic_tokens" setting by mapping them to an empty string (#2829) (jwortmann)
  • expose unknown settings in ClientConfig and support project overrides (#2765) (Rafał Chłodnicki)
  • implement On Type Formatting (enable with "format_on_type") (#2776) (Rafal Chlodnicki)

Fixes

  • clear all progress reports when session ends (#2799) (jwortmann)
  • ensure refresh flags are reset when requests triggered due to reload (#2786) (jwortmann)
  • fix custom semantic tokens in initialize params (#2808) (jwortmann)
  • fix diagnostic tag regions not having correct key (#2752) (Rafał Chłodnicki)
  • fix lsp_check_applicable starting disabled config (#2782) (Rafał Chłodnicki)
  • fix missing punctuation scope in log syntax (#2805) (deathaxe)
  • fix pull diagnostics after reload/revert (#2785) (Rafał Chłodnicki)
  • fix Session not being garbage collected (#2801) (Rafał Chłodnicki)
  • handle repeated crashes also for clients defined in project settings (#2762) (Martijn Jacobs)
  • show code actions with diagnostics in hover popup (#2818) (jwortmann)
  • trigger diagnostic requests after provider registration (#2766) (jwortmann)

Enhancements

  • add caching for diagnostic annotation colors (#2757) (jwortmann)
  • add caching for styles in signature help popup (#2756) (jwortmann)
  • add more caching for color scheme rules (#2754) (jwortmann)
  • add PackageDev hints for project settings (#2796) (deathaxe)
  • adjust scopes and default style in signature help popup (#2794) (jwortmann)
  • create single LSP status per view (#2771) (Rafał Chłodnicki)
  • don't replace builtin rename_path command (#2764) (jwortmann)
  • include view settings in project files schema (#2790) (Rafał Chłodnicki)
  • modernize popup style (#2788) (Rafał Chłodnicki)
  • update capabilities for pull diagnostics (#2804) (jwortmann)
  • update fallback scope for typeParameter token (#2838) (jwortmann)
  • use scheme color for lightbulb icon in popup (#2807) (jwortmann)

Refactors

  • add generated Requests/Responses/Notifications to protocol (#2781) (Rafał Chłodnicki)
  • deprecate "initializationOptions" in favor of "initialization_options" (#2779) (jwortmann)
  • refactor diagnostic CSS classes (#2809) (Rafał Chłodnicki)
  • refactor SaveTask -> LspTask (#2751) (Rafał Chłodnicki)
  • remove deprecated properties of ClientConfig (#2767) (Rafał Chłodnicki)
  • setup imports formatting (#2763) (Rafał Chłodnicki)
  • simplify refresh state handling for SessionBuffer requests (#2787) (jwortmann)
  • update mdpopups stubs (#2825) (jwortmann)
  • use ruff for linting (#2753) (Rafał Chłodnicki)

Documentation

  • add bitbake/yocto instruction (#2810) (kn)
  • add instructions for JETLS (#2750) (jwortmann)
  • add TOML LSP instructions for Taplo and Tombi (#2803) (Guillermo)
  • rewrite features page (#2792) (jwortmann)
  • update JETLS config (Janos Wortmann)

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)