Files
oak-gpui/crates
Piotr OsiewiczandBennet b6ea393d14 lsp: Add support for linked editing range edits (HTML tag autorenaming) (#12769)
This PR adds support for [linked editing of
ranges](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_linkedEditingRange),
which in short means that editing one part of a file can now change
related parts in that same file. Think of automatically renaming
HTML/TSX closing tags when the opening one is changed.
TODO:
- [x] proto changes
- [x] Allow disabling linked editing ranges on a per language basis.

Fixes #4535 

Release Notes:
- Added support for linked editing ranges LSP request. Editing opening
tags in HTML/TSX files (with vtsls) performs the same edit on the
closing tag as well (and vice versa). It can be turned off on a language-by-language basis with the following setting:
```
  "languages": {
    "HTML": {
      "linked_edits": true
    },
  }
```

---------

Co-authored-by: Bennet <bennet@zed.dev>
2024-06-11 15:52:38 +02:00
..
2024-05-29 18:06:45 -07:00
2024-05-29 18:06:45 -07:00
2024-06-04 15:56:18 -07:00
2024-04-23 13:31:21 -04:00
2024-03-28 18:32:11 +01:00
2024-05-22 14:36:15 +03:00
2024-05-29 18:06:45 -07:00
2024-06-03 22:17:10 -06:00
2024-04-30 23:31:59 -06:00
2024-05-10 15:50:20 -06:00
2024-03-11 10:45:57 +01:00
2024-03-26 16:10:09 -07:00
2024-05-09 21:08:49 -06:00
2024-05-23 15:50:59 +02:00
2024-06-05 13:42:51 -06:00
2024-05-29 18:06:45 -07:00
2024-06-10 15:35:44 -04:00
2024-04-15 14:21:52 +02:00
2024-06-11 12:39:45 +02:00
2024-06-07 12:38:12 -06:00
2024-05-29 18:06:45 -07:00
2024-06-05 12:23:48 -04:00