Engineering
2015.08.05 22:22

Android 단축키 팁 (생산성 최적화)

조회 수 5302 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

import 정리: ctrl+alt+O


자동 완성/수정 import (show intention actions and quick-fixes): alt+Enter


이름 바꾸기 (Refactoring): shift+F6


자동완성 ctrl+ space


양식 정렬: ctrl+alt+L


메소드 오버라이드 (Override method): ctrl+o


인터페이스 구현 (Implement methods): ctrl+i


Parameter Info: ctrl + P


Search Everywhere: Shift * 2 


#출처: http://androidhuman.tistory.com/563


Editing

 

Ctrl + Space : 기본 코드 완성

Ctrl + Shift + Space : 스마트 코드 완성(예상되는 타입의 메소드또는 변수명 )

Ctrl + Q : 빠른 문서보기

Shift + F1 : 외부 문서보기(http://developer.android.com/reference로 이동)

Ctrl + mouse over code : 간단한 설명.

Alt + Insert : Generate code( Getters, Setters, Constructors, hashCode/equals, toString )

Ctrl + O : Override methods

Ctrl + I : Implement methods

Ctrl + Alt + T : Surround with… (if..else, try..catch, for, synchronized, etc.)

Ctrl + / : 한줄주석

Ctrl + Shift + / : 블럭주석

Ctrl + W : 연속적인 코드블럭 선택

Alt + Enter : 빠른수정.

Ctrl + Alt + L : Reformat code
Ctrl + Alt + O : Optimize imports
Ctrl + Alt + I : Auto-indent line(s)

Ctrl + Shift + V : 이전에 클립보드에 복사한 히스토리 열기.

Ctrl + D : 라인복제 또는 선택블록 복제

Ctrl + Y : 라인삭제

Ctrl + Shift + J : 라인합치기(Smart line join)

Ctrl + Enter : 라인분리(Smart line split)

Ctrl + Shift + U : 대소문자 변환

Ctrl + Shift + ] / [ : 코드블럭 처음또는 끝까지 선택

Ctrl + Delete : 단어끝까지 삭제

Ctrl + Backspace : 단어처음까지 삭제

 

 

 

Search/Replace

 

Double Shift : 모든곳에서 찾기.

Ctrl + F : 찾기

F3 : 다음찾기

Shift + F3 : 이전찾기

Ctrl + R : 바꾸기

Ctrl + Shift + F : 경로에서 찾기(Find in path)
Ctrl + Shift + R : 경로에서 바꾸기(Replace in path)

 

 

 

Usage Search


Alt + F7 / Ctrl + F7 : 사용내용 전체찾기 / 파일에서 사용한것 찾기
Ctrl + Shift + F7 : 현재파일에서 하이라이트
Ctrl + Alt + F7 : 사용된것 새창으로 보여줌.

 

 

 

Compile and Run

 Shift + F10 : Run

  

Debugging


F8 : Step over
F7 : Step into
Shift + F7 : Smart step into
Shift + F8 : Step out
Alt + F9 : Run to cursor
Alt + F8 : Evaluate expression
F9 : Resume program
Ctrl + F8 : Toggle breakpoint
Ctrl + Shift + F8 : View breakpoints

 

 

 

Navigation


Ctrl + N : 클래스 열기
Ctrl + Shift + N : 파일열기
Ctrl + Alt + Shift + N : Go to symbol
Alt + Right/Left : 문서탭이동

F12 : 이전에 사용한 도구창 열기

Shift + Esc : 마지막에 사용한 도구창 닫기
Ctrl + G : 줄번호로 이동.
Ctrl + E : 이전에 열었던파일 목록창 열기
Ctrl + B or Ctrl + Click : Go to declaration
Ctrl + Alt + B : Go to implementation(s)
Ctrl + Shift + I : Open quick definition lookup
Ctrl + Shift + B : Go to type declaration
Ctrl + U : super-method/super-class 이동.
Alt + Up/Down : 이전/다음 함수 이동

Ctrl + ] / [ :  코드블럭 처음/끝 이동
Ctrl + F12 : 파일 구조보기

F2 / Shift + F2 : 다음/이전 하이라이트된 에러로 이동.
F4 : 해당 소스로 이동

 

 

 

Refactoring

 

F5 : 복사
F6 : 이동
Alt + Delete : 안전하게 삭제(지우기전에 사용된곳 확인 가능)

Shift + F6 : 이름바꾸기

 

 

 

Live Templates


Ctrl + Alt + J : Surround with Live Template
Ctrl + J : Insert Live Template
iter : Iteration according to Java SDK 1.5 style
inst : Check object type with instanceof and downcast it
itco : Iterate elements of java.util.Collection
itit : Iterate elements of java.util.Iterator
itli : Iterate elements of java.util.List
psf : public static final
thr : throw new


출처 http://blog.naver.com/komseki/130185867089



 Ctrl +

 능력 

 q

 quick documentation 

 o

 override

 i

 implement 

 space

 code completion 

 shift + space

 smartype 

 w

 select word 

 Alt + l

 reformat code 

 y

 delete line 

 Alt + t 

 surround with 

 d copy line



 Alt +

 능력 

 F7 

 hierarchy  

 Insert

 generate code(getter, setter, constructor)

 Shift + up / down

 move line up / down 



Shift +  

 능력

 F6

 refactor 



#출처: http://mrgamza.tistory.com/entry/Android-Studio-%EB%8B%A8%EC%B6%95%ED%82%A4

TAG •
?

  1. Image Upload

    http://imgur.com https://snag.gy/ https://postimages.org/ko/ http://imgur.top/ Clipboard 이미지의 업로드 https://blog.joostory.net/460
    Date2019.07.05 CategoryWeb Design Views44114
    Read More
  2. TensorFlow

    ‘함께하는 딥러닝 컨퍼런스’ 발표 자료입니다. Enjoy! slide: http://bit.ly/keras-in-tf2 script: http://bit.ly/keras-in-tf2-script #Reference https://tensorflow.blog/
    Date2019.07.05 CategoryDeep Learning Views1165
    Read More
  3. Get PyCharm Student Free License (파이참 무료 라이센스 받기)

    Requirement (필요사항) - university domain email adress (학교 도메인으로 된 이메일 주소) such as OOO@OOO.ac.kr / OOO@OOO.edu 1. go to https://www.jetbrains.com/shop/eform/students 2. fill the blank and click the button, "apply for free products" 3. co...
    Date2019.06.19 CategoryPyThon Views99637
    Read More
  4. How to add an external jar file in Android Studio

    To sum it up, when adding an external jar file in Android Studio: Copy jar to root/project/libs folder; Right-click and add as library; Add the jar to root/project/build.gradle (something like compile files('libs/test-jar-to-import.jar')); Mak...
    Date2015.08.06 CategoryCoding Views7421
    Read More
  5. No Image

    extends, interface, implements 의 정의

    A class implements an interface. An interface is an abstract class that only contains method signatures and constant declarations. An interface doesn't contain method definitions and can't be instantiated. A class extends another class. The new class ...
    Date2015.08.05 CategoryEngineering Views14264
    Read More
  6. No Image

    Android 단축키 팁 (생산성 최적화)

    import 정리: ctrl+alt+O 자동 완성/수정 import (show intention actions and quick-fixes): alt+Enter 이름 바꾸기 (Refactoring): shift+F6 자동완성 ctrl+ space 양식 정렬: ctrl+alt+L 메소드 오버라이드 (Override method): ctrl+o 인터페이스 구현 (Implement met...
    Date2015.08.05 CategoryEngineering Views5302
    Read More
  7. No Image

    Better Quality Images from Figures

    If you want better quality images from your figures, I would suggest downloading the submission Myaa by Anders Brun on The MathWorks File Exchange. It allows you to create anti-aliased graphics in MATLAB. Here's a screenshot from the submission illust...
    Date2015.02.03 CategoryEngineering Views5773
    Read More
  8. No Image

    "getframe" not working on 64-bit Windows properly

    Try this, but don't use a docked figure. Just use GETFRAME the normal way, but switch to software rendering of OPENGL. You should still be able to use transparency. opengl('software') #Source: http://www.mathworks.com/matlabcentral/answers/9000-cannot...
    Date2015.02.03 CategoryEngineering Views7489
    Read More
  9. No Image

    msg_make_directory_failed

    # Issuewhen you try to easy install on XE, it doesn't work with popup "msg_make_directory_failed" # Solution1. Go to Admin -> Settings -> FTP Account Information 2. Type the XE Path from the the directory you confront first when you access your FTP a...
    Date2011.09.22 CategoryEngineering Views15624
    Read More
  10. No Image

    2진수 <-> 8 진수, 16 진수 변환

    앞서 10 진수를 기준으로 2,8,16 진수의 변환을 알아 보았습니다. 이번에는 2진수를 8진수와 16진수로 변환하는 방법과 8진수,16진수를 2진수로 변환하는 방법을 알아 봅니다. 1. 2진수를 16진수로 변환하기. 2진수로 데이터가 저장되는 정보의 최소 단위인 비트가 4개 ...
    Date2011.09.17 CategoryReferences Views99506
    Read More
  11. No Image

    Align <Div> at center

    .body { text-align: center; } .body .container {margin: 0 auto; } <div class="body"> <div class="container">{contents}</div> </div> div 가운데 정렬하기 body안에 container를 가운데에 정렬함
    Date2011.08.12 CategoryEngineering Views19452
    Read More
  12. No Image

    [On2 Salsa - Beginner] Outside Turn, Close Cross Body Lead, Inside Turn

    Instructor : 태수&무아 (SkyLatin) Instruction : Holding - Outside Turn - Close Cross Body Lead (C-CBL) - Close Inside Turn
    Date2011.08.11 CategorySalsa Views23074
    Read More
Board Pagination Prev 1 2 3 Next
/ 3