pycharm如何安装pythoncard_pycharm的各种设置,配置

本博客一直在同步更新中!

内容包含:pycharm学习技巧 Learning tips、PyCharm3.0默认快捷键(翻译的)、pycharm常用设置、pycharm环境和路径配置、Pycharm实用拓展功能:pycharm中清除已编译.pyc中间文件、python2转python3最快方式

[pycharm版本控制和数据库管理][PyCharm中的那些实用功能]

pycharm学习技巧 Learning tips

/pythoncharm/help/tip of the day:

A special variant of the Code Completion feature invoked by pressing Ctrl+Space twice allows you to complete the name of any class no matter if it was imported in the current file or not. If the class is not imported yet, the import statement is generated automatically.

You can quickly find all places where a particular class, method or variable is used in the whole project by positioning the caret at the symbol's name or at its usage in code and pressing Alt+Shift+F7 (Find Usages in the popup menu).

To navigate to the declaration of a class, method or variable used somewhere in the code, position the caret at the usage and press F12. You can also click the mouse on usages with the Ctrl key pressed to jump to declarations.

You can easily rename your local variables with automatic correction of all places where they are used.

To try it, place the caret at the variable you want to rename, and press Shift+F6 (Refactor | Rename). Type the new name in the popup window that appears, or select one of the suggested names, and press Enter.

...

切换

Use Alt+Up and Alt+Down keys to quickly move between methods in the editor.

Use Ctrl+Shift+F7 (Edit | Find | Highlight Usages in File) to quickly highlight usages of some variable in the current file.

选择

You can easily make column selection by dragging your mouse pointer while keeping the Alt key pressed.

补全

Working in the interactive consoles, you don't need to memorise the command line syntax or available functions. Instead, you can use the familiar code completion Ctrl+Space. Moreover, from within the lookup list, you can press Ctrl+Q to view the item's documentation.

显示

Use F3 and Shift+F3 keys to navigate through highlighted usages.

Press Escape to remove highlighting.

历史

Ctrl+Shift+Backspace (Navigate | Last Edit Location) brings you back to the last place where you made changes in the code.

Pressing Ctrl+Shift+Backspace a few times moves you deeper into your changes history.

Ctrl+E (View | Recent Files) brings a popup list of the recently visited files. Choose the desired file and press Enter to open it.

Use Alt+Shift+C to quickly review your recent changes to the project.

剪切板

Use the Ctrl+Shift+V shortcut to choose and insert recent clipboard contents into the text.

If nothing is selected in the editor, and you press Ctrl+C, then the whole line at caret is copied to the clipboard.

run/debug

By pressing Alt+Shift+F10 you can access the Run/Debug dropdown on the main toolbar, without the need to use your mouse.

在PyCharm安装目录 /opt/pycharm-3.4.1/help目录下可以找到ReferenceCard.pdf快捷键英文版说明 or 打开pycharm > help > default keymap ref

PyCharm3.0默认快捷键(翻译的)

PyCharm Default Keymap

1、编辑(Editing)

Ctrl + Space    基本的代码完成(类、方法、属性)

Ctrl + Alt + Space  快速导入任意类

Ctrl + Shift + Enter    语句完成

Ctrl + P    参数信息(在方法中调用参数)

Ctrl + Q    快速查看文档

F1   外部文档

Shift + F1    外部文档,

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值