Skip to content

add args to editor.action.formatDocument.multiple #245743

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

leep-frog
Copy link

@leep-frog leep-frog commented Apr 5, 2025

Fix for #245742

@leep-frog
Copy link
Author

I was able to try this out locally and it works as expected!

I ran the following commands (see video below):

  1. Created a keybinding that runs the editor.action.formatDocument.multiple command (with the formatter argument commented out)
  2. Run the command on hello.py
  3. Prompted to select which formatter to use (this is consistent with current behavior outside of this PR
  4. Updated the keybinding to un-comment the formatter argument
  5. Run the command on hello.py
  6. No formatter prompt is shown and formatting is run with the provided formatter
Format.multiple.with.args.mp4

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

Successfully merging this pull request may close these issues.

2 participants