The following column sublime introductory tutorial will introduce you to the six search & replace methods of Sublime Text3. I hope it will be helpful to friends in need!
Finding&Replacing
Sublime Text provides a powerful find (and replace) function, in order to provide a clear In the introduction, I divide the search function of Sublime Text into three types: quick search, standard search and multi-file search.
Quick Search & Replace
In most cases, we need to find other locations where a certain keyword appears in the text. In this case, there is no need to re-replace the keyword. Enter it once and search. We only need to use Shift ←/→ or Ctrl D to select the keyword, then F3 to jump to its next occurrence position, Shift F3 to jump to its previous occurrence position, and you can also use Alt F3 to select its occurrence. All positions (multiple edits possible later, i.e. quick replacement).
Standard Find & Replace
Another common usage scenario is to search for a keyword that is known but not in the current display area. In this case, you can use Ctrl F Bring up the search box to search:
and use Ctrl H to replace:
Keyword search &Replace
For ordinary users, regular keyword search can meet their needs: enter the keyword in the search box and Enter to jump to the next position of the current cursor of the keyword. Shift Enter to jump Go to the previous position, Alt Enter to select all positions where it appears (similarly, you can quickly replace it next).
Sublime Text has different search modes: Alt C switches to Case-sensitive mode, Alt W switches to Whole matching mode. In addition, Sublime Text also supports selecting Search in selection (Search in selection), this function does not have a corresponding shortcut key, but it can be automatically turned on through the following configuration items.
"auto_find_in_selection": true
In this way, the search within the range will be automatically enabled when the text is selected. With this function, local renaming (Local Renaming) It becomes very convenient:
Use Ctrl H to perform standard replacement. After entering the replacement content, use Ctrl Shift H to replace the current keyword, and Ctrl Alt Enter to replace all matching keywords.
Regular expression search & replacement
Regular expression is a very powerful text search & replacement tool, use Alt R switch in Sublime Text Turn on/off the regular matching mode. Sublime Text uses the Perl regular expression style in Boost.
Multiple file search & replace
Use Ctrl Shift F to open multi-file search & replace (note the shortcut key and Sogou input method) Traditional switching shortcut keys conflict):
Multiple file search & replace defaults to search/replace in the currently opened files and folders, we can also specify files/folders to search/replace.
The above is the detailed content of Sublime Text3 Six Find & Replace Methods. For more information, please follow other related articles on the PHP Chinese website!

SublimeText is suitable for developers who pursue speed and simplicity, while VSCode is suitable for users who need strong scalability and integration capabilities. 1.SublimeText is known for its lightweight and fast response, with GotoAnything and multi-select powerful. 2. VSCode is known for its scalability and IDE functions, with built-in Git and debugging tools, and IntelliSense improves development efficiency.

SublimeText's plug-ins and packages can be installed and managed through PackageControl to improve programming efficiency. 1. Install plug-ins such as BracketHighlighter to simplify code reading by highlighting bracket matching. 2. Use SublimeLinter to configure pylint to implement real-time code checking. 3. Use SideBarEnhancements to customize the sidebar function to optimize file management.

SublimeTextisfreeduringanunlimitedtrial,buta$99licenseisrecommendedforregularuse.1)Thetrialallowsfullfeatureaccesswithouttimelimits.2)Alicenseoffersperpetualuse,futureupdates,andremovespurchasereminders,enhancingproductivityandsupportingdevelopers.

SublimeText can greatly improve work efficiency. 1) Multiple selection and multicursor functions allow editing of multiple positions at the same time, 2) Command panel provides fast function access, 3) Macros and fragments can automate common operations, 4) Optimized configuration and shortcut key use can improve performance and efficiency.

SublimeText offers a free trial, but ultimately requires a paid purchase for a permanent authorization. 1) During the free trial period, users can experience its functions, but they will receive a purchase prompt. 2) After purchase, users can use it permanently, no subscription fee, and access more plug-ins and themes.

ThemaindifferencesbetweenthepaidandunpaidversionsofSublimeTextaretheremovalofstatusbarremindersandoccasionalpop-uppromptsinthepaidversion.1)Unregisteredversion:fullyfunctionalwithallcorefeatureslikesyntaxhighlighting,codecompletion,andcommandpalette,

SublimeText is worth buying. 1) Its simple interface and powerful functions, such as multi-line editing and GotoAnything, improve development efficiency. 2) Rich plug-in ecosystem, such as Anaconda, enhances the development experience. 3) Although the price is $70, its performance and fluency are great value for professional developers.

SublimeText is loved by developers for its powerful code completion and syntax highlighting capabilities. 1) Code completion can automatically prompt function names, variable names, etc. to improve programming efficiency. 2) Syntax highlighting distinguishes code elements through different colors to improve readability and error detection speed.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Zend Studio 13.0.1
Powerful PHP integrated development environment

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),
