MATLAB#
Server#
For more information about the LSP server, check MATLAB language server.
Installation#
For more instructions on how to install manually, check here.
Debugger: Not available#
Available configurations#
lsp-clients-matlab-cmd-args
#
Type: (string)
Default: ``
Extra arguments the language server should specify when starting MATLAB.
lsp-clients-matlab-connection-timing
#
Type: (choice (const onStart) (const onDemand) (const never))
Default: onStart
When to start the MATLAB language server.
lsp-clients-matlab-index-workspace
#
Type: (boolean)
Default: nil
Whether or not to use the full background indexer.
Turning this on instructs the MATLAB language server to index all .m files under the project root. If there are thousands of .m files, then the MATLAB language server may become unresponsive, causing hangs.
lsp-clients-matlab-install-path
#
Type: (string)
Default: ``
Path to MATLAB to use. If not specified, then matlab is used from the system path.
lsp-clients-matlab-nodejs
#
Type: (string)
Default: node
Node.js to launch the MATLAB language server.
lsp-clients-matlab-server
#
Type: (string)
Default: /usr/local/apps/matlabls/out/index.js
Path to the MATLAB language server. To setup, - Download the language server (clone or unzip): - git clone https://github.com/mathworks/MATLAB-language-server.git or - Download zip from https://github.com/mathworks/MATLAB-language-server and unzip. - In the downloaded directory, npm install npm run compile npm run package # optional JavaScript minimization - Set lsp-clients-matlab-server to the download directory, or copy the ./out and ./matlab/ directory trees to an install location, e.g. cp -r ./out/ /usr/local/apps/matlabls/out/ cp -r ./matlab/ /usr/local/apps/matlabls/matlab/ then set `lsp-clients-matlab-server' to the install location.
lsp-clients-matlab-server-args
#
Type: (repeat string)
Default: (--stdio)
MATLAB language server arguments.