Variable declaration in Python

Asked

Viewed 103 times

0

I have a question regarding the creation of variables in Python using Pycharm, always when I declare a variable a green underscore is displayed and the message that appears is:

Type: In Word '{Variable Name}'

What is necessary to make it go away and I do not need to be saving in level-Dictionary or giving "Rename"?

  • Bruno, this link will help you: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360006338380-Why-does-PyCharm-say-Typo-in-word-SOLVED-

  • 2

    Enter the right variable name?

1 answer

2


In reality this "problem" is not related to the "declaring variables in python", it is just a kind of preciousness of pycharm, some time ago I found interesting this Feature, but after I joined a team that chose to name the variables in Portuguese, I came to the conclusion that this Feature ends up being more disturbing than helping.

To disable this in pycharm go to file/Settings, in the magnifying glass look for "Spelling" and disable typo.

See the figure:

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.