1. Install Java JDK
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install Oracle-java8-installer
The Oracle License dialog box appears during installation and is selected
After the installation is complete, run Java-version or javac-version to see if the installation is successful. The output is similar to the following, indicating successful installation
2. Installation Pycharm(1) Download the installation package to the website
(2) to the download directory for decompression
CD downloads/
tar xfz pycharm-*.tar.gz
(3) Run the pycharm.sh file in the bin directory in the Unpacked folder
CD pycharm-community-3.4.1/bin/
./pycharm.sh
During installation, ask if you want to import settings, and choose not to import->ok. Then all are defaults, according to the prompts to select the registration Certificate Server: http://bash.pub:1017, http://idea.liyang.io/
3. Set up Quick Start modeUnder Ubuntu, every time you find the Pycharm.sh folder, execute./pycharm.sh, very troublesome. It is best to create a shortcut.
Ubuntu shortcuts are placed in the/usr/share/applications, first in the directory to create a pycharm.desktop
sudo gedit/usr/share/applications/pycharm.desktop
Then enter the following to note that exec and icon need to find the right path
[Desktop Entry]
Type=application
name=pycharm
genericname=pycharm3
comment=pycharm3:the Python IDE
exec= "/xxx/ pycharm-community-3.4.1/bin/pycharm.sh "%f
icon=/xxx/pycharm-community-3.4.1/bin/pycharm.png
Terminal= Pycharm
Categories=pycharm;
Then go to the/usr/share/applications to find the appropriate boot, copy to the desktop, or find the Pycharm icon in the search pull to the left column lock.
Reference Ubuntu12.04 Installation Pycharm
4. UninstallUninstall only need to delete the installed folder
RM-RF pycharm-community-3.4.1
5, shortcut keys
1, editor (Editing)Ctrl + Space Basic code completion (class, method, property)
Ctrl + Alt + Space quickly import any class
Ctrl + Shift + Enter statement complete
Ctrl + P parameter information (calling parameters in a method)
Ctrl + Q Quick View Document
Shift + F1 External document
Ctrl + Mouse Introduction
Ctrl + F1 Display error descriptions or warning messages
Alt + Insert automatically generate code
Ctrl + O Re-method
Ctrl + Alt + T Select
Ctrl +/Line Comment
Ctrl + Shift +/Block Comment
Ctrl + W Select the added code block
Ctrl + Shift + W back to Previous state
Ctrl + Shift +/[SELECT code block end, start
Alt + Enter quick fix
Ctrl + Alt + L code formatting
Ctrl + Alt + O optimize import
Ctrl + Alt + I Auto Indent
Tab/shift + Tab indent, no indent when forward
Ctrl+x/shift+delete cut the current line or the selected code block to the Clipboard
Ctrl+c/ctrl+insert Copy the current line or selected code block to the Clipboard
Ctrl+v/shift+insert Paste from clipboard
Ctrl + Shift + V paste from the nearest buffer
Ctrl + D Copy the selected range or row
Ctrl + Y to delete selected rows
Ctrl + Shift + J Add smart wire
Ctrl + Enter Smart wire cut
Shift + Enter Another line
Ctrl + Shift + U toggle between selected areas or blocks of code
Ctrl + DELETE to end of character
Ctrl + Backspace Delete to character start
Ctrl + numpad+/-expand collapse code block
Ctrl + numpad+ All expanded
Ctrl + numpad-all folded
Ctrl + F4 To turn off the running tabs
2. Find/replace (search/replace)F3 Next
Shift + F3 Previous
Ctrl + R Replace
Ctrl + Shift + F Global Lookup
Ctrl + Shift + R global substitution
3. Operation (Running)Alt + Shift + F10 run mode configuration
Alt + Shift + F9 Debug mode configuration
Shift + F10 Run
Shift + F9 Debugging
Ctrl + Shift + F10 Run editor configuration
Ctrl + Alt + R run manage.py task
4, debugging (Debugging)F8 Skip.
F7 into
Shift + F8 Exit
ALT + F9 Run cursor
Alt + F8 Validation expression
Ctrl + Alt + F8 Quick Validation expression
F9 Recovery Program
Ctrl + F8 Breakpoint switch
Ctrl + Shift + F8 View breakpoints
5, navigation (navigation)
Ctrl + N jump to class
Ctrl + Shift + N jump to symbol
Alt + Right/left jumps to the next, previous Editor tab
F12 back to the previous tool window
Esc back to edit window from tool window
Shift + ESC To hide a running, recently running window
Ctrl + Shift + F4 to close the active run tab
Ctrl + G View current line number, word symbol
Ctrl + E Current file Popup
Ctrl+alt+left/right, move back.
Ctrl+shift+backspace navigation to the most recent editing area
Alt + F1 Find current file or identity
Ctrl+b/ctrl+click Jump to Declaration
Ctrl + Alt + B jump to implementation
Ctrl + Shift + I view quick definition
Ctrl + Shift + b jump to type declaration
Ctrl + U Jump to Parent method, parent class
Alt + Up/down Jump to Previous, next method
Ctrl +/[Jump to code block end, start
Ctrl + F12 Popup file structure
Ctrl + H Type hierarchy
Ctrl + Shift + H method hierarchy
Ctrl + Alt + H Call Hierarchy
F2/shift + F2 Next, previous highlight error
F4/ctrl + Enter edit resources, view resources
ALT + Home Display navigation bar F11 bookmark switch
Ctrl + Shift + F11 bookmark Mnemonic switch
Ctrl + #[0-9] jumps to the identified bookmark
Shift + F11 Show bookmark
6, search related (Usage)Alt + F7/ctrl + F7 file query usage
Ctrl + Shift + F7 file usage highlighting
Ctrl + Alt + F7 display usage
7. Refactoring (Refactoring)F5 copy F6 cut
ALT + DELETE Safe Delete
Shift + F6 Rename
Ctrl + F6 Change signature
Ctrl + Alt + N Inline
Ctrl + Alt + M extraction method
Ctrl + Alt + V Extract Properties
Ctrl + Alt + F extract Field
Ctrl + Alt + C Extract Constants
Ctrl + Alt + P extraction Parameters
8, control vcs/local HistoryCtrl + K Submit Project
Ctrl + T Update project
Alt + Shift + C to see Recent changes
Alt + backquote (') VCs quick Popup
9. Template (Live Templates)Ctrl + Alt + J Current line using template
Ctrl +j Insert Template
10, Basic (general)ALT + #[0-9] Open the appropriate tool window
Ctrl + Alt + y sync
Ctrl + Shift + F12 maximize edit switch
Alt + Shift + F add to Favorite
Alt + Shift + I check the current file based on configuration
Ctrl + backquote (') Fast Toggle Current Schedule
Ctrl + Alt + S Open Settings page
Ctrl + Shift + A Find all the actions in the editor
Ctrl + TAB Toggles between Windows
Some common settings:1. Pycharm By default is automatically saved, the habit of pressing CTRL + S can be set as follows:
A. File-> Setting-> General-> synchronization-> save files on frame deactivation and save files Automaticall Y if application is idle for.. The SEC's tick is removed
B. File->setting-> Editor-> Editor Tabs-> Mark modified Tabs with asterisk tick
2. Alt + Enter: Automatically add packages
3. For commonly used shortcut keys, you can set it to Visual Studio (Eclipse ...). The same:
File-> Setting-> keymap-> keymaps-> vuisual Studio-> Apply
4. Pycharm the default is not to use CTRL + Wheel to change the font size, you can set in the file-> Setting->editor-〉mouse
5. To set the font for Pycharm, select a style and save it in the file-> Setting->editor-〉editor before you can change
6. In setting search theme can change the theme, all color uniform change
Reference: Pycharm shortcut keys and some common settings