Conflict between Format Document and Find in Files panel shortcuts
Affected version
- Nightly flatpak: Yes
Steps to reproduce
- Open a file without a formatter available (e.g. meson)
- Press Ctrl+Shift+Alt+F => the Find in Files bottom panel shows up, as expected
- Open a file with a formatter available (e.g. XML)
- The same shortcut formats the document instead of opening the panel => it should open the panel ideally
Essentially the "format document" shortcut needs to be changed so as to not conflict with the Find in Files panel. Shift+Alt+F (without Ctrl) is currently used to format only a selection of the document, so that reduces a bit the possibilities. Given that Ctrl+Shift+Alt+F is kinda annoying to press, I'd use the simplest found shortcut for the Find in Files panel (as I suppose that's the most used one? I do not use the formatting shortcut as I keep format-on-save enabled). So maybe:
- Ctrl+Shift+Alt+F => format document
- Shift+Alt+F => format document selection
- Ctrl+Shift+F => Find in Files panel
But then there's the issue that the terminal pages (not the bottom terminal pane though, surprisingly) use Ctrl+Shift+F for their own search bar, as Ctrl+F is left for the terminal stuff (e.g. Emacs presumably?).