-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hey!! I'm trying the zed editor (I use sublime text) and the one thing I'm missing to port to zed is the configuration to been able to use the matlab-lsp-server.
In sublime text, I use this working config:
{
"clients": {
"matlab": {
"command": [
"/usr/bin/node",
"/home/kira/software/MATLAB-language-server/out/index.js",
"--stdio",
"--matlabInstallPath",
"/usr/local/MATLAB/R2024b"
],
"enabled": true,
"selector": "source.matlab",
"settings": {
"MATLAB.indexWorkspace": true,
"MATLAB.installPath": "/usr/local/MATLAB/R2024b",
"MATLAB.matlabConnectionTiming": "onStart",
"MATLAB.telemetry": false
}
},
},
"log_debug": true
}
I tried to directly port it to zed via:
"matlab-language-server": {
"binary": {
"path": "/usr/bin/node",
"arguments": [
"/home/kira/software/MATLAB-language-server/out/index.js",
"--stdio",
"--matlabInstallPath",
"/usr/local/MATLAB/R2024b"
]
},
"settings": {
"MATLAB.indexWorkspace": true,
"MATLAB.installPath": "/usr/local/MATLAB/R2024b",
"MATLAB.matlabConnectionTiming": "onStart",
"MATLAB.telemetry": false
}
},but the server is not starting when editing a .m file. I also added to the zed config:
"languages": {
"MATLAB": {
"language_servers": ["matlab-language-server"],
"tab_size": 2,
"hard_tabs": true
},
}
"file_types": {
"MATLAB": ["m"],
},Any ideas of what I'm doing wrong?
jitinnair1
Metadata
Metadata
Assignees
Labels
No labels