Sublime search “Find in Files” doesn't always work

梦想的初衷 提交于 2019-12-14 00:40:45

问题


The EXACT same thing if i do it in .html , xml files e.t.c it works as it should. That is it reutrns a filled find results tab. In this file it doesn't

I have a simple .log text file

When i search with ctrl+f everything is ok:

when i use ctrl+shift+f i have 0 results. Why?


回答1:


Scanning through the text of these log files, do you see any control characters? According to this answer to your question in the Sublime Text forum, when Sublime Text finds inline control characters, Find in Files will treat the whole file as binary and therefore not display detailed results.

TL;DR: Try deleting control characters.



来源:https://stackoverflow.com/questions/26545505/sublime-search-find-in-files-doesnt-always-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!