Support isAI
property on CodeAction
#1555
Labels
feature-request
Request for new features or functionality
Milestone
The Typescript team has added Copilot suggestions to various refactors in VS Code. To bring similar functionality to python code, Pylance has enabled the implement inherited abstract classes with Copilot code action through the Github Copilot extension for Python files.
To display the sparkle icon for the code action instead of the regular light bulb icon, the
isAI
property needs to be set totrue
on thecodeAction
.LSP doesn't support this API yet. Would it be possible for LSP to support the codeActionAI proposed API?
Is it as simple as adding the conversion logic to
asCodeAction
inprotocolConverter.js
? I'd be happy to send a PR if that's all it takes. Thanks!The text was updated successfully, but these errors were encountered: