In the PyCharm, the auto-completion there are f
and m
.
What's the meaning of f
and m
?
Does the f
means function?
PyCharm automatically adds an import statement when you refer any module member or package in the Python code and invoke code completion. Auto-import on code completion is also applied to some popular package name aliases, such as np for numpy or pd for pandas .
The suggestion list of Automatic completion appears as soon as you start typing a new identifier. The suggestion list of Basic completion appears when you press Ctrl+Space .
'V' means variable. Checkout the pycharm symbol guide as a reference. Remember that in python you can store methods/functions in variables.
You need to go into the project settings and configure the interpreter to point at the virtualenv. PyCharm will then index the interpreter and allow you to autocomplete. The virtualenv may be auto-detected in the dropdown menu on the left.
If f
is in yellow and in small letters, it's field
. In pink and in capital letters it's function
.
m
is method
To know more take a look here: https://www.jetbrains.com/help/pycharm/symbols.html
This is the symbol for the type. A complete list may be found in PyCharm's docs:
c: class
f: field
F: function
m: method
p: parameter
P: property
v: variable
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With