setting it up in sublime text #32
-
Hey, I'm trying to set this up in sublime text. Then, in sublime text with the lsp package installed, I use this setting: "matlab": {
"command": ["/path/to/lsp-matlab", "--stdio", "--matlabInstallPath '/usr/local/MATLAB/R2023a'"],
"enabled": true,
"selector": "source.matlab"
} where the #!/usr/bin/env bash
node /home/user/software/MATLAB-language-server/out/index.js $@ Now, according to this log, the service starts but it crashes.
Can you see if I'm using the server wrong or something else is wrong? Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 5 replies
-
Unfortunately, I am not able to provide much guidance for getting this set up in IDEs beyond VS Code. I would suggest that you convert this issue into a discussion, and then other Sublime Text users can contribute to the conversation. One idea I have would be to modify the command you are specifying as such: "command": ["/path/to/lsp-matlab", "--stdio", "--matlabInstallPath=/usr/local/MATLAB/R2023a"] This is how the |
Beta Was this translation helpful? Give feedback.
-
hey, thanks for your suggestion, unfortunately it didn't work. |
Beta Was this translation helpful? Give feedback.
-
It looks like I need to do that from my end, actually. I will do the conversion. |
Beta Was this translation helpful? Give feedback.
-
reading other lsp plugins, I updated my config to this:
And this should do it, at least for sublime's side. Sadly, I got the same results. The odd thing is that the service starts, but for some reason it crashes... |
Beta Was this translation helpful? Give feedback.
-
Thanks to the sublime forum, I was able to figure it out and I just put all together in this little REPO, with instructions on how to install the server. |
Beta Was this translation helpful? Give feedback.
Thanks to the sublime forum, I was able to figure it out and I just put all together in this little REPO, with instructions on how to install the server.