# MATLAB-language-server **Repository Path**: mathworks/MATLAB-language-server ## Basic Information - **Project Name**: MATLAB-language-server - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: dklilley-bugfix-PackageOnMac - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-08-28 - **Last Updated**: 2024-08-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MATLAB language server [![Open in MATLAB Online](https://www.mathworks.com/images/responsive/global/open-in-matlab-online.svg)](https://matlab.mathworks.com/open/github/v1?repo=mathworks/MATLAB-language-server) MATLAB® language server implements the Microsoft® [Language Server Protocol](https://github.com/Microsoft/language-server-protocol) for the MATLAB language. MATLAB language server requires MATLAB version R2021a or later. ## Features Implemented MATLAB language server implements several Language Server Protocol features and their related services: * Code diagnostics — [publishDiagnostics](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_publishDiagnostics) * Quick fixes — [codeActionProvider](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_codeAction) * Document formatting — [documentFormattingProvider](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_formatting) * Code completions — [completionProvider](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_completion) * Function signature help — [signatureHelpProvider](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_signatureHelp) * Go to definition — [definitionProvider](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_definition) * Go to references — [referencesProvider](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_references) * Document symbols — [documentSymbol](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_documentSymbol) ## Clients MATLAB language server supports these editors by installing the corresponding extension: * Neovim — [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) * Visual Studio® Code — [MATLAB extension for Visual Studio Code](https://github.com/mathworks/MATLAB-extension-for-vscode) ## Release Notes ### Unreleased Fixed: * Resolved packaging failure on Mac * General bug fixes ### 1.2.1 Release date: 2024-04-04 Added: * Supports connecting to MATLAB when the New Desktop for MATLAB is enabled Fixed: * Fixed launching App Designer and Simulink through MATLAB code execution ### 1.2.0 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 ### 1.1.8 Release date: 2024-01-16 Fixed: * Fixed linting with mlint on Windows * Fixed regression with code navigation when using with MATLAB R2024a ### 1.1.7 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!) ### 1.1.6 Release date: 2023-10-11 * Add support for MATLAB sections in the documentSymbol (outline). ### 1.1.5 Release date: 2023-09-13 Fixed: * Fixed issue connecting to MATLAB with Node.js® version 18 and later. ### 1.1.4 Release date: 2023-08-14 Fixed: * Patched CVE-2023-26136 and CVE-2022-25883 ### 1.1.3 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 ### 1.1.2 Release date: 2023-05-31 Fixed: * Improves responsiveness of documentSymbol support * Clear linting diagnostics from closed files * MATLAB should launch with `onDemand` setting ### 1.1.1 Release date: 2023-05-12 * Resolves linting errors ### 1.1.0 Release date: 2023-05-12 * Add support for documentSymbol (outline). ### 1.0.0 Release date: 2023-04-26 * Initial release.