码迷,mamicode.com
首页 > 其他好文 > 详细

pycharm 快捷键介绍

时间:2015-09-10 00:19:04      阅读:373      评论:0      收藏:0      [点我收藏+]

标签:

  • Ctrl+N (Navigate | Class)     打开输入框输入要查找的类名

  • Ctrl+空格   代码自动补全

  • Ctrl+空格(按两次)对于没有导入的类自动完成导入代码并自动补全

  • Alt+F7  查找方法变量在工程中的所有应用

  • Ctrl+Q (View | Quick Documentation).     快速查看文档

  • Ctrl+B. You can also click the mouse on usages with the Ctrl key pressed to jump    跳转到函数的定义出

  • Ctrl+F12 (Navigate | File Structure).     显示该文件的所有方法和变量

  • Shift+F6 (Refactor | Rename)     重命令变量或函数名

  • you can accept the currently highlighted selection in the popup list with Tab key.     

  •  The Esc key in any tool window moves the focus to the editor.  

  •   Shift+Esc moves the focus to the editor and also hides the current (or last active) tool window.

      The F12 key moves the focus from the editor to the last focused tool window.  

  • Ctrl+W (select word)      或者双击

  • Ctrl+Alt+V (Refactor | Extract | Variable).     可以把一句话拆成两句,多一个变量是后面一句简洁点比如print a+b ==>  c = a + b    print  c

  • Ctrl+D  复制一行或一个代码块

  • Ctrl+Shift+向上箭头 or Ctrl+Shift+向下箭头.     移动选中的代码块,如果没有选中,则移动鼠标哪一行

  • Ctrl+Shift+J shortcut joins two lines into one and removes unnecessary spaces to match your code style.     

  • If the cursor is between the parentheses of a method call, pressing Ctrl+P brings up a list of valid parameters.    

  • Ctrl+Shift+Backspace (Navigate | Last Edit Location)    回到以前代码更改的地方

  •  

     

pycharm 快捷键介绍

标签:

原文地址:http://www.cnblogs.com/ChenAlong/p/4796338.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!