Open ubmarco opened 2 years ago
Hi,
The Linux executable comes bundled with the extension and should automatically be selected upon start of the extension, so in theory everyting should work on Linux out of the box. But it's been quite a while since I last tested if everything works on Linux, so there might be some stuff broken in the XML-Parser (specifically the filepath handling).
If you try it out let me know if it works, if not I'll try looking into it further.
Hi again,
sorry for the delay.
I figured out why the language server does not start. There is an EACCESS
error in VSCode logs.
I think the executable flag is missing for
~/.vscode/extensions/jonasrock.arxml-navigationhelper-0.2.0/ARXML_LanguageServer_Linux
.
After running
chmod +x ~/.vscode/extensions/jonasrock.arxml-navigationhelper-0.2.0/ARXML_LanguageServer_Linux
The language server was started, however failed with an error.
[2022-04-05 11:18:05.085] [renderer1] [error] [Extension Host] (node:158987) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Thank you for finding the problem with the executable flag.
The other error seems to be an issue with the extension itself and not the languageserver. I'll look into it as soon as I find time.
Hi, Thanks for the promising 'ARXML Navigation Helper' extension. I want to try it out on Linux. The marketplace page mentions
2 Questions:
According to https://github.com/JonasRock/ARXML_LanguageServer/blob/master/azure-pipelines.yml the LS is built on ubuntu-20.04.