What are the skills of using Pycharm
Xiaobian to share with you what Pycharm use skills, I believe most people still do not know how, so share this article for your reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!
1. Quickly find files
When developing projects, the number of files is getting larger and larger. Sometimes we have to switch back and forth between different files. If we still search from the left project directory by hierarchy, it is very inefficient. Usually, we have to use the most recently viewed or edited files. Use Ctrl + E to open the most recently accessed files or Ctrl+Shift+E to open the most recently edited files.
Scanning Tab pages one by one is not fast either. If you have obsessive-compulsive disorder and don't want to display Tab pages, you can set Tabs to None in Settings and use shortcut keys to open recent files directly to improve efficiency.
2. universal search
If you want to choose the most useful shortcut key in Pycharm, Double Shift is the only one. Press the Shitf key twice to search for file names, class names, method names, and directory names. The trick to search directories is to put a slash/in front of the keyword.
If you want to search for keywords in a file globally, you need to use Ctrl + Shfit + F or Ctrl + Shfit + R to replace globally.
3. History Paste
If you're a Mac user, you're familiar with Alfred, a history pasteboard artifact that caches copied content over time, accessible in P month charm by Ctrl + Shift + V.
4. split window
Writing code on a large screen is great. Many times we switch back and forth between two files, so cutting the screen in half eliminates the need to switch back and forth. Efficiency is greatly improved. Pycharm's default configuration has no shortcuts for setting partitions, you can customize them in Keymap in Settings.
Support not only vertical separation, but also horizontal separation
5. intelligent prompt
Smart prompt is a standard feature of IDE. Pycharm has automatic prompt function by default, but it is not smart enough. For example, if you want to use a module that has not been introduced, you cannot automatically prompt it. Use Alt + Enter to prompt you to choose the appropriate operation.
6. Any position newline
No matter where your cursor is, you can start a new line by pressing the shortcut Shfit + Enter without moving the cursor to the end.
The above is all the content of this article "What are the tips for using Pycharm?" Thank you for reading it! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!