All notable changes to the MATLAB language server will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Applied patches for CVE-2026-32141
- Resolves an issue starting MATLAB when the
HOMEenvironment variable is set to an invalid folder (Addresses mathworks/MATLAB-extension-for-vscode#164) - Applied patches for CVE-2025-13465, CVE-2025-68157, CVE-2025-68458, CVE-2026-2391, CVE-2026-27606, CVE-2026-27903
- Support for using the pause button to pause in the debugger (Addresses mathworks/MATLAB-extension-for-vscode#263)
- Improvements to symbol renaming, symbol highlighting, find references, and go to definitions as a result of advanced MATLAB program file indexing (Addresses mathworks/MATLAB-extension-for-vscode#94)
- Changes the default value of
MATLAB.defaultEditortotrue - Resolves issues with the
savepathfunction by ensuring that MATLAB language server files are not saved to the MATLAB search path (Addresses mathworks/MATLAB-extension-for-vscode#299) - Resolves potential crashes when breakpoints are set
- Applied patches for CVE-2025-15284, CVE-2025-64718, and CVE-2025-64756
- Resolves an issue with the previous version build. Does not include any changes to the language server's code or features.
- MATLAB automatically closes after 5 minutes if the connection fails during startup, preventing leaked instances (Addresses mathworks/MATLAB-extension-for-vscode#241)
- MATLAB now starts from the primary workspace folder, so that the
pwdcommand returns the correct path during startup (Addresses mathworks/MATLAB-extension-for-vscode#233) - Resolves a crash that occurs when suppressing a linting diagnostic on a line with an existing comment (Addresses mathworks/MATLAB-extension-for-vscode#280)
- Applied patches for CVE-2025-58751 and CVE-2025-58752
- Resolves issue where newly saved document contents are ignored during execution
- Support for highlighting all references to a selected function, variable, class, or class property
- Support for document range formatting
- Document symbol model now include methods, properties, and enumerations for improved navigation
- Resolves a crash that occurs when language server is used over stdin/stdout
- Resolves issue where language server stops working after calling
restoredefaultpath - Applied patches for CVE-2023-44270, CVE-2024-11831, CVE-2025-27789, CVE-2025-30359, CVE-2025-30360, CVE-2025-32996, and CVE-2025-5889
- Support for debugging P-coded files when the corresponding source file is available
- Resolves potential crashes when using code completion in files without a .m file extension
- Resolves errors with adding workspace folders to the MATLAB path on macOS and Linux systems
- The language server keeps the MATLAB path in sync with the client workspace, improving code navigation, completions, and execution
- Resolves errors with document formatting when using with MATLAB R2025a
- Resolves errors with execution and debugging when using with MATLAB R2022a
- The MATLAB language server no longer supports MATLAB R2021a. To make use of the advanced features of the extension or run and debug MATLAB code, you must have MATLAB R2021b or later installed.
- Debugging support
- Include snippets defined within MATLAB (requires MATLAB R2025a or later)
- Use default values when settings are missing from configuration
- Patches CVE-2024-52798
- Allow specifying the maximum file size for code analysis through the
maxFileSizeForAnalysissetting - Linting support in untitled files and in MATLAB files with different file extensions
- Patches CVE-2024-43788
- Resolves issue preventing code navigation and variable renaming for variables followed by a matrix operation (e.g.
x.^2)
- Symbol rename support
- Leading or trailing whitespace in
installPathsetting is ignored when connecting to MATLAB
Release date: 2024-07-12
- Improvements to code folding (requires MATLAB R2024b or later)
- Allow connection to MATLAB when a single quote appears in the extension installation path
- Resolve error with code navigation when using with MATLAB R2024b
- The MATLAB language server will no longer support MATLAB R2021a in a future release. To make use of the advanced features of the extension or run MATLAB code, you will need to have MATLAB R2021b or later installed.
- Added a system to detect if the connected MATLAB release is supported by the language server. This will inform the client, which may display a notification to the user about this.
- Resolved issue with connecting to Intel MATLAB installation on Apple Silicon machines
- Resolved error if MATLAB process is killed unexpectedly
- Fixed bug where "never" startup timing was ignored
- Resolved packaging failure on Mac
- Resolved connecting to MATLAB in proxy environment
- General bug fixes
- Supports connecting to MATLAB when the New Desktop for MATLAB is enabled
- Fixed launching App Designer and Simulink through MATLAB code execution
- Code execution support
- Prevent responses from MATLAB being intercepted by the incorrect request callback
- Fixed linting diagnostic suppression with MATLAB R2024a
- Fixed linting with mlint on Windows
- Fixed regression with code navigation when using with MATLAB R2024a
- 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!)
- Add support for MATLAB sections in the documentSymbol (outline).
- Fixed issue connecting to MATLAB with Node.js® version 18 and later.
- Patched CVE-2023-26136 and CVE-2022-25883
- 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
- Improves responsiveness of documentSymbol support
- Clear linting diagnostics from closed files
- MATLAB should launch with
onDemandsetting
- Resolves linting errors
- Add support for documentSymbol (outline).
- Initial release.