Comments (7)
pending on ionide/LanguageServerProtocol#4
from csharp-language-server.
It looks like there is :) I thought there wasnt.
‘CodeAction.isPreferred’
https://microsoft.github.io/language-server-protocol/specifications/specification-3-17/#codeAction
from csharp-language-server.
On the same spec there’s also CodeActionKind:
kind?: CodeActionKind;
It seems one possible value for that is quickfix
.
So I guess we should prioritise isPreferred and quickfix-kind actions, and in that order?
from csharp-language-server.
pending on ionide/LanguageServerProtocol#4
ok, that one has been merged
from csharp-language-server.
I have published 0.1.8, which should pull usings
action up a bit, not 100% sure this was the right way to fix, as isPreffered
was not taken into account in emacs-lsp/lsp-mode at the time I was checking it so not only that but I sorted simply those actions before returing to the editor -- hopefully ergonomics are better now
(it might take a couple of minutes for the package to show up on https://www.nuget.org/packages/csharp-ls/0.1.8)
from csharp-language-server.
Tested and works. Great stuff! 😃
Edit: Proof!
from csharp-language-server.
This works 100% as I described in the "expected" section in the issue, so I guess I have no choice but consider this 100% resolved 😄
from csharp-language-server.
Related Issues (20)
- Struggling to run the language server standalone HOT 3
- Error when attempting to go to metadata definition HOT 2
- Error In Emacs 28.1 HOT 1
- Uncontrolled error when no `.csproj` file is found HOT 3
- <see> crefs break when inside <para>s
- <seealso> tags are not handled in doc comments
- <list> tags are not handled in doc comments
- Error In Emacs 28 HOT 4
- Project loading no longer blocks/show progress
- --solution command line option not honoured when multiple solutions available in project
- csharp-ls can't find its references to load on projects built with msbuild HOT 2
- dotnet tool install --global csharp-ls does not install to the correct directory HOT 1
- how to hide the messages shown at the bottom when i open a csharp file up in neovim? HOT 3
- Add support for textDocument/typeDefinition HOT 1
- Dotnet 8 HOT 20
- Possibility of on-disk caching HOT 1
- Adding support for progress HOT 1
- running as a local package HOT 1
- how to disable this
- errors when run app built x86 in x64 window
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csharp-language-server.