Microsoft/vscode

Undo stacks are not granular enough for Korean

Open

#229,647 opened on 2024年9月25日

GitHub で見る
 (3 comments) (2 reactions) (2 assignees)TypeScript (10,221 forks)batch import
editor-input-IMEfeature-requesthelp wantedundo-redo

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (平均マージ 11h 43m) (30d で 1,000 merged PRs)

説明

Testing #229383

Right now, typing a sentence in Korean and pressing undo will remove the entire line. I confirmed with a native Korean speaker that the ideal behavior for undo is to remove the last consonant/vowel (each character is made up of 2-4 consonants/vowels). This might be difficult to do depending on how EditContext words, but a little less better but much better than deleting the whole line is to delete the last fully formed character.

Image

Note that this is not a regression, but it's a pretty bad existing great experience.

コントリビューターガイド