Releases: sublimelsp/LSP
4070-1.2.12
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 usingdisabled_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)
4070-1.2.11
Fixes and features:
- Account for font size for popup width (#1580) (Raoul Wols)
em_width() is now employed instead of a hardcoded 800px - Fix a tiny html render bug regarding diagnostic.relatedInformation (Raoul Wols)
- Expand also built-in variables in lsp_execute's command arguments (#1577) (Rafał Chłodnicki)
- Change popup style (#1574) (Предраг Николић / Predrag Nikolic)
- A bit more precise selectors so users can customize their color scheme (Raoul Wols)
You can assign colors to the following scopes in your color scheme to customize
the signature help look:- entity.name.function.sighelp.lsp
- variable.function.sighelp.lsp
- Fix #1572: prefer documentEdits over changes (Raoul Wols)
This fixes a bug in LSP that caused duplicate text edits for the elm language server - Fix issue with diagnostics regions sometimes not being removed on undo (Rafał Chłodnicki)
- Fix inconsistent popup's bottom margins (#1568) (Rafał Chłodnicki)
4070-1.2.10
Features and Fixes:
- fix for ST build 4097: '*InputHandler' object has no attribute 'want_event' (Predrag)
4070-1.2.9
Fixes & Features:
- Fix "go-to" actions with side-by-side flag after a breaking change in ST 4096 (#1563) (Rafał Chłodnicki)
- Look up the sig help triggers via the buffer capabilities (Raoul Wols)
- Always look up the session name for lsp_execute (#1557) (Raoul Wols)
- Extend disabled_capabilities with more options (#1555) (Predrag Nikolic)
4070-1.2.8
Fixes & Features:
- Fix #1548: when the region is empty, query touching points (Raoul Wols)
- Add support for old plist package (DeathAxe)
- Handle basic editor commands (#1545) (Raoul Wols)
- Implement client-initiated progress reporting (#1535) (Raoul Wols)
- Add more documentation for issues 1529 and 1530 (#1531) (JeremyBois)
- Symbol Tag support, and use QuickPanelItem for workspace symbols (#1541) (Predrag Nikolic)
- make hr less noticeable (Predrag Nikolic)
4070-1.2.7
Fixes & Features:
- Add A File Icon alias scopes to language-ids (DeathAxe)
- Erase diagnostics when the SessionView dies (Raoul Wols)
- Rename auto_show_diagnostics_panel_level to show_diagnostics_panel_on_save (Raoul Wols)
- Rethink the "next/prev diagnostic" (#1533) (Raoul Wols)
As was mentioned in release 1.2.6, the commands lsp_next_diagnostic (F8) and
lsp_previous_diagnostic (shift+F8) are now removed in favor of
the built-in next_result (F4) and prev_result (shift+F4).
Using F4, the hover popup will show diagnostics.
4070-1.2.6
The next patch version of LSP will remove the following commands:
- lsp_next_diagnostic
- lsp_previous_diagnostic
- lsp_hide_diagnostic
These were bound by default to f8 and shift+f8.
As a replacement, LSP will rely on the following two built-in commands:
- next_result
- prev_result
These are bound to f4 and shift+f4. LSP will listen for these commands and
show a stripped-down version of the familiar "hover" popup that will only
show diagnostics.
Code Lenses
CodeLens is a popular feature in Visual Studio Code. The essence of
the feature is "actionable contextual information interspersed" in your
source code. That's quite a mouthful. Let me break it down for you.
Code lenses are links in your code:
- Actionable: You can click on the link and something happens.
- Contextual: The links are close to the code they are representing.
- Interspersed: The links located throughout your source code.
LSP will now render code lenses as annotations to the right of your
code. Some experimentation was done using phantoms rendered below the
relevant region, but it turns out it's annoying to see your code jump
around vertically.
Because code lenses are highly dependent on client glue code, LSP will
only request code lenses from the language server when the session is
backed by a helper package. The helper package is expected to handle the
custom commands from those code lenses.
Miscellaneous Features & Fixes
- Temporarily disabled configs could be updating themselves (Raoul Wols)
- Fix related diagnostics being smushed together (Raoul Wols)
4070-1.2.5
- Make panels consistent (#1524) (Predrag Nikolic)
- Fix broken panel regexes (Predrag Nikolic)
4070-1.2.4
Settings changes
"auto_show_diagnostics_panel" is removed. Instead, use
"auto_show_diagnostics_panel_level".
Fixes and features
- Never close the diags panel automatically (#1525) (Raoul Wols)
- fix: diagnostics line regex (Predrag Nikolic)
- Clickable links in the diagnostics panel (#1520) (Raoul Wols)
- sort the diagnostics by the line number (Predrag)
- Display the diagnostic code (#1519) (Raoul Wols)
- Minor refactor of completions resolving (#1518) (Rafał Chłodnicki)
- Set show_symbol_action_links to true by default (#1517) (Raoul Wols)
- Prevent flickering on save for the diag panel (Raoul Wols)
4070-1.2.3
-
General improvements to popup CSS styling (#1515) (Raoul Wols)
This fixes a clangd rendering issue for hover popups. -
General improvements to signature help (#1513) (Raoul Wols)
This fixes rendering of the signature help popup for various corner cases. -
Add support for $document_id in keybindings for workspace/executeCommand (DeathAxe)
-
Fix: do not clobber older edits with newer edits (Raoul Wols)
This fixes a rust-analyzer issue where only the last rename item would be renamed. -
language server pages (#1490) (Предраг Николић / Predrag Nikolic)
We're working on refreshing the documentation.
While it's a work-in-progress, you can take a look: sublimelsp.github.io/LSP