崇高的文字2 - 查找和替换全球(所有文件和所有目录) [英] Sublime text 2 - find and replace globally ( all files and in all directories )

查看:160
本文介绍了崇高的文字2 - 查找和替换全球(所有文件和所有目录)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何方法可以自动在所有文件夹的文件中找到并替换文本字符串?

解决方案

是的,有多文件搜索和替换



ctrl shift F cmd shift MacOS上的: pngalt =在$ Where 字段中,您还可以添加要搜索的过滤条件只有您需要的文件夹和文件。如果没有设置,则搜索侧边栏中列出的所有文件。



如果双击搜索结果的一行,Sublime将跳转到该行。



注意这些图标在搜索栏中:

显示上下文 )在上下文中切换上下文(< / em>)结果格式(如果启用,在匹配行之前和之后显示一些文本行)。第二个允许将结果显示在新的缓冲区或控制台中。


Is there any way to find and replace text string automatically in all folder's files?

解决方案

Yes, there is Multiple Files search and replace.

Press ctrlshiftF (cmdshiftF on MacOS):

In the Where field you can also add filters to search only folders and files that you need. If nothing is set, the search is made on all files listed in the sidebar.

If you double click on a line of the search result, Sublime will jump to that line.

Notice these icons in the search bar:

The first (show context) toggles context in result format (if enabled, some lines of text are shown before and after the matching line). The second allows to show the result in a new buffer, or in a console.

这篇关于崇高的文字2 - 查找和替换全球(所有文件和所有目录)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