Home > Backend Development > Python Tutorial > Detailed explanation of return operation after Pycharm code jumps

Detailed explanation of return operation after Pycharm code jumps

巴扎黑
Release: 2017-08-14 14:43:49
Original
11660 people have browsed it

I have been using Pycharm to write Python code for a while. I recently discovered a little trick of Pycharm that I would like to share with you. The following article mainly introduces you to the relevant information on how to roll back Pycharm code jumps. In the article The introduction is very detailed and has certain reference and learning value for everyone. Friends who need it can take a look below.

Background

I have been playing Python for a while recently, usually using vim and Pycharm for development. I really feel that this The two are artifacts. Let’s not talk about the Vim artifact for the time being. Today I will share a little trick of Pycharm. I won’t say much below, let’s take a look at the detailed introduction.

Everyone who uses Pycharm knows that it has a jump function, which allows us to quickly jump to the specific definition when we want to learn more about a function/library. The method is: press Hold ctrl, and then left-click the function name/library name.

When we jump to the past and see the specific implementation that we want to see, the question arises, how to jump back? So the approach I took is Press CTR+F and enter the function name of the previous function to locate and return to the previous function. I couldn't bear to look at it. I remembered that when I used Source Insight, there was a forward and backward function, which was very convenient, so I thought that Pycharm didn't have this function, which was really a bit painful. However, I found that I was too naive, and I found out after searching on Google. It turns out that people have always had this thoughtful little function, but it was just hidden!

How to open it in the correct posture:

1. Find the Toolbar under View and check


2. The button appears


The left side is to go back, and the right side is to go forward. From now on, you no longer have to worry about finding your way home~ In addition to pycharm, Clion and other compilers from their family can be used. Come and try it. ~

The above is the detailed content of Detailed explanation of return operation after Pycharm code jumps. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template