Common settings and shortcuts in Android Studio (private collection, eclipse turn as Must see)

Source: Internet
Author: User

Common settings:1.Tab without 4 spaces
Code style->java->tabs and Indents->use tab character
Code style->general->use Tab Character (example: Version control diff Interface Press TAB)


2. Visualize tab and Space
Settings->ide settings->editor->appearance->show whitespaces


3. Display the number of lines of code
Settings->ide Settings->editor->appearance->show Line Numbers


4. Modify the Code font size
Settings->ide settings->editor->colors & Fonts->font->save as-> Change the font size after changing a name


5. Mouse Hover Display doc
Settings->ide Settings->editor->show Quick doc on mouse move


6. Blank Line tab and space are automatically killed
Settings->ide Settings->editor->other->strip trailing spaces on Save->none




///////////////////////////////////////////////////////////Gorgeous split-line//////////////////////////////////// ///////////////////////



Common shortcut keys:

First change to eclipse shortcut (and most of the shortcuts will match Eclipse)

Settings->ide Settings->keymap->keymaps Select Eclipse


1. Jump out of parentheses as quickly as eclipse
Keymap->editor Actions->complete Current Statement: The default is Ctrl+shift+enter;shift+enter no matter where the cursor is now, a new line is opened directly


2. Code hints list (content assist,alt+/in eclipse)
Keymap->main menu->code->completion->basic: Default is Ctrl+space


3. Bug fix Prompt list (quick fix,ctrl+1 in eclipse)
Keymap->other->show Intention Action: Default is Alt+enter


4. Quick Overried Method
Keymap->main menu->code->override Methods: You need to set yourself


Outline in 5.Eclipse
Keymap->main menu->navigate->file Structure: Default is CTRL+F3


6. Next and Prev of diff in version control
Keymap->other->move to the next difference: default is CTRL+F7
Keymap->other->move to the previous difference: default is Shift+f7

Common settings and shortcuts in Android Studio (private collection, eclipse turn as Must see)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.