You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue occur when all extensions are disabled?: Yes
VS Code Version: 1.98.0
OS Version: Linux 6.12.18-1-lts x86_64 GNU/Linux
Steps to Reproduce:
Open a new file or an existing file with Arabic text that includes words with diacritics (Harakat/Tashkeel)
Example word with diacritics: Let's use the Arabic word "كِتَابٌ". Copy and paste this word into your file.
Search for the word without diacritics: In VS Code's search bar (Ctrl+F), type the same word but without the diacritics: "كتاب".
VS Code will not find the word "كِتَابٌ" in the file, even though it is semantically the same word.
Search for the word with diacritics: Now, search again but this time include the diacritics: "كِتَابٌ".
VS Code will now correctly find the word "كِتَابٌ".
Expected behavior:
VS Code search should find the word "كِتَابٌ" even when searching for "كتاب". Users often omit diacritics when searching, especially if they are not used to typing them or if the keyboard layout makes it cumbersome. The search should be more user-friendly and consider words with and without diacritics as matches, or at least provide an option to enable diacritic-insensitive search.
Almost all well known apps (e.g Word, Chrome, etc..) have a diacritic-insensitive search feature except for VSCode.
Actual behavior:
VS Code search is diacritic-sensitive and fails to find words if diacritics are missing in the search query, even if the root word is the same. This leads to a frustrating search experience for users working with Arabic and potentially other languages that use diacritics.
Suggestion Enhancements:
Implement Diacritic-Insensitive Search as a Default or Option:
Make the search diacritic-insensitive by default for languages like Arabic where diacritics are commonly omitted in general writing and search. The search algorithm should treat characters with and without diacritics as the same base character for matching purposes.
The text was updated successfully, but these errors were encountered:
Does this issue occur when all extensions are disabled?: Yes
Linux 6.12.18-1-lts x86_64 GNU/Linux
Steps to Reproduce:
Expected behavior:
VS Code search should find the word "كِتَابٌ" even when searching for "كتاب". Users often omit diacritics when searching, especially if they are not used to typing them or if the keyboard layout makes it cumbersome. The search should be more user-friendly and consider words with and without diacritics as matches, or at least provide an option to enable diacritic-insensitive search.
Almost all well known apps (e.g Word, Chrome, etc..) have a diacritic-insensitive search feature except for VSCode.
Actual behavior:
VS Code search is diacritic-sensitive and fails to find words if diacritics are missing in the search query, even if the root word is the same. This leads to a frustrating search experience for users working with Arabic and potentially other languages that use diacritics.
Suggestion Enhancements:
Implement Diacritic-Insensitive Search as a Default or Option:
Make the search diacritic-insensitive by default for languages like Arabic where diacritics are commonly omitted in general writing and search. The search algorithm should treat characters with and without diacritics as the same base character for matching purposes.
The text was updated successfully, but these errors were encountered: