스프링 부트 개발자를 위한 유용한 VSCode 설정
-
Inlay Hint > Parameter names
- java.inlayHints.parameterNames.enabled: literals
- java.inlayHints.parameterTypes.enabled
- java.inlayHints.variableTypes.enabled
- editor.inlayHints.enabled: offUnlessPressed
-
Code lens
- editor.codeLens: true
- editor.codeLensFontSize
- java.referencesCodeLens.enabled
- java.implementationCodeLens: all
-
ligature 폰트 설정
- editor.fontFamily: 'D2Coding ligature’
- "editor.fontLigatures": true,
-
편집기 확대 축소 단축키 설정
- zoom 으로 검색
-
Google Style Formatter 설정
- java.format.settings.url
- https://raw.githubusercontent.com/google/styleguide/gh-pages/eclipse-java-google-style.xml
-
JDK 설정
- java.configuration.detectJdksAtStart
-
Language Server JAVA_HOME 설정
- java.jdt.ls.java.home
-
Gradle JAVA_HOME 설정
- java.import.gradle.java.home
-
Installed JDK 설정
- java.configuration.runtimes
-
Static 클래스, 메서드 import
- java.completion.favoriteStaticMembers
"org.springframework.test.web.client.match.MockRestRequestMatchers.", "org.springframework.test.web.client.response.MockRestResponseCreators.", "org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.", "org.springframework.test.web.servlet.result.MockMvcResultMatchers.", "org.springframework.test.web.servlet.result.MockMvcResultHandlers.", "org.springframework.test.web.servlet.request.MockMvcRequestBuilders.", "org.assertj.core.api.Assertions.", "org.junit.Assert.", "org.junit.Assume.", "org.junit.jupiter.api.Assertions.", "org.junit.jupiter.api.Assumptions.", "org.junit.jupiter.api.DynamicContainer.", "org.junit.jupiter.api.DynamicTest.", "org.mockito.Mockito.", "org.mockito.ArgumentMatchers.", "org.mockito.Answers.", "org.hamcrest.Matchers.*",
-
Implementation Code lens
- java.implementationCodeLens: methods
댓글
댓글 쓰기