- General ShortCut
ShortCut | 설명 |
---|---|
ctrl + alt + s | 설정창(settings) 열기 |
ctrl + alt + shift + s | Project Structure 창 열기 |
ctrl + e | 최근 사용한 파일 목록 조회 |
ctrl + shift + a | 액션을 검색하여 실행 (설정 변경 및 단축키 확인) |
double shift | 파일, 클래스, 설정 등 키워드 관련 검색 |
- Editor ShortCut
ShortCut | 설명 |
---|---|
ctrl + f4 | 탭 닫기 |
ctrl + space | 코드 완성 |
alt + insert | 코드 생성 (constructor, getter, setter, override method) |
ctrl + o | override 메서드 확인 |
ctrl + i | implements method 확인 |
ctrl + q | document 확인 |
ctrl + d | copy line |
ctrl + y | delete line |
alt + shift + ↑ ↓ | 라인 단위로 옮기기 |
ctrl + shift + ↑ ↓ | 구문 안에서 라인 옮기기 |
- Code View
ShortCut | 설명 |
---|---|
ctrl + p | 인자 값 보기 (Parameter Info) |
ctrl + shift + i | 코드 구현부 보기 (Quick Definition) |
ctrl + ←→ | 단어별 이동 |
ctrl + shift + ←→ | 단어별 선택 |
- Focus
ShortCut | 설명 |
---|---|
ctrl + w | 포커스 범위 한 단계씩 늘리기 |
ctrl + shift + w | 포커스 범위 한 단계씩 줄이기 |
ctrl + alt + ←→ | 포커스 앞 / 뒤로 이동 |
double ctrl + ↑ ↓ | 멀티 포커스 |
F2 | 오류 라인 포커스 |
Module | Version | Etc |
---|---|---|
SpringBoot | 2.1.9.RELEASE | |
JDK | 1.8 | |
Gradle | 4.8 |
$ git clone https://github.com/SeokRae/springboot.git
-
Settings
- Convert gradle -> spring-boot
- Settings git, github in Intellij
- Convert Dto: Getter, Setter, Constructor, toString -> lombok
- Settings Spring data jpa
- Automate create time and update time with JPA Auditing
- Settings mustache plugin (template engine)
- Settings OAuth2
- Settings Dev DB H2
- Settings Prod DB Plugin Database Navigator
- Settings Maria DB Driver
-
API
- posts CRUD API
-
View
- template posts CRUD view
- view function
-
Test
- Config Test
- Domain Test
- Service Test
- Controller Test
- Login Test
-
Server
- Dev & Prod properties 구분
- Create AWS EC2 instance (Amazon Linux AMI)
- Assign EIP(Elastic IP)
- Required setting for EC2
- Install JDK 8
- update Timezone
- update hostname
- Create AWS RDS instance (Maria DB)
- Required setting for RDS
- Settings Parameter for operating environment
-
Deploy
- Clone Project at EC2
- Build Test
- make deploy script
- deploy script process
- git clone or git pull new version project
- test and build project with gradle or maven
- start project in EC2
- deploy script process
- Access RDS in EC2
- make table
- project settings
- EC2 settings
- Automate Deploy Travis CI
- To link Travis CI with AWS S3
- To link Travis CI with AWS S3, CodeDeploy
- update deploy script
- Implement Nondisruptive Deployment of Service
- install Nginx
- To link Nginx with EC2
- Add profile API
- make profile (real1, real2)
- make deploy script for Nondisruptive Deployment