-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lang Server 2.0 #394
Lang Server 2.0 #394
Conversation
…on on windows, and using normalize in a few more places
… Also add a ton of comments
…nto lang-server2.0
… status bar SDK and Backendupdate README
…all as on windows the exe would be locked
…nto lang-server2.0
Wow -- this was a long time in development since the first contributions by @fwcd ! -- Thank you Tim (@TimWhiting ) for pushing it through and making it work so well. This will be great for Koka and already I start to prefer working from vscode versus the interpreter :-) Thanks so much! |
Wow, this is amazing! Can I already try this out? Initially, I encountered this error when compiling the project with
Perhaps related to this, should Following |
We probably should include a bit more instructions in the readme. I'm assuming you did a npm run build && npm run package and then installed the resulting .vsix for the extension since the commands show up. As far as them failing, it is likely because the compiler found by the extension is an old version that does not have language server support. Setting the compiler config parameter like you did should fix it. In the extension itself in src/workspace.ts line 169 it searches for a Koka development workspace in your home directory under koka. (i.e. $HOME/koka) This will automatically pick up the latest build from stack. So maybe try to develop there? Daan develops in ($HOME/dev/koka), maybe we should have both be checked for developer paths, and recommend using one of those paths in the README. |
@TimWhiting Thanks, moving my Koka installation to While setting my |
Hi @anfelor , good to hear from you and thank you for trying the new language server. With the "run debug|optimized" buttons it is getting better than the interpreter :-) Strange that it didn't work at first and I think it might be related that it was still pointing to an incorrect Koka compiler version? Did you use The extension checks for a latest Koka compiler and prompts to install one if not found (and we plan to use the vscode extension as the main way to install binary koka versions). However, at the moment all recent compilers are v2.4.3 so it cannot detect if the language server is already up-to-date. (We should actually already bump the version to at least detect this situation.) |
Maybe @anfelor used a |
@TimWhiting @daanx Hmm, it works for me now also with setting |
Thanks for the feedback! We did add a new setting |
No description provided.