Skip to content

Releases: sublimelsp/LSP

4070-1.8.0

07 Aug 12:42
cb5762b
Compare
Choose a tag to compare

New Client Configurations

  • Add documentation for Phpactor (#1800) (theLine)

Features and Fixes

  • Discard diagnostics in a few cases (#1816) (Raoul Wols)
  • Allow lists in env dict of client configuration (#1815) (Raoul Wols)
  • Remember the cwd for plugins (#1814) (Raoul Wols)
  • Re-evaluate what langservers to attach when the URI scheme changes (#1813) (Raoul Wols)
  • Include the list of key bindings (shortcuts) in the documentation (#1805) (Rafał Chłodnicki)
  • remove implementation status from docs as it is only developer related (Predrag Nikolic)
  • Rewrite / reorganize the troubleshooting documentation (#1802) (Rafał Chłodnicki)
  • Make hover popup also follow the show_diagnostics_severity_level setting (#1798) (Rafał Chłodnicki)
  • Improve keyboard shortcuts documentation (#1799) (Rafał Chłodnicki)
  • Update client configuration documentation (Rafal Chlodnicki)
  • Fix UNC paths on Windows (Raoul Wols)
  • Fix mypy type issue on windows (#1786) (Raoul Wols)
  • LSP-Serenata doesn't support ST4 (Luca Pomero)

4070-1.7.0

08 Jul 19:42
Compare
Choose a tag to compare

New Helper Packages

Fixes and Features

  • Fix res URIs for Windows (#1785) (Raoul Wols)
  • draw the diagnostics in the view regardless if we have an icon for the gutter (Predrag Nikolic)
  • Even more fixes for matching up buffers with URIs (#1782) (Raoul Wols)
  • Allow third-party packages to open abstract URIs as well (#1781) (Raoul Wols)
  • Open existing views with custom URIs (#1779) (Raoul Wols)
  • Fix key errors for log messages when running tests (#1780) (Raoul Wols)
  • Fix location_to_encoded_filename function (Raoul Wols)
  • Allow styling of code lens phantoms (Janos Wortmann)
  • Fix: should reset when uri changes via settings() (Raoul Wols)
  • Add API for registering an external file watcher implementation (#1764) (Rafał Chłodnicki)
  • You can display Code Lenses as phantoms (#1750) (Danny)
    See the setting "show_code_lens".
  • Fix file comparisons (#1775) (Raoul Wols)
  • Unify mac and linux CI workflows (#1773) (Rafał Chłodnicki)
  • Add Windows CI (#1765) (Raoul Wols)
  • Normalize drive letter in Windows filepaths to uppercase (#1772) (jwortmann)
  • Account for FS case-insensitivity (#1771) (Raoul Wols)
  • Update sublime-package.json for 'schemes' (#1769) (Raoul Wols)
  • Ignore plugin classes that don't return name() (#1768) (Rafał Chłodnicki)
  • Send a code lens request if one hasn't been sent yet (Rapptz)
  • Allow attaching to URI schemes other than the 'file' scheme (#1758) (Raoul Wols)
  • Document LSP-tailwindcss (#1767) (Предраг Николић / Predrag Nikolic)
  • Make language-ids.sublime-settings accessible (Raoul Wols)
    See the command LSP: Language ID Mapping Overrides in the command palette.
  • Index SessionBuffer weak value dictionary by id(session) (#1762) (Raoul Wols)
  • New key binding context: lsp.session_with_name (Raoul Wols)
    You can refer to language server configuration names in key binding contexts.
  • Remove unneeded abstract methods (Raoul Wols)
  • Fix wrong indent (Raoul Wols)
  • Prevent infinite loop when server returns empty code lenses (Raoul Wols)
  • Refactor code lenses (#1755) (Danny)

4070-1.6.1

18 Jun 21:26
Compare
Choose a tag to compare

Features and Fixes

  • Add back stippled option for document highlights (#1748) (Janos Wortmann)
  • Add command to restart a specific server (#1733) (@husanjun)
    You can restart specific servers now with "LSP: Restart Servers".
    Note that this changed the name of the command; if you had it bound to a
    key binding you should update the key binding.
  • When a helper package cannot start the server, continue handling listeners (#1716) (Raoul Wols)
    Fixes a subtle bug where if one language server didn't meet the startup
    requirements, other queued servers wouldn't be handled any more.
  • Special-case env.PATH extending to prepend to the original PATH (#1752) (Rafał Chłodnicki)
    In preparation for fixing a subtle bug for helper packages that rely on Node.js
    When you've chosen to use a locally-intalled node local to ST, then any
    possible subprocess spawned by the language server should use that local
    node executable as well.
    The same problem is also present for pip-based helper packages like LSP-pylsp.

4070-1.6.0

11 Jun 22:56
Compare
Choose a tag to compare

As was mentioned in the release notes of 1.5, the following default
configurations are now removed:

New Helper Packages

Features and Fixes

  • Fix a bug where code actions would be requested for transient
    views (Raoul Wols)
  • Clear all status messages when session ends (Janos Wortmann)
    This fixes a bug where if you disable the LSP package while
    a language server is reporting server-initiated progress, the
    progress message would remain visible in the Status Bar.
  • CI is once again enabled (#1679) (Rafał Chłodnicki)
  • os.path.relpath may throw an exception on Windows (Raoul Wols)
    This fixes a bug where if you use Find References on Windows,
    the response handler could fail by not catching this exception.
  • Rename code_action_on_save_timeout_ms to
    on_save_task_timeout_ms (#1728) (Rafał Chłodnicki)
    This allows you to adjust the timeout for formatting as well.

4070-1.5.0

05 Jun 13:15
Compare
Choose a tag to compare

Removed Default Client Configurations

As was mentioned in the release notes of 1.4.0, the following default
configurations have been removed:

  • pyls
  • dart
  • elixir-ls
  • flow
  • jdtls
  • sourcekit-lsp

For all of these, a helper package is available on packagecontrol.io that
automates the boring set up and installation of server binaries.

Deprecated Default Client Configurations

The following default client configs are DEPRECATED and WILL BE REMOVED:

  • haskell-ide-engine -> set up haskell-language-server instead, see
    lsp.sublimetext.io for instructions
  • rlang -> use the R-IDE package, which provides an LSP client configuration
    under the hood.

New Example Configurations

An example client configuration for "diagnostic-language-server" has been added
to lsp.sublimetext.io. It is a general-purpose language server which allows
you to hook up any command-line linter program or formatter program. It can be
regarded as a replacement of SublimeLinter. There is an example set up for the
shellcheck program to lint your Bash source code.

New Settings

  • Use show_code_actions_in_hover to disable code actions in the hover popup.
  • Use show_diagnostics_highlights to disable inline diagnostics in the view.

Removed Settings

  • diagnostics_highlights_style is replaced by show_diagnostics_highlights.

Features and Fixes

  • Draw empty regions as a small horizontal line (Raoul Wols)
  • Fix the LSP Development command (#1724) (Arnav Jindal)
  • Refine diagnostics presentation (#1710) (Raoul Wols)
  • Fix crash on showing code actions (Rafal Chlodnicki)
  • Handle percent-encoding and leading slash in file URIs (#1722) (jwortmann)
  • Add show_code_actions_in_hover boolean setting (#1717) (husanjun)
  • Use box-style for multiline doc highlights (#1712) (Raoul Wols)
  • Remove some default configs (Raoul Wols)
  • Mention font face in customization docs (#1714) (Raoul Wols)
  • Improve hover code actions UX (husanjun)
  • Improve code action annotation UX (#1707) (husanjun)
  • Apply all status messages when a SessionView is opened (#1706) (jwortmann)
  • Add instructions for shellcheck (#1703) (Rafał Chłodnicki)
  • Don't ascii-escape Unicode (Raoul Wols)
    This makes the Flow language server work with non-ascii characters.
  • Handle schemes other than the file scheme (#1620) (Raoul Wols)
    This makes the Deno language server work for goto-def and find-references.

4070-1.4.0

29 May 16:36
Compare
Choose a tag to compare

Deprecations

We want to remove the default configurations in LSP.sublime-settings
and replace them by helper packages a la SublimeLinter.

The following default configurations are DEPRECATED and WILL BE REMOVED
in a future release:

  • "pyls": Use the LSP-pylsp package instead.
  • "dart": Use the LSP-Dart package instead.
  • "elixir-ls": Use the LSP-elixir package instead.
  • "flow": Use the LSP-flow package instead.
  • "jdtls": Use the LSP-jdtls package instead.
  • "sourcekit-lsp": Use the LSP-SourceKit package instead.

Documentation

  • Add Vala Language Server Instructions (#1693) (Colin Kiama)
  • Add information about LSP-pylsp (#1691) (Rafał Chłodnicki)

Fixes and Features

  • Raise an exception when neither "command" nor "tcp_port" is given (Raoul Wols)
  • Fallback to range formatting if available when formatting on save (Rafal Chlodnicki)
  • Allow adjustable extents of the popups (#1689) (Raoul Wols)
  • Allow no automatic code actions (Raoul Wols)
  • Handle 'file:' URIs in hover content (Raoul Wols)
  • Small tweaks for annotations and lightbulb colors (Janos Wortmann)
  • Account for out-of-bounds columnn offsets of text edits (Raoul Wols)
  • Improve the parser for parsing package.json files (#1664) (Raoul Wols)

4070-1.3.1

13 May 15:13
Compare
Choose a tag to compare

Features and Fixes

  • Disable crashed servers in-memory when they crash on start (Rafal Chlodnicki)
  • Documentation: pyls is now called pylsp (see https://lsp.sublimetext.io) (Gavin S)
  • Resolve completions completion item before applying additional text edits (#1651) (Предраг Николић / Predrag Nikolic)

4070-1.3.0

24 Apr 07:32
Compare
Choose a tag to compare

Features and Fixes

  • Add plugin APIs: "on_*_capability_async" and "on_session_end_async" (#1638) (Rafał Chłodnicki)
  • Lazily update log panel when it's opened (#1636) (Rafał Chłodnicki)
  • Various improvements to the server troubleshooting functionality (Rafał Chłodnicki)
  • Disable crashed servers in-memory instead of in project data (#1647) (Rafał Chłodnicki)
  • Handle all cases where selection is absent thus resulting in a crash (#1646) (Rafał Chłodnicki)

4070-1.2.13

02 Apr 20:49
Compare
Choose a tag to compare

Features and Fixes

  • Add Find References to commands list (Yeray Diaz Diaz)
  • Add docs badge to README (Janos Wortmann)
  • Move LSP spec implementation status from README to docs (Janos Wortmann)
  • Reorder some sections in the documentation (Janos Wortmann)
  • Point install.txt to the new docs website (Raoul Wols)
  • move customization of popups to docs (Predrag)
  • Fix gopls install link. (Ryan McQuen)
  • Fix null session completions (#1623) (deathaxe)
  • Put instructions at the top when langserver gets disabled (#1619) (Raoul Wols)
  • Update links to documentation (Raoul Wols)
  • Fix case where tag regions would not get removed (Rafał Chłodnicki)
  • Remove "log_stderr" in favor of always logging errors to the log panel (#1613) (Предраг Николић / Predrag Nikolic)
  • Make scopes in output panels consistent with Find results panel (#1614) (jwortmann)
  • feat(code actions): display code actions within a quick panel (#1611) (Benoit Pingris)
  • Remove temp disabled config logic (#1606) (Raoul Wols)
  • Fix edit button in the documentation (Rafał Chłodnicki)
  • Fix casing in language-ids.sublime-settings (Raoul Wols)
  • Enable project-only configurations (Raoul Wols)
  • Create extra regions for diagnostics with tags (#1588) (Rafał Chłodnicki)
  • Send completion request to multiple sessions (#1582) (Предраг Николић / Predrag Nikolic)
  • Link to the new documentation in the readme (#1604) (Rafał Chłodnicki)

4070-1.2.12

01 Mar 20:08
Compare
Choose a tag to compare

New client configuration key

You can now use disabled_capabilities per client configuration.
It's a JSON object (dictionary) of "masked" server capabilities.
For more information on how this works, use the hover info capability
of LSP-json.

Removed settings

  • disabled_capabilities used to be a global setting. It's removed in
    favor of it being a setting per client configuration.

  • ignore_server_trigger_chars used to be a client configuration
    key, but is removed in favor of using disabled_capabilities.

Features and Fixes:

  • Remove ignore_server_trigger_chars setting (#1600) (Raoul Wols)
  • Display an error message when a code action returns an error (Raoul Wols)
  • Fix: some menu items were broken (Raoul Wols)
  • Use the CSS variable --mdpopups-font-mono in popups.css (Raoul Wols)
  • Enable hardbreak in mdpopups to handle escaped newlines (Raoul Wols)
  • Handle moving views across windows (#1575) (Raoul Wols)
  • Don't lookup the listener so many times (#1589) (Raoul Wols)
  • Hopefully fix random import errors (#1587) (Raoul Wols)
  • Move lsp detail into autocomplete annotation (#1569) (David Mohl)
  • Replace document_highlight_scopes setting with better default scopes (#1585) (jwortmann)
  • Require a value when calling resolve function of a Promise (#1583) (Rafał Chłodnicki)