-
-
Notifications
You must be signed in to change notification settings - Fork 893
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
Proposal: make it easier to work with dotnet tools for C#/F# #4299
Proposal: make it easier to work with dotnet tools for C#/F# #4299
Conversation
cc @razzmatazz WDYT? 🤔 |
This commit allows users of this code to add extra directories to be ignored during project loading, which can be extremely useful while also using toolsets like Nix (which may symlink other F# projects in to the repo, thus confounding project loading).
This commit implements an approach proposed in emacs-lsp#3906. Specifically, it provides new control variables to make it possible to use C# and F# language servers _either_ as global _or_ local dotnet tools. So far, I've done this by providing boolean variables to control command construction, but I'm not attached to this approach. Closes emacs-lsp#3906.
a7e8932
to
c6c272d
Compare
Hi y'all -- I think @razzmatazz / @yyoncho are the right "y'all" here. I've just rebased this branch so it's merge-able again. What do I need to do to get this merged? At this point, I think I've rebased my proposed changes from #4049 in here, and this PR now closes #4049 as well. |
clients/lsp-csharp.el
Outdated
(if lsp-csharp-csharpls-use-local-tool | ||
"dotnet tool list" | ||
"dotnet tool list -g"))) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's place the )
on the last line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh my lord, how did that get there 😆 🤦 Yes! One second.
Can you resolve these compile errors?
|
Absolutely. |
LGTM. Thanks! |
This commit implements an approach proposed in #3906. Specifically, it provides new control variables to make it possible to use C# and F# language servers either as global or local dotnet tools. So far, I've done this by providing boolean variables to control command construction, but I'm not attached to this approach.
Closes #3906.