The most complete pycharm tutorial (a)--pycharm editor features a general Chapter

Source: Internet
Author: User

Pycharm Tutorial (1)--Customizing the appearance

Most full Pycharm Tutorials (2)--code style

The most complete Pycharm tutorial (3)--code debugging, running

The most complete pycharm tutorial (4)--related configuration of the Python interpreter

Most full Pycharm tutorial (5)--python shortcut key Related settings

The most complete Pycharm tutorial (6)--use Pycharm as the VIM editor

The most complete Pycharm tutorial (7)--Configuration of virtual machine VM

The most complete pycharm tutorial (8) The creation and management of--django project

Most full Pycharm tutorial (9)--Create and run a basic Python test program

The most complete pycharm tutorial (Ten)--pycharm Debugger general article

The most complete pycharm tutorial (one)--pycharm Debugger Breakpoint Chapter

The most complete pycharm tutorial (a)--pycharm debugger java Script debugging

Most full Pycharm tutorial (--pycharm) deployment

1. Theme

In the process of writing code, most of the time is spent in the interaction of the edit box. In order to be able to use this tool more efficiently, we'll take a look at the characteristics of this feature: viewing documentation Using macros Syntax highlighting and error indication edit or tabs intention actions and quick fixes creating and applying live templates (code snippets) code folding code Completio n auto-import auto-generating code auto-editing with Pycharm

See online Help for more details. As for programming knowledge, see Python and Django documentation.

2. Preparation work

(1) The Pycharm version is 2.7 or higher.

(2) A project has been created and configured.

3. Aerial view edit box

(1) The main editing area, which is used to write code.

(2) The title bar of the edit box, labeled the Edit Box tab that is currently active, and a large number of related shortcut menu commands are implied in each tab, as detailed in managing Tabs.

(3) line number, by default, if necessary, you can hide line numbers by right-clicking the show line numbers check box. Of course through the Settings | Editor | Appearance-show Line Numbers main Menu commands can also achieve the same purpose.

(4) is commonly known as the left slot, at this point shows three kinds of icons, respectively for debugging breakpoints Breakpoint, used to navigate the bookmark bookmarks.

(5) Pop-up spelling prompt code completion window

(6) Commonly known as diagnostic marker ball. When an error occurs in the code, Pycharm marks the error line with a wavy red line, displays the diagnostic marker ball in the right slot, and gives specific hints.

(7) on the left side of the spelling prompt menu, there is a red light bulb, features see quick fix.

(8) Right slot, on the right side of the edit box, displays a variety of color flags to indicate the code status, whether there are errors, warnings, and so on. Also has the navigation function, facilitates us to quickly locate the code error location, goes to the specified code line and so on.

4. Configuration Editor

The Pycharm editor is very flexible, and in the Settings dialog box (ctrl+alt+s - IDE settings-editor) You can make a variety of changes to its appearance and behavior:

Here you can find a set of commands related to the mouse, wheel, code range, error highlighting scheme, and so on.

Although you can use the default editor settings directly, you can refer to editor optionshere or click the Help button on the interface if you want to modify some of the settings.

For example, you might want to use the "Ctrl + mouse wheel To change the font size" feature, which is turned off by default and needs to be opened manually. For example, you may already be used to the "Autoreparse delay" feature, which needs to be set manually.

Next we'll break down the editor's functionality.


If you feel that this article has inspired you, please pay attention to my public number, I will be as active as possible to communicate with you, thank you.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.