Error descriptionThese methods correspond to direct menu commands and shortcut key settings:
For details, see Viewing documentation and Viewing reference information.
27. search and search
28. Source Code Search
The most basic search method is the Ctrl + F command:
Pycharm runs for a deeper look: a specific directory, any range, the entire project (Ctrl + Shift + F ):
Pycharm can also search for all the application environments of a symbol, press Alt + F7, or use the Find usages command in the shortcut menu:
There are other similar commands: Ctrl + F7 to achieve jump; Ctrl + Shift + F7 to browse Usages in the form of code coloring; Ctrl + Alt + F7 to search the entire project in the form of a pop-up window.
You can click the intermediate key or press Ctrl + B to jump to the corresponding declaration.
Ctrl + N: Quickly search for a class by name; Ctrl + Shift + N: Quickly search for a file by name; Ctrl + Shift + Alt + N; quickly search for a symbol by name, wildcard names can be used for these searches.
29. IDE control search
Here is a brief introduction. Take switcher as an example. Press Ctrl + Tab to display switcher. Press Ctrl not to place it, and use the Tab or direction key to scroll to the target position:
If you Select an IDE component and want to browse it from other components, use Select Target (Alt + F1 ):
The Esc key is used to return to the edit box.
30. command search
You can search for invoke it by name using simple commands to find and use the corresponding commands (without the main menu ). Press Ctrl + Shift + A and enter the corresponding letter:
Note that you can search for commands not included in the main menu here, just press Ctrl + Shift + A again.
31. Search for any navigation location
Press Shift twice, or click the button on the right of the main toolbar to open the Search everywhere dialog box, where you can find anything.
For more information, see locking ing navigation and search, Navigating through the source, Searching through the source code.
32. refactoring code
We recommend that you refactor Pycharm based on the current Code environment.
33. Run, debug, and test programs
34. Run the code
Right-click the shortcut menu or press Ctrl + Shift + F10 to run the Code. If you want to use other configuration information to run the code, select it from the main menu bar and press Shift + F10.
For more information, see Code running maintenance and Running.
Pycharm allows remote debugging and running of virtual machine and Vagrant boxes.
35. REPL Console window
Under the Tools menu, select the command to load Python or Django console. The Pycahrm console can highlight code, spelling tips, and display History commands (Ctrl + Up/Down)
Pycharm can also run the code in the editor on the console. Select the code and press the Alt + Shift + I shortcut key (you can also use the command in the shortcut menu). For more information, see REPL-running an interactive console and Working with tables les.
36. Local Terminal
Select Tools> Open Terminal's main menu command to go to the command line operation mode:
For more information, see product documentation.
37. debugging
The debugging method is very simple. Select the script to be debugged, specify the configuration file, and press Shift + F9.
Select the shortcut for running/debugging configuration file: Alt + Shift + F10/Alt + Shift + F9
For more information, see Debugger, Breakpoints, Debug run, and Debugging.
38. Test
Pycharm provides the following test methods:
(1) create a test class
(2) Specify the configuration file for testing
(3) run/debug the test class
(4) view results
Pycharm supports the following mainstream Python testing frameworks: Unittest, Doctest, Nosetest, py. test, and Attest. The related configuration files are preset.
For more information, see Creating and running a Python unit test, Unit tests, and Testing.
39. Remote Operation
First, upload the local script file to the remote Server. For more information, see running ing Synchronization with a Web Server.
Next, you can remotely debug and run related files. For more information, see compare local and remote folders, and synchronize local copy with that deployed on the server
40. Database and SQL support
Pycharm provides database support. Once you have obtained permissions for a database, you can use Pycharm to store more data sources in the same format with the existing License book. Pycharm helps with data connection.
For more information, see product documentation.
41. Support for Multiple Programming Languages
Pycharm supports Python, JavaScript, CoffeeScript, HTML, XML, and other programming languages. Its powerful code assistant can meet the needs of various programming languages.
Pycharm also supports JavaScript code Debugging. For details, see JavaScript-Specific Guidelines and Debugging JavaScript with PyCharm.
42. Success
This is Pycharm's commonly known manual. It briefly introduces its features to help you get started quickly.