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 view all the shortcuts provided by PhpStorm

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

Share

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

This article introduces the knowledge of "how to view all the shortcuts provided by PhpStorm". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

1. View all keyboard shortcuts

In the navigation section, Academician has shown you how to quickly navigate the code through keyboard shortcuts. In addition, PhpStorm also contains many shortcuts for other operations. We can search for "Keymap" in the global navigation and select the second option in the drop-down list:

You can view all the shortcuts provided by PhpStorm:

Remember some keyboard shortcuts for common operations, which can significantly improve the efficiency of daily coding.

2. Switch between different shortcut key schemes

In addition, PhpStorm provides several sets of keyboard shortcuts commonly used in IDE or code editors.

In Mac systems, the default shortcut scheme used by PhpStorm is macOS:

You can switch between different keyboard shortcuts through the UI interface above. In addition, we have also seen the corresponding Action by searching for "Keymap" in the global navigation:

If we select the first option, we can enter the shortcut key scheme switching interface:

For example, we can switch to the VSCode shortcut key installed in the previous tutorial, or we can switch to other shortcut key schemes such as Emacs, Sublime, Eclipse, and so on.

Of course, you can also install it by going to the plug-in market to search for more keyboard shortcuts:

After the installation is complete, you can switch to the corresponding shortcut key scheme by switching the function.

3. Custom shortcut key scheme

If none of the above shortcut solutions can meet your needs, you can also define your own shortcut scheme by customizing the shortcut scheme.

Similar to the custom theme, we can copy an existing shortcut key scheme in the Preferences | Keymap interface:

Name it "xueyuanjun" and customize your own keyboard shortcuts based on it:

For example, there are no keyboard shortcuts for the Keymap Reference operation, so we can add shortcut keys to it:

When you add a shortcut, you can type it directly on the keyboard, and if it conflicts with other shortcuts, a yellow exclamation mark appears below and indicates which action the shortcut has been assigned to:

Here, we set it to Ctrl + Option + Command + K, and if there is no warning, we can use:

Click "OK" to save, and we can also modify or remove existing shortcuts in the same way:

Let's first remove the Quick Switch Scheme... Operate the corresponding shortcut key, and then add it (if you don't remove it first, it will be added on the basis of the original, programming combination shortcut key):

Here we adjust it to Ctrl + Shift + `and click "OK" to save:

Click "Apply" in the lower right corner to apply the changes and save the custom shortcut key scheme, and click "OK" to close the window. At this point, the shortcut key scheme used by PhpStorm is our custom "xueyuanjun".

Next, we can use Ctrl + Shift + `to open the topic switching interface, and Ctrl + Option + Command + K to open the shortcut key indexing interface, so give it a try.

Tips: in Mac systems, you can also install CheatSheet software to quickly preview the shortcuts provided by all software, just press the Command key for a long time.

This is the end of the content of "how to view all the shortcuts provided by PhpStorm". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

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