在PyCharm 里,显示行号有两种办法:
1,临时设置。右键单击行号处,选择 Show Line Numbers。
但是这种方法,只对一个文件有效,并且,重启PyCharm 后消失。

2,永久设置。File --> Settings -->Editor -->Appearance , 之后勾选Show Line Numbers。

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号