Lsp Wl Versions Save

A Wolfram Language Server

v0.3.0

3 years ago

Happy Lunar New Year 2021 ๐Ÿงจ๐Ÿ‚

Added

  • Support for debugger adapter. Code can be evaluated and symbols can be shown in the editor.

  • CodeAction to show Documentation for system symbols (Thanks @wuyudi for the help with testing)

v0.2.2

3 years ago

Stay Home Stay Healthy ๐Ÿฑโ€๐Ÿ

Added

  • SignatureHelp is available for functions when [ and , is input.

Changed

  • Change the dependencies from AST and Lint to CodeParser and CodeInspector.
  • The alias completion has been improved by reducing the number of completionItems, and returning \-prefixed aliases when triggered twice.

Fixed

  • triggerCharacters should be a list (thanks to @dalanicolai).
  • The duplicate requests error will not popup in Output window in VSCode (reported by @GiovanniBordiga).
  • MessageName should be shown when hovered

v0.2.1

4 years ago

Happy Lunar New Year 2020 ๐Ÿฎ๐Ÿ€

Added

  • Definition / References are available to show in scopes / the whole file.

  • DocumentHighlight is available to show the scoped variables.

  • DocumentColor / ColorRepresentation are available to show the color names and models.

Changed

  • The Top-level function / list declaration is visible in documentSymbol.
  • Attributes and Option are showed in hover messages.
  • Operators will also trigger the hover messages.

Fixed

  • Mathematica before version 11.3 are correctly using the StringRepeat.

Known issues

  • The hovering could be triggered, when cursor is in side a parent syntax node even it is not on the operator/function head. Not sure about the UX.
  • Color-related requests are slowed down intentionally, since it is in low use frequency comparing to messages like didChange and completion.
  • Even if some requests are prioritized to improve the experience, sometimes responds could still be slower if the document is changing too frequent.

v0.2.0

4 years ago

Enjoy the summer ๐Ÿ–๏ธ

Added

  • The document structure is provided in DocumentSymbol. (Thanks to Brenton's AST package)
  • Hovering for MessageName and numeral literals.
  • Completion for both aliases and long names of the Unicode characters (with leader key \).
  • Auto check for upgrades and dependencies.

Changed

  • Using Brenton's Lint package to diagnose the document.
  • Documentations now have a better format with code block (in hovers and completions).
  • Diagnostics are published schedulely.

Fixed

  • High CPU usage when reading message via sockets under Linux.
    (Reported by @kc9jud and solution suggested by @megatron0000)

Known Issues

  • Some of the documentations are not transcribed correctly into Markdown format, see issues.

v0.1.2

4 years ago

Added

  • Named pipe support for Windows

Fixed

  • Avoid early evaluation that slow down the initialization

  • Markdown conversion for special characters

Removed

  • SVG image for document information

v0.1.1

5 years ago

Happy Lunar New Year 2019 ๐Ÿงง

Added

  • Markdown text-based document information

Fixed

  • Tail-recursive message handler with no limits

Deprecated

  • SVG image for document information

v0.1.0

5 years ago

Added

  • A state-less server to handle messages, via TCP socket protocol.

  • Support for the following language features:

    • Hover: Provide definitions for variables with usage message.

    • Completion: for wolfram system names.

    • Completion Resolve: Further information would be provided for the items in the list.

    • Diagnostics: Syntax error would be underlined.

  • Support for exporting temporary SVG images for the information of the variables.

  • A type system with pattern test.

  • A unit test framework.