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
1 Answer 1
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.