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

Example of PhpStorm setting click-to-edit file to automatically locate source file

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article mainly introduces the PhpStorm settings click to edit the file to automatically locate the source file example, the article introduces in great detail, has a certain reference value, interested friends must read it!

"

When using phpstorm as a development software, you will encounter editing the current file when the list on the left can not locate the source file, whether for development or writing, there are some problems, because a waste of time ah!

"in the process of learning, I will write a lot about some solutions and solutions, but I will encounter a few problems when writing articles.

When clicking on the editing file, the list on the left cannot locate the source file. When it is located to the source file, it will show all the methods of this file. Why is it inconvenient to take screenshots? because when intercepting the corresponding code, you need to directly point out that the corresponding file is in that location of the directory! Otherwise, the people who read your article are confused and don't know where the code is.

In order to solve some of the problems mentioned above, Kaka also roughly translated the English settings of phpstorm with translation software, solving the problem of clicking for a long time.

Implementation method one

When taking a screenshot of the code, you will encounter that the file you edited is not accurately located on the left.

At this point, it will take a little time to find this file, and it is OK if you are familiar with the file directory.

It is especially troublesome to find an unfamiliar framework and code.

The first case shows how to deal with this problem.

The first solution is to click the place circled by the click box, as long as you open the edited file on the right, and then click that circle to automatically locate the edited file.

Although the first solution can indirectly solve the needs mentioned by Kaka, it is still a bit troublesome because it needs to be clicked every time, so it is really annoying to click on it every time.

So how to do it at this time? keep looking.

The translation of the place circled by Kaka automatically scrolls to the source, so click on it and try it.

This setting is very comfortable, click on that file will automatically navigate to that file.

The solution, then the first problem is solved perfectly, and you don't have to go to that circle every time, is it very comfortable? anyway, it can save a lot of time for Kaka.

Because Kaka usually writes articles, this function is very useful for Kaka.

But you will find that the located file will show all the methods in this file.

Solve the second problem.

When you take a screenshot, you need to hide all the methods of this file, or there is one more process.

How can this be? Kaka is really obsessive-compulsive.

Then continue to solve this problem.

After coming to the setup interface just now

You can see that the English meaning is the display method.

Set the interface, then turn it off directly!

After a series of processing, the screenshot after closing has finally solved Kaka's two big worries, which makes it much easier to write.

Although there are only two small functions, Kaka has been using the phpstorm software for three years and is still not familiar with the software.

These two function points are not very helpful to Kaka.

Let Kaka no longer need to annotate the file on the left when taking a screenshot, because there will be a highlighted color when locating the source file.

Kaka doesn't have to find out where the file is on the left.

How many things can be saved only by these two functions? Use idea to facilitate development, not to add trouble to yourself, so it's okay to have a good understanding of your tools!

Will improve the efficiency of their own development of a lot of time.

The above is all the contents of the article "PhpStorm settings click to edit a file to automatically locate the source file". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

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