Android Studio 100 tips and tricks, androidtricks

Source: Internet
Author: User

Android Studio 100 tips and tricks, androidtricks
About this article

This article aims to summarize some tips for using Android Studio. It may take some time for most people who are used to using eclipse. However, if you have read the following introduction, you will be able to understand the power of Android Studio, but this article only lists the tip of the iceberg. After a deep understanding, there will be more worth discovering!

Ps: due to the time relationship, the translation may be incomplete or wrong. I hope you can fix it together. Please note in the message that I will correct it ~ Thx


Tip: ctrl + space




Press ctrl + shift + up/down to move up/down code lines


Start the debugging shortcut: alt + shift + F10




In many places, you can use ctrl + space to complete and prompt


Select Show Applied Styles For Tag on the context menu to display the HTML tag layout.


Press ctrl + shift + I to display information about the Image.


Rename the shortcut key shift + f6


Show and hide navigation menu shortcut: alt + home


The changes window displays all the changes. The shortcut key is alt + f9.


You can select the classpath or project file of eclipse to import an eclipse file.


You can display all the related classes, methods, and variable shortcut keys of the selected object, ctrl + alt + f7


Use the shortcut key atrl + shift + a to open the search box for the command


You can use the search box to quickly find related items.


Ctrl + shift + enter allows you to automatically add parentheses and semicolons after writing some code


Press ctrl + shift + f7 to view all interfaces implemented by this class.


When using the search box, click the drop-down arrow to view the search history


You can also use ctrl + space to complete the search.


You can use ctrl + shift + f7 to view all the return points of a method.


Use the shortcut key on the exception keyword, ctrl + shift + f7 to view the exception to be captured


Alt + enter to quickly prompt for modification errors


Ctrl + click to display other files in the directory where the file is located


Collaborative work and Version Control


You can directly edit the color in the css file.


Click alt + enter on the class name to quickly create the Test


Press and hold alt to select multiple columns.


Differentiate files by different colors


Version Control Problems


The system comes with spell check.


The. dic file defines the words you want to check


Version Control Problems


Use ctrl + tab to switch among all open documents, press ctrl, use the up and down arrow keys, tab, shift + tab, and alt to navigate, and use delete and backspace to close the document


How to close other tabs: Right-click and select, and press and hold alt to close


Press ctrl + shift + n to search for related files


Show diff is used to display the modification records.


Select the jar file to be compared on the project, and press ctrl + d to compare


Split display


Ctrl + space completion do not need to be input in order


When ctrl + f is used to search, the field is added through atrl + r.


You can select the corresponding tag in scope to find


You can use ctrl and shift to select multiple tasks on the task list.


Run/debug can be managed by group






Use Emmet to accelerate HTML Development




You can select the ending line feed mode for the following information.


Use file line separators to select separators for different systems


Ctrl + alt + shift + t to display refactoring Information


You can add to favorites.


You can also drag the document to favorites.


You can drag it to layout the interface.


You can directly open the terminal under tools




After Automatic completion, values can be automatically taken from an array


After Automatic completion, values can be automatically taken from an array




You can use ctrl + shift + enter to select the current prompt.


Auto-completion passed! To complete other code


Press ctrl + space twice in a row to display all related information.


Press ctrl + enter to select the first prompt.


You can select the sorting method in the automatic prompt.


After entering the code segment, you can press ctrl + j to select other prompts


Create multiple cursor using alt + shift + click


Press ctrl + shift + a to clone create


Ctrl + q to display Document Information


You can choose show quick doc on mouse move to suspend the prompt document like eclipse


Alt + f12 started through the terminal


Press ctrl + space twice to import the prompts in other namespaces


The SQL prompt is also displayed.


Ctrl + q quick notes


Use ctrl + B to view declarative Information


Rename the shortcut key shift + f6


Ctrl + o quick rewrite method, ctrl + I quick implementation Interface


The shortcut key ctrl + shift + space can prompt the code segment.


When using auto-completion, you can use a tab in the pop-up box to select




Alt + insert can quickly create some methods


Enter keywords to search


Ctrl + alt + t to select template code




Use ctrl + alt + v to extract refactoring code


Automatically comment ctrl +/ctrl + shift +/




Ctrl + d to copy a row


Use the tab to use the template


Ctrl + e to find historical records


Shell can also be customized


Press ctrl + up/down arrow to select




What is Tips and Tricks?

Tip1
KK: []
DJ: []
N. [C]
1. Tip
He burnt the tips of his fingers.
He burned his fingertip.
2. wingtip of a bird or airplane
3. Small pieces attached to the top
Some smokers don't like cigarettes with tips.
Some smokers do not like to smoke paper cigarettes with filters.
Vt.
1. Add an object to the top...
A filter-tipped cigarette
Cigarettes with Filters
2. cover (or decorate) the tip of... [(+ with)]
Hills tipped with trees
Top of a tree
3. Remove the tip of a growth object
Tip2
KK: []
DJ: []
Vt.
1. Tilt
2. Reverse [(+ over/up)]
I'm sorry I tipped the bottle over.
Sorry, I overturned the bottle.
3. Close your hat and say hello.
4. Dumping
He tipped the money in his pocket on to the counter.
He dumped the money in his pocket on the counter.
Vi.
1. skew
The boat tipped to one side.
The ship is tilted to one side.
2. Flip [(+ over/up)]
N. [C]
1. Tilt; flip; dumping
2. [UK] (junk) Disposal Site
Tip3
KK: []
DJ: []
Vt.
1. Tap
2. Deliver [O1]
3. Tip for... [O1]
We tipped the taxi driver.
We tip taxi drivers.
I tipped the waiter two dollars.
I tip the waiter for two yuan.
4. leakage; suggestion; Warning
Who tipped the scheme?
Who leaked the plan?
Vi.
1. Shoot your feet
2. Tip
N. [C]
1. Tip
We gave the taxi driver a tip.
We tip the taxi driver.
2. Warning; prompt [(+ for/on)]
I gave her a tip on how to concoct a new kind of soup.
I taught her how to prepare a new soup.
3. Internal Intelligence, secret message [(+ on)] [+ to-v] [+ that]
He gave me some tips on the matter.
He disclosed the news about the incident to me.
4. Click push and click

Trick
KK: []
DJ: []
N. [C]
1. tricks; scams; tactics; tricks
He got into the castle by a trick.
He played a trick into the castle.
2. Prank
3. rash and stupid behavior
That was a rotten trick!
It's too rash to do that!
4. Habits [(+ of)]
He has a trick of repeating himself.
He has the habit of repeating his speech.
5. Tips, tricks, and Tactics
Daily practice is the trick in learning a foreign language.
Practice every day is a trick to learn a foreign language.
6. Tricks, tricks, special effects, and tricks
No one understood how I did the card trick.
No one has seen how I play card tricks.
Magicians often perform tricks such as pulling a rabbit out of a hat.
Magicians often change from hats to rabbits.
7 ...... remaining full text>

What is Photoshop Tips and Tricks in 1000?

1000 PS tips and Methods
 

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.