Open razzmatazz opened 3 years ago
So the registrations that is reported at initialization are static registrations only. If we return the registration data there, and then dynamically register as well, we end up with two registrations.
Some of the newer features support the ability to define the dynamic registrations statically and give them an id, that is not yet supported.
I am sure I am missing something (maybe I just don't understand dynamic registration) but I am not able to implement
codeAction/resolve
inomnisharp-roslyn
.The first thing that makes me confused is why
omnisharp-roslyn
reports nocodeActionProvider
as response toinitialize
, as evidenced by this log:Then I tried to implement
codeAction/resolve
support here:https://github.com/razzmatazz/omnisharp-roslyn/commit/04ed94b43198d24c72fa58e66154c247e6e02cbe
But I really not sure if I am dabbling in the right direction, do we really need separate
OmniSharpCodeActionResolveHandler
or not -- and can I usedata
onCodeAction
? -- it seems to be serialized properly though so I assume it is.