Allow formatting selections via LSP (#18752)

Release Notes:

- Added a new `editor: format selections` action that allows formatting
only the currently selected text via the primary language server.

---------

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
This commit is contained in:
Ihnat Aŭtuška
2024-10-16 15:58:37 +02:00
committed by GitHub
co-authored by Thorsten Ball
parent eb76065ad3
commit 84df3a0cad
9 changed files with 322 additions and 159 deletions
+1
View File
@@ -237,6 +237,7 @@ gpui::actions!(
ToggleFold,
ToggleFoldRecursive,
Format,
FormatSelections,
GoToDeclaration,
GoToDeclarationSplit,
GoToDefinition,