Pycharm中图标的含义
问题
- 有同学问,下面的v,c,f等都是啥意思
-
这个问题嘛,应该在python学习阶段来问,不过我也只能解释部分,有些也只能靠猜测
-
按图索骥找了下pycharm的官网doc,解释就非常全了
解答
https://www.jetbrains.com/help/pycharm/symbols.html#common-icons
- 但有些在python中你应该见不到
- 重点关注比如FfmC这些吧
- pycharm也非常复杂,要完全了解不现实,还是把注意力放在代码上为宜
Common
Icon | Description |
---|---|
![]() |
Python script |
Class | |
Method | |
Function | |
Field | |
Variable | |
Property | |
Parameter | |
![]() |
Element |
Project structure | |
Directory | |
Package | |
Source root | |
Excluded root | |
![]() |
Template roots |
Visibility modifiers | |
private | |
protected | |
public | |
![]() |
The lock decorator in the upper-left part of a symbol marks a symbol whose name begins with one or more underscores. Such names are considered pseudo-private and are specially treated by an interpreter to restrict their visibility scope. |
![]() |
The blue bubble in the upper-left part of a symbol marks a symbol whose name begins and ends with two underscores, and is specially treated by an interpreter and standard library. |
Bookmarks | |
![]() |
Anonymous bookmark – a check sign bookmark. Bookmarks are used for quick navigation within a file or across the entire project. |
![]() |
Lettered mnemonic bookmark – a letter in the interval from A to Z. |
![]() |
Numbered mnemonic bookmark – a number in the interval from 0 to 9. |