editor: Add `toggle diagnostics` to command palette (#31358)

Follow-up to #30316

This PR adds the `editor: toggle diagnostics` action to the comand
palette so that it can also be invoked that way.

I also ensures this, the `toggle inline diagnostics` and `toggle
minimap` actions are only registered if these are supported by the
current editor instance.

Release Notes:

- N/A
a204510cfcFinn Evers committed on 5/24/2025, 8:41:02 PM· committed by GitHubparent34be783
2 files changedLine totals unavailable