[Spring Boot] 8. Cursor (JAVA & Spring Boot) 기본 환경 세팅하기

귤's avatar
Mar 19, 2025
[Spring Boot] 8. Cursor (JAVA & Spring Boot) 기본 환경 세팅하기

스프링 부트 상점 v1 시작하기 전 세팅하기

JAVA

notion image
notion image
notion image
notion image

Spring Boot

notion image
💡
플러그인 설치하면 꼭 재접속 하기!!
notion image
notion image
notion image
notion image
notion image
💡
절대 대문자 쓰지말기!!
notion image
notion image
notion image
notion image
notion image
notion image
💡
  • Open 클릭 해주고 로딩 될 때까지 그냥 기다리기!
  • 로딩 다 되면 Lombok 플러그인 설치하기 !!!!
notion image
Lombok을 설치하는 이유 : 가독성이 더 좋아진다!!
notion image
💡
Mustache 플러그인 설치하기

Terminal로 결과가 뜨는 것 Debug Console로 뜨게 끔 변경하기

notion image
notion image

Debug Console 코드 색상 변경하기

package com.metacoding.storev1; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class Storev1Application { public static void main(String[] args) { SpringApplication.run(Storev1Application.class, args); } }
Storev1Application.java
spring.output.ansi.enabled=always
application.properties
notion image

SQL Formatter 설정하기

  • 쿼리가 더 잘 보이게 해줌!!
#sql formatter spring.jpa.properties.hibernate.format_sql=true
notion image
notion image

DevTools 자동 리로드 미작동 해결하는 법

1. Language Surpport for Java by Red Hat Uninstall 하기

notion image
notion image
삭제하고 재실행 하기

2. Clean Java Language Server Workspace

notion image
notion image
만약 안 뜬다면 넘어가도 됨!!

3. Java Redhat 재설치

notion image
🚨
절대 리스타트 버튼 클릭하면 안되고 그냥 X 해서 끄기!!!
notion image

4. 서버 코드 변경하면 자동 리로드 됨

notion image
 
Share article

gyul