본문 바로가기

Tools

(15)
[IntelliJ] IntelliJ 단축키 (Windows 환경) 1. Generator (Getter, Setter, ...) - Alt + Insert 2. Implement methods / Static Import - Alt + Enter 3. Rename - Shift + F6 4. 변수 지정 - Ctrl + Alt + V 5. 리팩토링 관련 메뉴 - Ctrl + Alt + Shift + T 6. Create Test - Ctrl + Shift + T 7. System.out.println() - sout 입력 후 Ctrl + Space 8. Java main 함수 - psvm 입력 후 Tab
[Eclipse, GitHub] 하나의 Repository에 여러 개의 Project Commit 1. GitHub Repository 생성 1. New 클릭 2. Repository name 입력 후 Create Repository 클릭 3. Code 클릭 후 링크 복사 2. Eclipse와 Git Repository Clone 1. Eclipse 상단의 Window > Perspective > Open Perspective > Other ... 클릭 2. Git 선택 후 Open 3. Clone a Git repository 클릭 4. Clone URI 선택 후 Next 클릭 5. URI에 아까 생성한 Repository 링크 붙여넣기 User엔 깃허브 ID를 Password엔 깃허브 토큰을 입력! 후 Next 클릭 6. Next 클릭 7. Local Directory 선택 후 Finish 클릭 ..
[Eclipse] 단축키 (Windows 환경) 1. 프로젝트 생성 Ctrl + N 2. Run Ctrl + F11 3. 자동 완성 Ctrl + Space ex) sysout + Ctrl + Space → System.out.println(); 4. 저장 Ctrl + S
Eclipse 한글 인코딩 (한글이 깨질 때) 1. 상단의 Window > Preferences 클릭 2. General > Workspace에서 Text file encoding을 UTF-8로 변경 > Apply and Close 클릭
Eclipse에서 JDK를 기본으로 설정하기 1. 상단 Window > Preferences 클릭 2. Java > Installed JREs > Add 클릭 3. Standard VM > Next 클릭 4. Directory 클릭 후 JDK 파일 위치 선택 > Finish 5. JDK 체크하여 선택 > Apply and Close 클릭
Windows 환경에서 Eclipse 설치하기 1. 구글에 eclipse download 검색 후 접속 https://www.eclipse.org/downloads/ Eclipse Downloads | The Eclipse Foundation The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 415 open source projects, including runtimes, tools and frameworks. www.eclipse.org 2. Download Packages 클릭하면 다양한 버전의 Eclipse 확인 가능 여기서 Java Developers 버전과 EE 버전이 있는 것을 확인할 수 있는데, Java Developers 버전..
IntelliJ에서 Spring Boot와 React 연결하기 1. Terminal에서 아래 코드 입력 cd src/main npx create-react-app (프로젝트명) Happy hacking!이란 키워드가 뜨면 프로젝트 설정이 완료된 것 2. cd (프로젝트명) npm start 입력 시 자동으로 리액트 브라우저 실행 3. 방금 생성한 프로젝트 아래 package.json에서 "scripts"~ 위에 아래 코 입력 "proxy": "http://localhost:8080", 4. build.gradle에 아래 코드 입력 def frontendDir = "$projectDir/src/main/(프로젝트명)" sourceSets { main { resources { srcDirs = ["$projectDir/src/main/resources"] } } } p..
[IntelliJ] Junit @Test 단축키 Windows Alt + Insert Mac OS Command + N