MATLAB® language server implements the Microsoft® Language Server Protocol for the MATLAB language.
MATLAB language server requires MATLAB version R2021a or later.
MATLAB language server implements several Language Server Protocol features and their related services:
- Code diagnostics — publishDiagnostics
- Quick fixes — codeActionProvider
- Document formatting — documentFormattingProvider
- Code completions — completionProvider
- Function signature help — signatureHelpProvider
- Go to definition — definitionProvider
- Go to references — referencesProvider
- Document symbols — documentSymbol
MATLAB language server supports these editors by installing the corresponding extension:
- Neovim — nvim-lspconfig
- Visual Studio® Code — MATLAB extension for Visual Studio Code
Release date: 2024-03-05
Added:
- Code execution support
Fixed:
- Prevent responses from MATLAB being intercepted by the incorrect request callback
- Fixed linting diagnostic suppression with MATLAB R2024a
Release date: 2024-01-16
Fixed:
- Fixed linting with mlint on Windows
- Fixed regression with code navigation when using with MATLAB R2024a
Release date: 2023-12-06
Fixed:
- Fixed code navigation when using with MATLAB R2024a
- Handle symbolic link to MATLAB when linting with mlint (Thanks @MoetaYuko!)
- Handle maca64 architecture when linting with mlint (Thanks @tiagovla!)
Release date: 2023-10-11
- Add support for MATLAB sections in the documentSymbol (outline).
Release date: 2023-09-13
Fixed:
- Fixed issue connecting to MATLAB with Node.js® version 18 and later.
Release date: 2023-08-14
Fixed:
- Patched CVE-2023-26136 and CVE-2022-25883
Release date: 2023-07-10
Fixed:
- Diagnostic suppression should be placed at correct location when '%' is contained within string
- Improved navigation to files inside MATLAB packages within the VS Code workspace but not on the MATLAB path
- Prevented navigation to private/local functions from other files
- MATLAB sign-in is no longer blocked on Windows
Release date: 2023-05-31
Fixed:
- Improves responsiveness of documentSymbol support
- Clear linting diagnostics from closed files
- MATLAB should launch with
onDemand
setting
Release date: 2023-05-12
- Resolves linting errors
Release date: 2023-05-12
- Add support for documentSymbol (outline).
Release date: 2023-04-26
- Initial release.