Hi,
I’m trying the VScode with Scilab (WIN10-64 installations):
first: it’s very great this environment especially for visual debuging, long awaited features !!! thank you !
Easy debuging then easy and safe coding, you can see the content of any type of scilab variables in the tree view (Variables or Watch), much smarter than in original coding environment.
Yet still an issue around Scilab Language Server : I made the VScode settings and debug configuration as explained in getting started, with no trouble during a while (5 s), when trying to write/edit the current .sci file, after a while I got error message in the output tab Scilab Language Server (when moving the mouse over any scilab function (
mgetl
, csvTextScan
,…) or argument autocompletion of function, ).
While was showing nicely the documentation as hint during a few seconds, it issues the error message in Output tab:
[Error - 5:27:59 PM] Stopping server failed
Message: Cannot call write after a stream was destroyed
Code: -32099
[Error - 5:27:59 PM] Stopping server failed
Message: Cannot call write after a stream was destroyed
Code: -32099
[Error - 5:27:59 PM] Server process exited with code 3221226505.
After that, I can’t recover the environment features automatic function argument completion or documentation about function under the mouse pointer, until I restart VScode or start to write a new file.
Also the function list in current file is not anymore available in OUTLINE
view and the CTRL+click on scilab function neither works when the scilab language server issues.
Let me know if I can perform further test or check settings, to support you fixing the issue…
Thanks,
David