Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to set PhpStorm, WebStorm and other series of IDE shortcut keys

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces how to set PhpStorm, WebStorm and other series of IDE shortcut keys, the content is very detailed, interested friends can refer to, hope to be helpful to you.

If you feel that keyboard shortcuts don't work, change them to uppercase. For example, it would be embarrassing to change Ctrl+c to Ctrl+C.

Delete, copy, paste, wrap, line move, save / / line copy Ctrl+d// line move (move multiline cursor to select multiple lines) Shift+Ctrl+ up and down keys / / line delete Ctrl+y// copy (copy the whole line when the cursor is not selected) Ctrl+c// paste Ctrl+v

/ / change the line / / enter as you imagined

/ / create the next blank line at any location, Shift+ enter

/ / Save (IDE auto save), but still get used to Ctrl+s Ctrl+s

Revocation, anti-revocation

/ / undo Ctrl+z// and reverse undo Ctrl+Shift+z

Choice

/ / Select 1. Select the full row mouse to quickly triple-click the cursor to the row you need to select Ctrl+c and 2.Ctrl+w Ctrl does not press w to select one word at a time if the cursor is over the method name or class name line: Ctrl does not press w twice to select the entire method. It's an interesting choice. You can try it several times. Multi-line selection / / only multiple lines can be selected continuously Shift+Alt+ left mouse button drag up and down / / discontinuous selection Alt+ left mouse button selection

Search

1. Search Ctrl+f2 with keywords in the file. Global keyword search / / remember to select the search directory default to the currently selected directory on the left Ctrl+Shift+f

Replace (similar to search)

1. Replace Ctrl+r2 in the file. Global replace / / remember to select the search directory defaults to the currently selected directory Ctrl+Shift+r on the left

By the way, regular replacement

\ l initial lowercase\ u initial uppercase\ L all lowercase\ U all uppercase many document status corresponding logos are lowercase and there are a lot of miscellaneous things, which can be copied and then regularly replaced, such as replacing the two constants of the TestCont class with uppercase 1. Ctrl+f2. Select MatchCase and Regex3. Fill in test_const 4 in the first input box above the search bar. Enter\ Ubun15 in the second input box above the search bar. If Replace or ReplaceAll# Exclude is not replaced, the match that does not replace can be selected and Exclude will not be replaced.

Search for files, classes, actions, etc.

/ / remember to select the option above the input box to search for different types of files / / you can fill in part of the path, and the full path is best Ctrl+n.

Jump

1. Jump to the specified line / / you can view the current row and the column where the cursor is located Ctrl+g enter the number of rows and enter to jump 2. Jump class, method (call or name) Ctrl+ left mouse button / / cursor needs to stay at the class or method Ctrl+b

Toggle window (when opening multiple files)

Ctrl+ around key

Copy, rename files (folders)

/ / copy and rename the current file (folder) to the same directory, you can directly execute f5max / rename file (folder) in the open file window, Shift+f6 left window display / / number as the top key / / hide and show the left file bar Alt+1// display file method tree Alt+7

Open the command line / / number as the top key

Alt+12 on how to set PhpStorm, WebStorm and other series of IDE shortcuts to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report