Pycharm tips

  • Ctrl+D in the editor duplicates the selected block or the current line when no block is selected
    • 编写代码时按下 Ctrl + D 复制被选中的代码,若没有选中任何代码,将复制光标所在整行代码
  • Ctrl+Shift+J shortcut joins two lines into one and removes unnecessary spaces to match your code style
    • Ctrl + Shift + J 快捷键将两行连接成一行,并删除不必要的空格以匹配您的代码样式
  • If the cursor is between the parentheses of a method call, pressing Ctrl+P brings up a list of valid parameters
    • 如果光标位于方法调用的括号之间,则按 Ctrl + P 会显示有效参数列表
  • Ctrl+E (View Recent Files) brings a popup list of the recently visited files. Choose the desired file and press Enter to open it.
    • Ctrl + E(查看最近文件)弹出最近访问过的文件列表。选择所需文件,按Enter键将其打开。
  • To show separator lines between methods in the editor, open the editor settings and select the Show method separators check box in the Appearance page.
    • 要在编辑器中显示方法之间的分隔线,请打开编辑器设置,然后在“外观”页面中选中“显示方法分隔符”复选框。
  • Use Alt+向上箭头 and Alt+向下箭头 keys to quickly move between methods in the editor.
    • 使用 Alt +向上箭头 和 Alt +向下箭头 键可以快速在编辑器中的方法之间移动。
  • Use the Ctrl+Shift+V shortcut to choose and insert recent clipboard contents into the text.
    • 使用 Ctrl + Shift + V 快捷键选择最近的剪贴板内容并将其插入文本。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值