Preventing Sublime to Search Automatically

二次信任 提交于 2019-12-19 05:06:35

问题


I am working on a XML document that contains huge amounts of data. Whenever I want to make a search regarding to a specific keyword (let's assume a 4-letter-word) by typing just the first letter, the sublimetext 2 automatically stars searching thus freezes for a fair amount of time which is quite disturbing.

Is there any way for me to prevent sublimetext doing so? For example, it may wait for me till I press the "enter", or it may start searching after 3 letters are typed.


回答1:


The Sublime Text find panel has a little toggle button called "Highlight matches". When this is enabled, Sublime searches instantly as you type. When it is disabled, Sublime won't search until you press Enter or click one of the Find buttons.

Here is a screenshot of ST3 showing the button:

  • Build 3105, Default theme:
  • Build 3156, Adaptive theme with orange accent:


来源:https://stackoverflow.com/questions/35556500/preventing-sublime-to-search-automatically

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