Closed MangelMaxime closed 2 years ago
Hey @MangelMaxime , can you try rebasing on latest master to see if this fixes the tests?
Sure will do
The CI is indeed fixed.
I don't know why the one test is still failing locally for me. The one about CSharp reference but it is not a problem to me if the CI validate the build.
Closing because this is no longer relevant. We are way past this version. Thanks for your work regardless :)
I am trying to work on some issues/improvements I would like to propose to fsharp-language-server and encountered some problem for running the project.
Here is a list of the issues and solution I followed to fix them:
When running
npm install
I got:A solution is proposed on this issue https://github.com/microsoft/vscode/issues/119822#issuecomment-806489621 linking to a migration guide.
I followed the migration guide but didn't installed the
vscode-test
extensions because I don't think this project is running debugging inside of the VSCode.After that I got an error from the TypeScript compiler
TS2304: Cannot find name 'unknown'.
In order, to fix it I upgraded the TypeScript compiler to latest version as
unkown
has been introduced in version 3 and the project was using version 2.After that I got an error from the TypeScript compiler
TS2300: Duplicate identifier 'IteratorResult'.
This time I upgraded
@types/node
to the latest version.When running the extension via the
Extension
debug task, I had the errorCouldn't start client F# Language Server
. The problem, was that on windows the command name as used infindInPath
should bedotnet.exe
and not justdotnet
.I added a platform detection so choose the right name to follow the actual code. But personally, I would just change the code to
because the
findInPath
doesn't really provide anything. We don't add an error message or anything currently to help debug the issue.Edit: If you want me to change the code to remove
findInPath
please tell me, I will update the PR or create a new one.