Releases: sublimelsp/LSP
4070-1.16.1
Features and Fixes
- Fix missing logs in the logging panel (Raoul Wols)
4070-1.16.0
Features and Fixes
- Remove registration of the legacy LanguageHandler class (#1936) (Raoul Wols)
- Don't use emoji for deprecated completion items icon (#1942) (Janos Wortmann)
- Document the command for showing signature help (#1938) (Seph Soliman)
- Fix "disable server globally" command for LSP packages (#1907) (Предраг Николић)
- Lowercase keys for initializing semantic token regions (Janos Wortmann)
- Show popup with code actions when hovering over lightbulb icon (#1929) (Janos Wortmann)
- Remove more usage of uri_to_filename (#1796) (Raoul Wols)
- Prevent semantic tokens delta request after previous error response (Janos Wortmann)
- Announce in initialize that we augment syntax tokens (Janos Wortmann)
- Ensure code actions lightbulb icon is on top (#1928) (Janos Wortmann)
- Ensure view gets registered when tab is moved to create new window (#1927) (Janos Wortmann)
- Fix lsp_show_scope_name command not working if view was dragged to new window (Janos Wortmann)
4070-1.15.0
Semantic highlighting is an advanced language server capability where the server
can communicate token regions to highlight. This allows for accurate
highlighting for project-dependent tokens in languages like C++ and TypeScript.
There is no official ST API endpoint to communicate this information to ST. As
such, any implementation of this feature for this package will have to resort
to a few workarounds to make it work. For this reason the feature is disabled
by default and should be regarded as EXPERIMENTAL.
To enable the feature, set the "semantic_highlighting" boolean to "true" in your
LSP.sublime-settings file. Moreover, you'll need to add a special scope rule in
your color scheme. The built-in color schemes are overridden in this package to
make that process easier for you.
If:
- you're using a color scheme that's not a default one, or
- you want to adjust the colors for semantic tokens by applying a foreground
color to the individual token types, or - you need to finetune custom token types provided by your language server,
then see the updated documentation: https://lsp.sublimetext.io/customization/#semantic-highlighting
Features and Fixes
- Allow plugins to specify a custom syntax for code blocks in markdown (#1914) (Raoul Wols)
- Call can_start() and on_pre_start() in the troubleshooting flow (#1916) (Rafał Chłodnicki)
- Don't call the callback if the transport was closed (Rafal Chlodnicki)
- Handle Code Lens Refresh Request (#1918) (Ayoub Benali)
- fix types for protocols to add type safety (#1903) (Rafał Chłodnicki)
- fix crash loop on disabling helper package of a running server (#1906) (Rafał Chłodnicki)
- Send range with textDocument/hover when possible (#1900) (Ayoub Benali)
4070-1.14.0
Features and Fixes
-
Fix LSP status field missing randomly (#1901) (Rafał Chłodnicki)
-
Fix color boxes not updating in some cases (#1899) (Rafał Chłodnicki)
-
Simplify Vala Language Server instructions (#1895) (Colin Kiama)
-
Include diagnostics when triggering codeAction request on save (#1896) (Rafał Chłodnicki)
-
Use new UnitTesting github actions (#1897) (Rafał Chłodnicki)
-
Remove unused context in "goto definition" keybindings (Rafal Chlodnicki)
-
"Goto Diagnostic" quick panels (#1884) (Hans-Thomas Mueller)
You can now more comfortably browse through the diagnostics in the current
file by running the command "LSP: Goto Diagnostic" or "LSP: Goto Diagnostic in Project"
from the command palette.
This functionality replaces the old behavior of using Sublime's built-in
next_result
command.
You can bind these to a key. Run "Preferences: LSP Key Bindings" from
the command palette to see an example binding. -
Don't restart all servers on changing LSP-* plugin settings (#1893) (Rafał Chłodnicki)
-
report didChangeWatchedFiles capability in a correct place (#1892) (Rafał Chłodnicki)
-
Don't resolve code lenses if server doesn't support resolving (#1888) (Rafał Chłodnicki)
4070-1.13.0
New Helper Packages
- LSP-julia: https://packagecontrol.io/packages/LSP-julia
- LSP-gopls: https://packagecontrol.io/packages/LSP-gopls
Features and Fixes
-
Allow customizing diagnostics styles (#1856) (Krut Patel)
This adds back the ability to change the style of in-view diagnostics.
See the new settings "diagnostics_highlight_style" and "show_multiline_diagnostics_highlights"
accessible via the command palette by running "Preferences: LSP Settings". -
Panel output/regex fixes (#1883) (Hans-Thomas Mueller)
-
Document fix for F4 not working (#1721). (Hans-Thomas Mueller)
-
Add lsp_save_all function (#1876) (Fernando Serboncini)
This allows you to run "code actions on save" and "format on save" for all open
views. See the example key binding accessible via the command palette by
running "Preferences: LSP Key Bindings". -
Move diagnostic panel contributions from SessionBuffer to Session (#1881) (Hans-Thomas Mueller)
This ensures diagnostics from files not open in Sublime are no longer discarded
in the diagnostics panel. So, for language servers like metals and haskell-language-server
this allows you to get an entire overview of the possible problems in the project.
The diagnostics panel is accessible via the command palette by running
"LSP: Toggle Diagnostics Panel". -
Ensure timeout messages during code-action-on-save are visible (Rafal Chlodnicki)
-
Fix signature help keybindings after core changes (#1878) (Rafał Chłodnicki)
-
Fix on_query_context returning wrong value for unknown contexts (#1879) (Janos Wortmann)
-
Add documentation for terraform-ls (#1861) (Mike Conigliaro)
-
Add AbstractPlugin.on_session_buffer_changed API (#1873) (Rafał Chłodnicki)
-
Fix console exception with panel logger enabled (#1867) (Rafał Chłodnicki)
-
Update docs for Julia language server (Janos Wortmann)
4070-1.12.1
Fixes
- Revert "Don't allow old nested dict style keys anymore (#1865)" due to regression. Pending better fix.
4070-1.12.0
Features and Fixes
- Add a comment to guide new users how to change the keybind of a command (#1866) (RUSshy)
- Don't allow old nested dict style keys anymore (#1865) (Raoul Wols)
This fixes an issue for LSP-yaml where you couldn't create a mapping
from schema URIs to file patterns. It is now possible to use the
"yaml.schemas" setting. - [D] dls is not maintained anymore, serve-d took over (RUSshy)
- Add a couple of types here and there (#1862) (Rafał Chłodnicki)
- Support multiple patterns in file_watcher client configuration (#1859) (Rafał Chłodnicki)
4070-1.11.0
New Helper Packages
- LSP-volar: https://packagecontrol.io/packages/LSP-volar
- LSP-Bicep: https://packagecontrol.io/packages/LSP-Bicep
- LSP-rust-analyzer: https://packagecontrol.io/packages/LSP-rust-analyzer
Fixes and Features
- Generalize implementation of the transport (#1847) (Rafał Chłodnicki)
- use config_name, because session.config.name can change (Предраг Николић)
- Remove obsolete dependencies (#1853) (deathaxe)
- Ensure lsp_save actually runs when context is active for keybinding (#1852) (jwortmann)
- Ensure the process is killed if it didn't exit within 1 second (Rafal Chlodnicki)
- Send hover request to all sessions that supports hoverProvider (#1845) (Предраг Николић)
- Clear undo stack on every panel mutation (#1841) (Raoul Wols)
4070-1.10.1
- Add instructions for F# (FSharpAutoComplete) (Evgeniy Andreev)
Features and Fixes
- Revert "Always clear undo stack after a mutation on any panel (#1824)" (Raoul Wols)
4070-1.10.0
Features
- Add additional_formatting_options plugin API for adjusting formatting options (#1832) (Rafał Chłodnicki)