MATLAB-language-server
所属分类:matlab编程
开发工具:TypeScript
文件大小:0KB
下载次数:1
上传日期:2023-08-07 21:08:13
上 传 者:
sh-1993
说明: MATLAB语言服务器,,
(MATLAB-language-server,,)
文件列表:
.eslintrc (1547, 2023-12-06)
CONTRIBUTING.md (3562, 2023-12-06)
LICENSE (1076, 2023-12-06)
SECURITY.md (389, 2023-12-06)
matlab/ (0, 2023-12-06)
matlab/+matlabls/ (0, 2023-12-06)
matlab/+matlabls/+handlers/ (0, 2023-12-06)
matlab/+matlabls/+handlers/CompletionSupportHandler.m (1689, 2023-12-06)
matlab/+matlabls/+handlers/FeatureHandler.m (701, 2023-12-06)
matlab/+matlabls/+handlers/FormatSupportHandler.m (2018, 2023-12-06)
matlab/+matlabls/+handlers/IndexingHandler.m (5099, 2023-12-06)
matlab/+matlabls/+handlers/LintingSupportHandler.m (2194, 2023-12-06)
matlab/+matlabls/+handlers/NavigationSupportHandler.m (3110, 2023-12-06)
matlab/+matlabls/+internal/ (0, 2023-12-06)
matlab/+matlabls/+internal/CommunicationManager.p (238, 2023-12-06)
matlab/+matlabls/+internal/computeCodeData.p (3246, 2023-12-06)
matlab/+matlabls/+internal/getCompletionsData.p (256, 2023-12-06)
matlab/+matlabls/+internal/getDiagnosticSuppressionEdits.p (1497, 2023-12-06)
matlab/+matlabls/+internal/resolvePath.p (1157, 2023-12-06)
matlab/+matlabls/MatlabLanguageServerHelper.m (1448, 2023-12-06)
matlab/initmatlabls.m (1143, 2023-12-06)
package-lock.json (276518, 2023-12-06)
package.json (1461, 2023-12-06)
src/ (0, 2023-12-06)
src/index.ts (160, 2023-12-06)
src/indexing/ (0, 2023-12-06)
src/indexing/DocumentIndexer.ts (2516, 2023-12-06)
src/indexing/FileInfoIndex.ts (15973, 2023-12-06)
src/indexing/Indexer.ts (5880, 2023-12-06)
src/indexing/WorkspaceIndexer.ts (2563, 2023-12-06)
src/lifecycle/ (0, 2023-12-06)
src/lifecycle/ConfigurationManager.ts (5364, 2023-12-06)
src/lifecycle/LifecycleNotificationHelper.ts (1225, 2023-12-06)
src/lifecycle/MatlabCommunicationManager.d.ts (3742, 2023-12-06)
... ...
# 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
### 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.
近期下载者:
相关文件:
收藏者: