Repository navigation
Make getSupportedCodeFixes on LS so it can be proxied by plugins - #51769
Conversation
|
Thanks for the PR! It looks like you've changed the TSServer protocol in some way. Please ensure that any changes here don't break consumers of the current TSServer API. For some extra review, we'll ping Sheetal Nandi (@sheetalkamat), Andrew Casey (@amcasey), Matt Bierner (@mjbvz), Mine Starks (@minestarks) for you. Feel free to loop in other consumers/maintainers if necessary |
Matt Bierner (mjbvz)
left a comment
There was a problem hiding this comment.
Protocol changes look good to me
Jake Bailey (jakebailey)
left a comment
There was a problem hiding this comment.
This seems reasonable to me, though I am not sure what to do about existing plugins which do this. Do any at all? Or was this solely just VS Code itself hacking the ts object?
|
Most plugins use this hack and would need to update their code but i am assuming many were using vscode proxy so it might not impact as many. But if we are anyways going to need plugins to update their code, then its better to get updated to new API than hack. |
Is there a right way we should be doing this? I'm happy to update our code if things have changed. |
Fixes #28966
This should also help with #51713 so that
getSupportedCodeFixescan be proxied by plugins esp with our module conversionts.getSupportedCodeFixescannot be overriden.