Skip to content

Releases: sublimelsp/LSP

4070-2.12.1

29 May 18:17

Choose a tag to compare

Fixes

  • Fix config equality check not considering "enabled" (#2940) (Rafał Chłodnicki)
  • Notify correctly on config changes in projects (#2937) (Rafał Chłodnicki)

4070-2.12.0

29 May 16:19

Choose a tag to compare

Features

  • Add support for resource operations in WorkspaceEdit (#2907) (jwortmann)
  • Add support to open URI schemes with server-provided content (#2890) (jwortmann)

Fixes

  • Fix lsp_code_lens command executing last code lens on cancel (#2925) (jwortmann)
  • Fix project overrides getting lost on saving global configs (#2932) (Rafał Chłodnicki)
  • Remove incorrect workaround for old markdown parser (#2930) (Rafał Chłodnicki)
  • Run handlers after responding instead of from set_timeout_async (#2927) (Rafał Chłodnicki)
  • Fix markdown_language_map setting not working (#2924) (Jack Cherng)
  • Fix code lenses handled via AbstractPlugin.on_pre_server_command (#2919) (jwortmann)
  • Fix on_sheet_opened called twice from uri_handler (#2914) (Rafał Chłodnicki)
  • Fix params name in ServerNotification (#2908) (Rafał Chłodnicki)
  • Fix ClientConfig equality check (#2936)

Enhancements

  • Allow setting root ClientConfig settings (#2906) (Rafał Chłodnicki)
  • Show "Follow link" in hover popup for unknown links (#2913) (Rafał Chłodnicki)
  • Only attempt on-type-formatting when replace length is 0 (#2911) (Rafał Chłodnicki)
  • Remove text decoration on link within kbd in popups (#2909) (Rafał Chłodnicki)
  • Focus view on open file URI from hover (#2934) (jwortmann)

Refactors

  • Remove Session.getattr (#2912) (Rafał Chłodnicki)
  • Refactor workspace edit handling (#2905) (jwortmann)

Documentation

  • Add link to Civet LSP (#2929) (Erik Demaine)
  • Add instructions to install nixd for Nix (#2920) (Max Smolin)
  • Fix a few outdated links in settings descriptions (#2922) (jwortmann)

4070-2.11.0

15 May 18:13

Choose a tag to compare

Features

  • Introduce LspPlugin API (#2739) (Rafał Chłodnicki)

    LspPlugin is the new, simpler and more flexible base class for building LSP helper packages.
    It replaces the older AbstractPlugin (now deprecated).

    If you maintain an LSP helper package, feel free to migrate to LspPlugin. See the migration
    guide at https://lsp.sublimetext.io/migrating_to_lsp_plugin/ for step-by-step instructions.

  • Disable plugins on repl views (#2887) (Rafał Chłodnicki)

  • Add support for SnippetTextEdit (#2884) (jwortmann)

Fixes

  • Fix some cases in ST pattern to glob conversion (#2891) (Rafał Chłodnicki)
  • Fix lsp_check_applicable starting extra server instance (#2893) (Rafał Chłodnicki)
  • Fix new view on open file URI with path not existing on disk (#2898) (jwortmann)
  • Return correct result for workspace/applyEdit request (#2896) (jwortmann)

Enhancements

  • Update and reorder client capabilities (#2892) (jwortmann)

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) (Предраг Николић)