When searching for text in Sublime Text, the search is sensitive to accented letters. This is not very practical when I want to find all matches regardless of the accents. Is there a setting for the search function that makes it ignore the accents?
-
Can you include an example of what you're searching for and what's not being found?OdatNurd– OdatNurd2023-01-26 02:40:37 +00:00Commented Jan 26, 2023 at 2:40
-
For example, searching for "sabado", (Saturday in Spanish). It will not find "sábado"go3d– go3d2023-01-26 13:52:10 +00:00Commented Jan 26, 2023 at 13:52
Add a comment
|
1 Answer
Unfortunately Sublime Text's Find feature does not support Character Equivalence, so there is no way to get it to ignore the accents.
I explored this before in the context of snippets and replacements, but for this use case, you could write a Python plugin to build the character equivalence for you and populate the Find panel appropriately.
You may find it is enough to just temporarily replace the whole file with it's unidecoded representation and search that.
1 Comment
go3d
Thanks! That's unfortunate. Lets hope that Sublime adds this option in future.