사용자 도구

사이트 도구


intellij_idea:live_template

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
intellij_idea:live_template [2014/11/04 17:21]
kwon37xi
intellij_idea:live_template [2022/04/15 16:43] (현재)
kwon37xi
줄 1: 줄 1:
 ====== IntelliJ Live Template ====== ====== IntelliJ Live Template ======
 +  * [[https://www.jetbrains.com/help/idea/2016.2/creating-and-editing-live-templates.html|Creating and editing live templates]]
   * [[https://www.jetbrains.com/idea/webhelp/edit-template-variables-dialog.html|Live template variable editor]]   * [[https://www.jetbrains.com/idea/webhelp/edit-template-variables-dialog.html|Live template variable editor]]
 +
 +===== 특수 변수 =====
 +  * ''$END$'' : 라이브템플릿 수행 후 커서를 둘 위치
 +  * ''$SELECTION$'' : 현재 선택된 문자열. ''Ctrl-Alt-T''로 selection template을 실행하면 선택된 문자열에 대한 행위가 실행된다.
 +  * ''$$'' : ''$'' 문자 그 자체
 +
 +===== Surround Template =====
 +  * 뭔가를 선택하고 ''Ctrl-Alt-J''를 누르면 **Live Template -> Surround Template**에 있는 항목으로 감싸기 다이얼로그가 나온다.
 +  * ''Ctrl-Alt-T''는 다른 **Surround With**와 함께 나온다.
  
 ===== Date deep copy Getter/Setter template ===== ===== Date deep copy Getter/Setter template =====
줄 23: 줄 33:
     * ''field'' : 아무것도 필요없음     * ''field'' : 아무것도 필요없음
     * ''FIELD''     * ''FIELD''
-      * Expression : ''capitalize(field)'' FIELD에 입력한 값을 문자 기준 프라퍼티명으로 변환+      * Expression : ''capitalize(field)'' FIELD에 입력한 값을 문자화 
 + 
 + 
 +===== 참조 ===== 
 +  * [[https://www.youtube.com/watch?v=Sio9MdSqXZo|IntelliJ IDEA. Helen's Take On: Writing Less Code - YouTube]] 
 + 
intellij_idea/live_template.1415089269.txt.gz · 마지막으로 수정됨: 2014/11/04 17:21 저자 kwon37xi