vscode-kotlin
vscode-kotlin copied to clipboard
General override member(s) functionality - VSCode version
Simple VSCode usage of the override member protocol extension found in: https://github.com/fwcd/kotlin-language-server/pull/379 (need to be merged after that PR).
Have some TODOs I couldn't resolve for now. I suggest we keep that for future work, as it is better to have something working than to use too much time on a "perfect solution". Currently this version does exactly the same as the Emacs version, that was shown in the kotlin-language-server PR, does. Have added a nifty right-click menu to override members that make it simple. No hotkey, but that is because I don't know what people would prefer. Feel free to suggest something 🙂 You can also run it with the command palette, using the command kotlin.overrideMember.
How the selection menu looks:

And clicking okay and seeing the overrides added to your code:

Hope this is something other people also want 🙂 I really wanted it, at least for Emacs 😛
Looks very interesting, thanks for working on this! Hope to find some time to go through this in detail soon. If LSP were to get upstream support for the override/implement UI one day, it shouldn't be too hard to migrate either.
Thanks!