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
quickfix context menu cant be toggled off from extension #88628
Comments
Yeah, quickFix opens a native menus (if quick fixes are available) and there is no command to hide that. It's a user menu and only the user should close this. Why is this a problem? What are you trying to achieve? |
am building an extension that loop over the quick fixable problems in the document and give the user the chance to chose the fix per each, so he/she doesn't need to do the manual labor. the issue is i can toggle the menu on/off with the same keybinding or with if there is a way i can simulate pressing a key from the ext "the |
Not sure that I understand. Is this like the |
i apologies if i wasn't clear, heres what i meant
to test the example for ur self, plz follow
|
Ok, I understand but I also have to disappoint you to say that this isn't something extensions are for. You can programmatically get code actions via the |
We have a great developer community over on slack where extension authors help each other. This is a great place for you to ask questions and find support. Happy Coding! |
ok np, is there a way to simulate a key press ? |
Env
Steps to Reproduce:
editor.action.quickFix
from extensionhideSuggestWidget
wont work eitheran example of usage could be found at https://github.com/ctf0/vscode-problems-fix-runner/blob/master/extension.js#L111
the funny thing is the cursor can change its position and the context menu still persist.
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: