In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
When using the notepad++ tool, in many cases we will encounter the operation of replacing blank lines in batches. The previous operation method is to use the shortcut key Crtl+h to call up the window to select the replacement bar, enter\ r\ n\ r\ n in the search target bar, and replace it with\ r\ n in the column and select all to delete blank lines in batches. With the popularity of Visual Studio Code, before notepad++ a lot of content want to be implemented in vs code, of which the most commonly used removal of blank lines is also necessary to learn.
In VS Code, we can use the Ctrl+h shortcut to call up the replacement interface, enter the regular expression ^\ s * (? =\ rpm $)\ n corresponding to the blank line in the replacement lookup interface, and Alt+R select the corresponding regular expression search mode. You can complete the requirement by replacing all of them in batches, as shown below:
1. Quickly open the replacement interface and enter ^\ s * (? =\ rpm $)\ n in the Find interface.
2.Alt+R selects Use Regular _ Expression (Alt+R), which is the regular expression pattern:
3. Select Replace All (Ctrl+Alt+Enter) to replace in batch to complete the operation. The screenshot is as follows:
Commonly used keyboard shortcuts add:
Shortcut key summary: it can be opened quickly through Ctrl+K Ctrl+S or through File → Preferences → Keyboard Shortcuts:
Fast line wrapping of current line: Ctrl+Enter
Quickly delete a line: Shift+Delete or Ctrl+Shift+K
Find: Ctrl+F
Find in file: Ctrl+Shift+F
Replace: Ctrl+H
Replace in file: Ctrl+Shift+H
Add other shortcuts later.
Welcome to the official account of Wechat: Xiao Wen study Society.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.