728x90

 

 영어

한글 

단축키 

 실행

 Run

 실행

 shift + F10

 Debug

 디버그 

 shift + F9

 편집

 Delete line at caret

 한줄 삭제

 ctrl + y 

 

 한줄 이동

 alt + shift + 방향키
 Duplicate current line or selected block

 한줄 복사 

 ctrl + d
  작성 취소

 ctrl + z

 

 작성 취소 재실행

 ctrl + shift + z

 Generate code..

 생성자&getter&setter

 alt + insert
 Toggle case for word at caret or selected block

 대소문자 변환

 ctrl + shift + u

 찾기

 Find 페이지 내에서 찾기 ctrl + f
 Find in path

 전체에서 찾기

 ctrl + shift + f
 Find next

 페이지 내 같은 문자 찾기

 F3
 To quickly open any file.

 파일이름으로 열기

 ctrl + shift + n
 View recent files

 최근 열었던 페이지

 ctrl + e

 Edit source

 매서드 소스 보기

 F4

 Call hierarchy 사용되는 곳 찾기

 ctrl + alt + h

 주석

  여러줄 주석

 ctrl + shift +c

 

 한줄 주석

 ctrl + c

  java doc alt + enter
 기타 

 public static void main

 psvm 
  System.out.println sout
 

 전체 임포트

setting > editor > general > auto import - add~~, option ~~ 체크



플러그인 추천 :  백기선님 설명보기>> 

셋팅 > 플러그인스 에서 설치 

key Promoter X  : 단축키 알려주는 프로그램 

- 몇 번 클릭해야 보여줄거냐. 
- 단축키 없는 경우 숏컷 만들라고 제안 할 것인지. 

Presentation Assistant : 영상 촬영시 유용 사용단축키 보여줌. 


톰캣 환경 설정

Add Configuration > Templates > Tomcat Server - Local [configure] 버튼  위치 등록 


단축키 사이트

>>https://resources.jetbrains.com/storage/products/intellij-idea/docs/IntelliJIDEA_ReferenceCard.pdf

https://www.catalysts.cc/wissenswertes/intellij-idea-and-eclipse-shortcuts/

https://confluence.jetbrains.com/pages/viewpage.action?pageId=51939004


전체 임포트 :: https://www.mkyong.com/intellij/eclipse-ctrl-shift-o-in-intellij-idea/   : setting > editor > general > auto import > add unambiguous imports~~ 체크, Optimizs import on the ~~ 체크

https://confluence.jetbrains.com/pages/viewpage.action?pageId=51939004

728x90

1. 공백이 보이게 설정

Window > Preferences > General > Editors > Text Editors > show whitespace characters에 체크 저장

다른 블로그 설명보기 [오니님의짱꺤뽀] 


2. 단축키 변경 : Next Editor Ctrl + Tab

Window > Preferences > General > Keys > [type filter text]에 Next Editor 검색  Binding 부분에 Ctrl +Tab 입력 저장

다른 블로그 설명보기 


3. 저장 할 떄마다 실행

Window > Preferences > Java > Editor > Save Actions  Perform the selected action on save 선택, Additional actions 선택 configure 클릭하고 필요한것 추가

code Style : Variable declarations

Missing Code : Annotations

Unnecessary Code :  Remove redundant typo argument  1.7 이후..

다른 블로그 설명보기[FreeLife의 저장소]


4. 언어 설정  UTF-8

Window > Preferences > General > Workspace > Textfile encoding 에 Other 선택후 UTF-8

Window > Preferences > Web> CSS Files > Encoding UTF-8  선택

Window > Preferences > Web> HTML Files > Encoding UTF-8  선택

Window > Preferences > Web> JSP Files > Encoding UTF-8  선택

Window > Preferences > XML> XML Files > Encoding UTF-8  선택


5. 주석 설정 

Window > Preferences > Java > Code Templates > Configure generated code and comments : 의 Types,  Methods,  등 수정

type

/**

 * ${file_name}

 * - 설명을 써주세요

 * 

 * @version 1.0 / ${date}

 * @author ${user}

 *

 */

methods

/**

 * ${enclosing_method}

 * -설명을 써주세요

 *

 * ${tags}

 * @author ${user}

 */







'For Real > Java & Spring' 카테고리의 다른 글

javax.net.ssl.SSLHandshakeException  (0) 2018.07.03
java.security.InvalidKeyException: Illegal key size  (0) 2018.07.02
Head First Java  (0) 2018.06.26
이클립스 공백 문자 보이기 설정  (0) 2018.06.18
[SQL]  (0) 2018.06.14
728x90

1. 검색했을 때 에러이유

권한 or 주소 잘못 작성



2. 현재 java 1.7 환경 이클립스에서 git pull 에러 발생 

git-upload-pack  


해결 원인 : git 에서 지원하는 java 버전 1.8 , 내가 쓰는건 1.7

해결:  이클립스 ini 파일 설정에 -vm (자바 경로 수정)


참고 : 

https://community.atlassian.com/t5/Bitbucket-questions/JGit-quot-cannot-open-git-upload-pack-quot-error-message-on/qaq-p/604160



충돌시. 

-git stash

git pull origin master

git stash apply

https://backlog.com/git-tutorial/kr/stepup/stepup6_2.html



eclipse : cannot open git-upload-pack

window > preference > team > git > configuration

add entry의 key, value에 다음과 같이 넣자.

 - key : http.sslVerify

 - value : false



출처: http://webie.tistory.com/94 [webie's blog]


cannot open git-receive-pack

Context Menu에서 "Configure Push" 를 선택한다.


"Configure push for remote 'origin' 에서 "Change..." 버튼을 선택한다.


출처: http://roadrunner.tistory.com/605 [삶의 조각들]

+ Recent posts