Files
oak-gpui/crates
Kirill Bulatov ae3bdd755e Support OnTypeFormatting LSP request (#2517)
Supports
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_onTypeFormatting

rust-analyzer uses this feature to add matching brackets semantically,
e.g.
before:
![Screenshot 2023-05-23 at 17 46
42](https://github.com/zed-industries/zed/assets/2690773/020e8448-23e6-4a38-8dbb-c9edf18062f7)

after:
![Screenshot 2023-05-23 at 17 46
49](https://github.com/zed-industries/zed/assets/2690773/4d140af3-aca6-451d-ac61-e2a9bb31caea)

`use_on_type_format` settings entry was added, enabled by default, to
disable the new feature.

Release Notes:

* Support `OnTypeFormatting` LSP protocol feature, allowing
rust-analyzer to add matching brackets
2023-05-25 18:35:47 +03:00
..
2023-05-25 12:04:41 +02:00
2023-05-22 20:28:22 -06:00
2023-05-16 21:07:48 +03:00
2023-05-22 14:10:17 +02:00
2023-05-22 14:10:17 +02:00
WIP
2023-05-22 23:11:27 -06:00
2023-02-27 12:06:10 -08:00
WIP
2023-05-22 23:11:27 -06:00