This commit is contained in:
Martin Aeschlimann 2020-12-07 17:03:07 +01:00
Родитель 8d9df385e2
Коммит 31513b74b4
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -550,12 +550,12 @@ See the [icon listing](https://code.visualstudio.com/api/references/icons-in-lab
### Linked editing range provider
What was formerly known as `OnTypeRenameProvider` is now made public API as `LinkedEditingRangeProvider`.
What was formerly known as `OnTypeRenameProvider` is now public API as `LinkedEditingRangeProvider`.
For a given position in a document, a `LinkedEditingRangeProvider` returns the all linked ranges with the same content.
For a given position in a document, a `LinkedEditingRangeProvider` linked ranges with the same content.
A change to one of the ranges can be applied to all other ranges.
This can be seen in action in HTML. When editing the name of an opening tag, the closing tag is updated as well.
This can be seen in action in HTML. When editing the name of an opening tag, the closing tag is automatically updated as well.
### FoldingRangeProvider.onDidChangeFoldingRanges