In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you pycharm how to close the wavy line, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Close the wavy line that is a nuisance.
Let me give you a short code example to think about why name,my_name doesn't have wavy lines, while myname and wangbm have wavy lines.
Pycharm itself checks the variable name in real time. If the variable name is not an existing English word, a wavy line appears. When there are more than one word in a variable, Python recommends that it be separated by an underscore (other languages may be used to using hump naming, but Python uses an underscore), so in Pycharm's view, my_name is standard, while myname is treated as a word. Because it doesn't have it in the thesaurus, myname is irregular. If you don't understand anything in the learning process, you can join us to share with you the current talent needs of Python enterprises and how to learn Python from scratch and what to learn. Related learning video materials and development tools are shared.
Everyone's variable naming habits are different, how you use a lot of myname-style variable naming methods in the project, like the following (randomly find a piece of cloudinit code), it is very uncomfortable, there is always a code has the illusion of bug.
So how do you turn off this non-grammatical wavy line? It's very simple. The switch is on the head-like button in the lower right corner of you.
Then select the Syntax level. The same piece of code, the effect is as follows, much cleaner.
The above is all the content of the article "how to close the wavy line by pycharm". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.