-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Swap ListItems CodeAction #537
Conversation
The current test is broken, and I cannot figure out how I should fix it. Would like a pointer to figure out how to handle the
|
Seems like we don't have tooling to test |
The new logic isn't perfect, as it should be separated some more, but should be fine for now. |
Thanks! I'll look into improving this when I have some time to spare. |
- Still missing refactor, but its getting somewhere.
Thanks for the comments! I'll try working on refactoring next, as I think the logic works better now after I have tested it. Also easier to refactor now that I have some Okish tests! |
Should be possible, we already do this for similar tests (diagnostics), not sure if codeActionTests have the capability yet. |
- This helps when testing that CodeActions do not appear in certain circumstances.
I have been monitoring microsoft/language-server-protocol#724 for any updates but no news yet. Without cursor controll I feel this does not yet feel as usable as it should be. I'll close this for now. But I will reopen or create a new PR once the protocol has this support 🚀. |
What have i made?
Related to elm-tooling/elm-language-client-vscode#170
I have made a CodeAction to re-order lists. This action can move a list item up or down in the list, and can be invoked by keyboard shortcuts from your tool of choice.
What is it missing?