E D R , A S I H C RSS

IntelliJ

Refactoring κΈ°λŠ₯κ³Ό κΉ”λ”ν•œ UI, Inspection κΈ°λŠ₯ 등이 돋보인닀. 2002λ…„ Jolt Award μˆ˜μƒ.

http://www.intellij.net/eap - IntelliJ Early Access Program. Aurora project κ°€ 진행쀑. JUnit Runner μΆ”κ°€.(μ΄μ˜λ‹€!) CVS 지원. AspectJ 지원. Swing GUI Designer 지원 (IntelliJμ—μ„œλŠ” UI Form κΈ°λŠ₯). Plugin Manager κΈ°λŠ₯ μΆ”κ°€.

intellijpluginman.gif
intellijuiform.gif
intellijcvsman.gif

Analyze - Find Duplicates

μ€‘λ³΅μ½”λ“œλΌ μ°Ύμ•„μ£ΌλŠ” κΈ°λŠ₯. 계속 λ°œμ „ν• λ“ ν•˜λ‹€.



Intelli J Idea 의 Inspection

개인적으둜 IntelliJ λŠ” 정말 TestDrivenDevelopment 와 Simplicity λΌ μœ„ν•œ 에디터라고 μƒκ°ν•˜λŠ”λ°, μ΄μœ λŠ” λ¦¬νŒ©ν† λ§ κΈ°λŠ₯μ΄λ‚˜ 화면상 UI (쓰이지 μ•ŠλŠ” ν•„λ“œ 등에 λŒ€ν•΄μ„  νšŒμƒ‰μœΌλ‘œ ν‘œμ‹œλ¨), 그리고 Inspection κΈ°λŠ₯λ•Œλ¬Έμ΄λ‹€.

Inspection 을 μ΄μš©ν•˜λ©΄, ν˜„μž¬ μ‹€μ œλ‘œ μ ‘κ·Όν•˜μ§€ μ•ŠλŠ” λ©”μ†Œλ“œλ“€, private 으둜 λ‘˜ 수 μžˆλŠ” λ©”μ†Œλ“œλ“€, static 으둜 λ‘˜ 수 μžˆλŠ” ν•„λ“œ 등을 μ²΄ν¬ν•˜κ³ , ν•΄λ‹Ή λ©”μ†Œλ“œ 등을 μ£Όμ„μ²˜λ¦¬ν•˜κ±°λ‚˜ μ˜κ΅¬μ‚­μ œ, λ˜λŠ” μ ‘κ·ΌκΆŒν•œμ„ private 으둜 λ³€ν™˜ν•˜λŠ” λ“± μ—¬λŸ¬κ°€μ§€ λŒ€μ²˜λΌ ν•  수 μžˆλ‹€.

λ¦¬νŒ©ν† λ§μ‹œμ— JSP μ—μ„œ μ‚¬μš©λœ ν΄λž˜μŠ€λ“€λ„ 같이 λ¦¬νŒ©ν† λ§ν•΄μ€λ‹€.

그리고 Programming By Intention 을 툴 μ°¨μ›μ—μ„œ μ² ν•™μœΌλ‘œ μ§€μ›ν•˜λŠ” IDE λΌλŠ” 점이 κ°€μž₯ λ§ˆμŒμ— λ“ λ‹€. IntelliJ 둜 ν”„λ‘œκ·Έλž˜λ°μ„ ν• λ•ŒλŠ” 툴과 λŒ€ν™”λΌ ν•˜λ©° ν”„λ‘œκ·Έλž˜λ°ν•œλ‹€λŠ” λŠλ‚Œμ΄ λ“ λ‹€κ³  ν• κΉŒ. --1002

Intelli J Idea μ—μ„œ CVS 연동

Intelli J μ—μ„œλŠ” μ™ΈλΆ€ cvs client λΌ μ΄μš©ν•œλ‹€. 고둜, wincvs 등을 κΉ”κ³  λ‚œλ’€ λ„μŠ€ ν”„λ‘¬ν”„νŠΈμš© cvs λΌ μ—°κ²°ν•΄μ€˜μ•Ό ν•œλ‹€. (CVS - Project 연동뢀뢄에 λŒ€ν•΄μ„œλŠ” IntelliJ μͺ½μ΄ 빨리 버전업이 λ˜μ—ˆμœΌλ©΄ ν•œλ‹€λŠ”.. Eclipse의 CVS 연동기λŠ₯을 보면 λΆ€λŸ¬μš΄μ§€λΌ~)

