8000 Revert: Allow non-AI actions on empty lines by justschen · Pull Request #200097 · microsoft/vscode · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Revert: Allow non-AI actions on empty lines #200097

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

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

justschen
Copy link
Collaborator
@justschen justschen commented Dec 5, 2023

regarding/discovered by #199548, small change from: #198840

Contributed code actions (and any other code actions in general) were not being shown on empty lines or empty files because only AI fixes would be shown. In empty lines, VS Code typically does not contribute any code actions, but extensions and linters do, and those will not show up when we check for isAI

Does not affect whether lightbulbs are shown or not on empty lines from the setting.

Regarding safety - not 100% on this, will defer to @aiday-mar. However, it is just reverting back to the original filtering.

cc. @aiday-mar

@aiday-mar
Copy link
Contributor

cc @aeschli

@aeschli
Copy link
Contributor
aeschli commented Dec 6, 2023

The changes are good. In #200098, I added a commit that removes the unused parameters as well.

@aeschli aeschli merged commit 4693a09 into microsoft:main Dec 6, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0