【Pycharm Community Edition使用02】File structure(文件结构)快捷键学习

在处理大型源文件时,可以使用Ctrl+F12快速预览文件结构。若需查找特定方法,如含Homo和Sapiens的方法,输入hosa进行筛选。选定项目后,按回车键跳转。此外,Alt+7能打开文件结构的工具窗口,便于查看和操作。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

【1】A large source file can be difficult to read and navigate. Sometimes you only need to preview it. Press ‘CtrlF12’ to open the file structure.

大型源文件可能难以阅读和导航。有时您只需要预览它。按“Ctrl F12”打开文件结构。

(↑预览大型文件)Ctrl + F12

【2】Suppose you want to find a method with Homo and Sapiens words in itsname. Type [hosa] (prefixes of the required words) to filter the file structure.

假设你想找到一个名称中带有Homo和Sapiens words的方法。键入 [hosa](所需单词的前缀)以筛选文件结构。

(↑筛选名称中带有Homo和Sapiens words的方法or任意名称带有二词的方法,将两词前2个英文字母输出来筛选文件结构)[hosa]

【3】 Only one item remains.Now press [Enter] to jump to the selected item.

只剩下一个项目。现在按[回车]跳转到所选项目

(↑选择项目打开)Enter

【4】 Pycharm can also show you the file structure as a tool window. Open itwith ‘Alt 7’

Pycharm还可以将文件结构显示为工具窗口。使用“Alt + 7”打开它

(↑将文件结构显示为工具窗口)Alt + 7

涉及单词:

Preview (v.)预览

Structure (n.)结构

Remain (v.)剩下

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值