0. CVS μ…‹νŒ… : File - Project Properties - CVS ν…μ—μ„œ Enable CVS Integration 체크
  1. Path to CVS client 에 λ„μŠ€ν”„λ‘¬ν”„νŠΈμ˜ cvs.exe λ‚˜ cvs95.exe 등을 μ—°κ²°
  2. CVS Root μ„μ • - ZP μ„œλ²„μ— μ—°κ²°ν•  경우 PServer λΌ μ„ νƒ, Repository Path 둜 /home/CVS 둜 μ„μ •, Hostμ—λŠ” zeropage.org, User name 은 자기 μ•„μ΄λ””λΌ μ¨μ€λ‹€.
  3. CVS 이용 - 3번의 과정을 ν•˜κ³  λ‚˜λ©΄, IntelliJ 의 Tools 에 CVS κ΄€λ ¨ 메뉴듀이 생길것이고, CVS Panel 이 열릴 것이닀.
  4. Checkout - μ΄λŠ” CVSROOT의 modules 에 λ“±λ‘λœ project λ“€λ§Œ κ°€λŠ₯ν•˜λ‹€. CVS κ΄€λ¦¬μžλŠ” CVSROOT 의 modules 화일에 ν•΄λ‹Ή ν”„λ‘œμ νŠΈ λ””λ ‰ν† λ¦¬λΌ μΆ”κ°€ν•΄μ€λ‹€.(module file) 그러면 IntelliJ 에 μžˆλŠ” CVS의 Checkout μ—μ„œ module 을 선택할 수 μžˆλ‹€. Checkout ν•œλ‹€.
  5. Update & Commit

IntelliJ Idea μ—μ„œ Ant 연동

Intelli J μ—μ„œλŠ” Ant κ°€ 기본으둜 λ‚΄μž₯λ˜μ–΄μžˆλ‹€. Ant λΌ μœ„ν•œ build.xml 화일을 μž‘μ„±ν•΄μ£Όκ³ , 였λ₯Έμͺ½ ant build window μ—μ„œ build.xml 을 μΆ”κ°€λ§Œ ν•΄μ£Όλ©΄ 됨. Intelli Jκ°€ Ant 의 dtd λΌ ν•΄μ„, XML 화일 μž‘μ„±μ€‘ μžλ™μ™„μ„± κΈ°λŠ₯을 κ΅¬ν˜„ν•΄μ€λ‹€. (ν™˜μƒ! 단, Intelli J κ°€ 느린 IDE 이λ€λ‘œ 램 256이상은 ν•„μˆ˜. ν•™κ΅μ—μ„œ ν•˜λ €λ‹ˆ λ„μ €νžˆ λͺ»ν•΄λ¨Ήκ² λŠ”지라, κ²°κ΅­ 메뉴얼과 editplus 보고 μž‘μ„±ν–ˆλ‹€λŠ”. -_-)

μ£Όμš” 단좕킀

F6 Rename. class 이건 Method 이건. Refactoring 의 IntelliJ 의 μ€‘μš” κΈ°λŠ₯쀑 ν•˜λ‚˜.
ctrl + I Interface κ΅¬ν˜„. actionPerformed λ“±μ˜ μƒμœ„ μΆ”μƒν΄λž˜μŠ€λ“€μ˜ interface 틀을 λ§Œλ“€μ–΄μ€λ‹€. 유용
ctrl + O Overriding
ctrl + E Recent File.
shift + F6 rename refactoring
ctrl + alt + M extract method refactoring
ctrl + alt + V introduce to local variable
ctrl + alt + F introduce to field
ctrl + J live template
ctrl + alt + T + 6 surrounded with try-catch
ctrl + B go to definition.
ctrl + Q Quick Doc API 보기
ctrl + N ν•΄λ‹Ή 클래슀둜 이동
alt 1 ~ 9 μ£Όμš” windows둜 이동
alt + <- , alt + -> ν•΄λ‹Ή 에디터창듀을 이동
ctrl + + (3.0) Source Folding. λ©”μ†Œλ“œ or Javadoc λ‹¨μœ„ 폴딩 μ—΄κΈ°
ctrl + - (3.0) Source Folding. λ©”μ†Œλ“œ or Javadoc λ‹¨μœ„ 폴딩 λ‹«κΈ°
shift + ctrl + + (3.0) Source Folding. 전체 폴딩 μ—΄κΈ°
shift + ctrl + - (3.0) Source Folding. 전체 폴딩 λ‹«κΈ°
ctrl + F12 Eclipse μ—μ„œμ˜ μΌμ’…μ˜ Outliner.

μ‚¬μš©μž μ •μ˜ 단좕킀

자주 μ“°λŠ” κΈ°λŠ₯λ“€μž„μ—λ„ λΆˆκ΅¬ν•˜κ³  단좕킀가 μ •μ˜λ˜μ§€ μ•Šμ€ κΈ°λŠ₯듀이 μžˆλ‹€. 특히 run class 와 run test 듀이 κ·ΈλŸ¬ν•œλ°, 이듀은 Key Map 을 직접 해주도둝 ν•˜μž. (개인적으둠 ctrl + F10, shift + ctrl + F10 으둜 μ •μ˜ν•΄λ†“κ³  씀)



Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:23:27
Processing time 0.0317 sec