pycharm 每日提示

crystalnsd發表於2017-08-21

開啟每日提示
工具欄:help –> tip of the day

  • 提示1:一個視窗開啟多個專案
    PyCharm can work with several projects in one window. To open a project in the same window with the already opened one, choose Open on the File menu, then in the Open project dialog box, select the option Open in current window, and select the check box Add to currently opened projects.
    翻譯:
    在一個視窗PyCharm可以處理多個專案。開啟一個專案在同一個視窗已經開啟,選擇開啟檔案選單,然後在開放專案對話方塊中,選擇的選項開啟當前視窗,選中該核取方塊新增到當前開啟的專案。
    注意:勾選add to currently opend projuct
  • 提示2:快速查詢類Ctrl + N(
    To open any class in the editor quickly, press Ctrl+N (Navigate | Class) and start typing the name of the class. Choose the class from a drop-down list that appears.
    翻譯:
    迅速在編輯器中開啟任何類,按Ctrl + N(導航|類)並開始鍵入類名。從下拉選單選擇類。
  • 提示3:程式碼完成功能 Ctrl +空格
    The Code Completion feature lets you quickly complete different kinds of statements in the code. For example, start typing a class name and press Ctrl+空格 to complete it. When multiple choices are available, they are shown in the lookup list.
    翻譯:程式碼完成功能可讓你快速的完成不同的語句的程式碼。例如,輸入一個類名並按Ctrl +空格來完成它。當多個選擇,他們在查詢列表中所示。
  • 提示4:自動匯入:
    A special variant of the Code Completion feature invoked by pressing Ctrl+空格 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.
    翻譯:
    呼叫程式碼自動完成功能的特殊變體通過按Ctrl +空兩格允許你完成任何類的名字,無論它是否在當前檔案匯入。如果類尚未匯入,匯入語句是自動生成的。
  • 提示5:快速定位所選的類 alt+f7:
    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+F7 (Find Usages in the popup menu).
    翻譯:
    您可以快速找到所有的地方一個特定的類,方法或變數是用於整個專案通過定位插入符號象徵的名稱或使用的程式碼,按Alt + F7(在彈出選單找到用法)
  • 提示6:檢視類的幫助文件(ctrl+q)
  • 提示7:跳轉到類原始碼:ctrl+b 或 ctrl加滑鼠左鍵
  • 提示9:修改類名:shift + f6 提
  • 提示 10 : 快速定位文件路徑: alt + f1
  • 提示 11 搜尋功能可以快速找你要的東西
  • 提示12 :複製當前行 ctrl+d
  • 提示13 :陳列引數:ctrl+p
  • 提示

相關文章