-
-
Notifications
You must be signed in to change notification settings - Fork 897
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
Various fixes to lsp-fsharp #3327
Conversation
hey @drvink I am thinking about reviewing/testing this, but my question is about your last commit I was planning about introducing an ability to install fsautocomplete as a global dotnet tool (almost the exact same code as we have it for csharp-ls in is there any particular reason you expect fsautocomplete to be installed as a local dotnet tool and not as a global dotnet tool? as I understand the current installation method for fsharp fails for you too, right? would you mind if I dropped your last commit and: |
also, I don't quiet get the reason behind introducing then I guess this wouldn't be necessary if we require fsautocomplete to be installed as a global tool |
Indeed, I didn't add anything for installing it; it would be even simpler than the existing install code, since as of 0.50, FSAC is intended to be installed as a dotnet tool (and only a nupkg is provided in the github releases, no more zip file). I figured I'd get this PR through first, since it doesn't break anything or change any defaults. I agree the ideal thing would be to try to run it as a global tool by default. However, when I installed fsautocomplete as a global tool, it still didn't work unless I manually made a I don't think it hurts to keep (I wonder: should we try fallbacks? E.g. try And yes, you only have access to local dotnet tools if you're in a directory under the workspace root, so I had to add the stuff for |
ok, my plan is then to: |
@razzmatazz Do you want me to try to rebase what I have on #3350, or should I wait until it's merged? |
Actually, could you wait a bit -- I got my pc reinstalled twice -- sorry it took so long -- as I still want to add I should be able to do it today you can then rebase on master |
I have enabled automerge on #3350, should be merged soon after CIs are complete |
Might also be worth adding in |
can you resolve conflicts? |
This is a buffer-local variable to enable temporarily binding `default-directory' to `lsp-workspace-root' when running an LSP server, allowing for project-local LSP server installations (e.g. as with `dotnet tool` for F#).
@yyoncho Sorry to keep you waiting; rebased and should be fine to merge now. |
@drvink thank you. (FTR it is good to ping after force push, GH might not send a mail) |
Changes described in the commit messages and docstrings.