Skip to content

Releases: sublimelsp/LSP

0.9.2

04 Dec 12:14
Compare
Choose a tag to compare

Features:

  • Support LocationLink (used in go to definition in ccls) (@rwols)

  • Promote keybindings configuration with a command and additional content (@rwols)

Fixes:

  • Also wrap code blocks in hovers at 80 characters to avoid horizontal scrollbar

  • Make show_diagnostics_severity_level apply consistently (not in view regions, see #800)

  • Remove unnecessary show_status_messages setting (@Narretz)

  • Translate undecodeable UTF-8 sequences in logging output by '?' (@rwols)

  • Fix server repeatedly restarting when failing to launch

New server support or documentation:

Deprecations:

  • show_status_messages setting (always on now)

See https://github.com/tomv564/LSP/releases/tag/0.9.2 for full update details.

Thanks to all contributors & reporters!

0.9.1

29 Nov 14:25
Compare
Choose a tag to compare

Since 0.9.0, discussion about this package is now in the #lsp channel on the official Sublime Discord server. Come stop by!

Features:

  • Format on save (#731)

    • Support for servers that can do it (see their configuration)
    • Support for LSP running the format for you (Default off, enable by setting lsp_format_on_save to true in sublime or project settings)
  • Shortcut and phantoms for previous/next diagnostic (eg. F8/shift-F8, see #783)

  • Context menu items moved to "LSP" sub menu (@rwols)

  • Completion respects Sublime's auto_complete_selector setting before showing completions.

  • Support workspace/configuration request (needed for eslint server)

  • Support related info in diagnostics (#773)

  • Support for LSP to own the port when running TCP servers (#751)

    • Set tcp_mode to "host" in client configuration.

Fixes:

  • Error showing references on Windows (#727)

  • Show line of a reference's usage from actual document (instead of disk) (@predragnikolic)

  • Stop requesting Signature Help in comment blocks etc. (#743)

  • Don't show signature help if the user has continued typing

  • Signature help label rendered incorrectly (#742)

  • Hide links in hover popup (@jwortmann, #735)

  • Prevent scroll bars in hover/signature popups (#776)

  • Completions would never fire at first character in document.

  • Completions should not cache empty responses (from intelephense) at some locations (#745)

  • Completions should not insert an extra < (#714)

  • Completions could sometimes not insert additionalEdits (#720)

  • Completions should handle "special" completions items from Metals (@rwols, #772)

  • Fix Code Actions sometimes not showing up when selection changes (@predragnikolic)

  • Fix servers not starting when quick switching projects (#708)

New server support or documentation:

Deprecations:

  • No longer using regexes to allow short-hand syntax names in client configuration
  • prefer_label_over_filter_text setting for completions
  • "Setup Language Server" detection and command (#793)

See https://github.com/tomv564/LSP/releases/tag/0.9.1 for full update details.

Thanks to all contributors & reporters!

0.9.0

19 Sep 10:47
Compare
Choose a tag to compare

Features

  • Color highlighting! (eg. in CSS files) (@predragnikolic)
  • Improved documentation and/or built-in settings for c++, ruby, elm, omnisharp, php/intelephense, python, julia, vue.
  • Hover is now enabled on any word, including strings and comments
  • Set boolean 'lsp_active' setting on views to allow LSP-enabled key bindings (@frou, #651)
  • A disabled_capabilities setting to disable features like "hover", "completion", "documentHighlight", "colorProvider", "signatureHelp".

Fixes

  • Fix RuntimeError when opening views while starting session (#682)
  • Typo in "Implementation" in hover popup (@kud)
  • Stop blocking sublime's completions within strings (#686)
  • Render signature help documentation with markdown (#670)
  • Reduce package size from 725kb to 120kb (@jfcherng)
  • Prevent zombie server processes with extra locking/waiting at startup and shutdown.
  • Render newlines in diagnosics content shown in hover popup (@predragnikolic)
  • Stop overriding user's completion trigger chars.
  • Pick the first server with a capability when running multiple servers in a document (#562)
  • Fix accidental server restarts when running without a project folder by never updating the initial folder (#668)
  • Restore log_server setting (@simonklb)
  • Handle document edits after the last line by "creating" a next line (#690)

Thanks to all contributors & reporters!

0.8.6

12 Aug 09:51
Compare
Choose a tag to compare

Bug fixes

  • Server logging at startup now appears in the console (instead of "unhandled notfication: window/logMessage")
  • Go to type definition/declaration/implementation capabilities properly advertised to servers.

Thanks for all contributions!

0.8.5

22 Jul 22:39
Compare
Choose a tag to compare

Features:

Code completion

  • If a server returns incomplete lists, LSP will now continue requesting completions on successive chars.
  • Both textEdit and additionalTextEdits are now applied if provided by the server.

Code actions
Expanded support (code action literals as used in eslint-server) (thanks @rchl !)

Other:

Many bug fixes, configuration and documentation updates, thanks to @rwols, @urschrei, @AmjadHD, @LoneBoco, @ayoub-benali, @jwortmann, @taylorthurlow

See https://github.com/tomv564/LSP/releases/tag/0.8.5 for full update details.

0.8.4

27 May 22:09
Compare
Choose a tag to compare

Features:

Signature help popup has syntax highlighting on signature, and emphasizes active parameter (with help from @predragnikolic)
Documentation and default configs have been updated.

Fixes:

  • Fix for workspace edits failing to apply
  • Fix double '$' or removal of leading characters in some completions (clangd/PHP/Powershell)
  • Fix completions occasionally failing while checking view syntax (@rwols)
  • Increased protocol compatibility in stdio header parsing (@bscottm)

Deprecations:

highlight_active_signature_parameter setting removed, this is now default behaviour.

0.8.3

19 May 21:18
Compare
Choose a tag to compare

Includes some refactoring and cleanups for improved testing.

Features:

  • Completions can use filterText for completion trigger (@rwols)
  • Improved performance applying document edits (@haferburg)
  • New configurations for Metals, gopls

Fixes:

(Various small fixes)

Deprecations:

resolve_completion_for_snippets setting removed, feature no longer supported.

0.8.2

19 Mar 20:22
Compare
Choose a tag to compare

Features:

Option to use QuickPanel for Symbol References (@alin23)

  • Set show_references_in_quick_panel to true

Support for workspace/symbol query (@ayoub-benali)

Fixes:

Account for protocol updates (@rwols)

  • Significantly, completions now use textEdit instead of insertText.

Prevent completion state getting stuck in CANCELLING (@simonklb)

Fix error reading optional field in document highlight responses (@kkurian)

Plus other contributions including configuration and documentation, much appreciated!

0.8.1

15 Jan 22:49
Compare
Choose a tag to compare

Features

Lightbulb gutter icon shows Code actions! (@predragnikolic)

output

To try this out:

  • Set the show_code_actions_bulb LSP setting to true
  • If using GitGutter, add 'lsp_bulb' to its 'protected_regions' setting.

Bug fixes

  • Send initialized to language server before opening documents
  • Handle completion response containing null instead of empty array. (@rwols)

0.8.0

31 Dec 14:08
Compare
Choose a tag to compare

Features:

Bug fixes:

  • Switch project path caused server restart issue
  • Go to definition now works with Sublime Jump back (@predragnikolic)
  • Don't register empty completion trigger

Various improvements and cleanups, thanks to @rwols!