The most complete pycharm tutorial (a) code spelling tips for--pycharm editor features

Source: Internet
Author: User

1. Theme

We have already contacted the code spelling hint in Getting Started guide, and we will introduce it in detail here.

A spelling hint is a list of words (function names, class names, variable names, and so on) that are available at the current location.

2, enable the spelling prompt function

In any case, we can use the Ctrl+space shortcut key to start the spelling prompt function.

In fact, the spelling hint function is initiated by default when you enter code, and of course it includes the domain member prompt after the input point number. When you continue typing, the spelling list narrows to match the characters you enter. As a result, the spelling hint function is also relatively intelligent and matches the currently entered string in any location for the user to choose from:

Of course, if you want to turn off the spelling prompt, you can open the Spelling prompt dialog box by ctrl+alt+s→settings→editor→code Completion command, and cancel autopopup Code completion in (MS) /c0> check box can be checked.

3. How to use the Spelling tips list

Use the mouse pointer or the Up/down key to select the name you want to enter in the list of spelling hints:

Here you can use the Right/left key to adjust the spelling list width.

Then you need to insert the selected name into the current location, and Pycharm provides two ways to insert it:

(1) Press ENTER, the corresponding variable will be added to the position of the current cursor:

(2) Press the TAP key, the selected name will replace the current cursor to the right side of the string:

4. spelling prompt function change

Press Ctrl+alt+s to open the Settings dialog box, expand the Editor node, and click the Code completion page:

 

As you can see, Pycharm allows us to make a variety of changes to the spelling tips to meet the requirements, and if you don't know the specific features of certain options, click the Help button to get assistance.

For more information about spelling tips see this link.


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.