Skip to content
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

Support isAI property on CodeAction #6388

Open
StellaHuang95 opened this issue Sep 13, 2024 · 2 comments
Open

Support isAI property on CodeAction #6388

StellaHuang95 opened this issue Sep 13, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@StellaHuang95
Copy link
Contributor

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 to true on the codeAction.

Image

@StellaHuang95 StellaHuang95 self-assigned this Sep 13, 2024
@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Sep 13, 2024
@StellaHuang95
Copy link
Contributor Author

StellaHuang95 commented Sep 13, 2024

@StellaHuang95 StellaHuang95 added enhancement New feature or request and removed needs repro Issue has not been reproduced yet labels Sep 13, 2024
@StellaHuang95
Copy link
Contributor Author

Next step would be after LSP ships it, implement it in Pylance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants