본문 바로가기
728x90
반응형

ide/intellij16

[Intellij] VisualVM 연동 및 사용법 1. VisualVM 설치 https://visualvm.github.io/download.html VisualVM: Download Download VisualVM is distributed as a standalone tool at GitHub, and as an optional component of the GraalVM. Both are the same bits with the same features. Standalone tool runs on any compatible JDK, component is configured to run using the host GraalVM. visualvm.github.io 2. Intellij + VisualVM 연동 Settings > Plugin에서 Vi.. 2023. 7. 13.
[intellij] 멀티 커서 단축키 일회성 : Alt + Shift + 왼쪽 커서 지속 : Alt + Shift + Insert 2022. 11. 4.
[IntelliJ] 스트림 디버깅 (Stream trace) 스트림으로 개발하다 보면 연산과정에서의 데이터 변화를 한눈에 보고 싶을 때가 있습니다. 인텔리제이 2017.03 버전부터 기본으로 설치되어있는 Java Stream Debugger 플러그인 사용법을 알아보겠습니다. 1. Stream 위치에 breakpoint를 설정해주고 debug run해줍니다. 2. Trace Current Stream Chain 아이콘을 클릭합니다. 3. 스트림 연산이 수행되고 데이터 변화와 결과를 한눈에 확인할 수 있습니다. [Reference] https://plugins.jetbrains.com/plugin/9696-java-stream-debugger https://www.jetbrains.com/help/idea/analyze-java-stream-operations.html 2022. 4. 28.
[IntelliJ] Formatting Actions Disabled @formatter off/on 인텔리제이에서 Save Actions 플러그인을 설치하면 File > Settings > Other Settings > Save Actions에서 Formatting Action을 설정할 수 있습니다. 저는 [CTRL + SHIFT + S] 단축키 사용 시에만 포맷팅이 일어나게 적용하였습니다. File > Settings > Editor > Code Style > Formatter Control을 Enable 하면 Formatter off/on marker로 포맷팅을 적용하고 싶지 않은 영역을 지정할 수 있습니다. Before formatting public void fomatter() throws Exception{ String[] arr1 = { "a", "b", "c" }; // @formatter.. 2021. 11. 18.
[IntelliJ] Framework Support git clone 받은 후 maven project 인식이 안된다면 Project SDK 설정 후 프로젝트 명 우클릭 > Add Framework Support... > Maven을 선택합니다. 2021. 11. 15.
IntelliJ와 JIRA 연동 (with. 플러그인 Jira Integration) IntelliJ로 이슈 트래커인 JIRA와 연동해서 업무를 진행하는 방법입니다. File > Settings... > Tools > Tasks > Servers 경로로 이동합니다. [+] 버튼을 클릭하여 [JIRA]를 선택합니다. 설정 창에서 본인이 사용하는 JIRA URL과 계정 정보를 입력한 뒤 [Test] 버튼을 클릭합니다. [Connection is successful] 문구가 보이면 연동 완료이므로 [OK] 버튼을 클릭하여 설정을 마칩니다. 이제 기능을 확인해보겠습니다. 연동할 JIRA task를 생성합니다. 윈도우 기준으로 [Alt + Shift + N] 단축키를 누르면 본인에게 할당된 task 목록을 볼 수 있습니다. 원하는 task를 선택하면 아래와 같이 Open Task 창이 뜨고, Up.. 2021. 11. 11.
[IntelliJ] 인텔리제이 메모리 늘리기 인텔리제이도 설정을 통해 메모리를 늘리고 줄일 수 있습니다. 1. Help > Edit Custom VM Options... 2. Xms, Xmx 값을 변경한 후 인텔리제이를 재시작 3. 우측 하단의 memory indicator로 메모리 설정이 잘 변경되었는지 확인 3-1) memory indicator가 보이지 않는 경우 : File > Settings... > Appearance & Behavior > Appearance > Show memory indicator 체크 2021. 11. 10.
[IntelliJ] Git 원하는 commit만 가져오기 (cherry-pick) 작업할 브런치에서 Git > Show History 중 원하는 항목을 선택한 뒤 우클릭 > Cherry-Pick 하면 해당 작업만 가져올 수 있습니다. 혹은 Revision을 확인 한 뒤 git cherry-pick {oldest-commit}^..{latest-commit} 명령어로 가져올 수 있습니다. 2021. 11. 4.
[IntelliJ] selected class file name mapped to not java file type 프로젝트에 자바 파일을 추가하려고 하는데, 실수로 텍스트 파일 타입으로 추가해서 삭제하고 다시 자바 파일로 생성하려고 했지만 selected class file name mapped to not java file type 란 오류만 발생하고 자바 파일로 생성되지 않았습니다. 이를 해결 하기위해 File > Settings... > Editor > File Types에 접근하였습니다. [Recognized File Types]의 [Text]에 해당 파일명이 추가되어있어서 제거했더니 자바 파일로 잘 생성되었습니다. [Reference] stackoverflow.com/questions/56059826/how-to-solve-java-file-mapped-to-not-java-file-type-text 2021. 3. 2.
[IntelliJ] 미사용 메소드, 변수 검색 방법 인텔리제이에서 미사용 메소드, 변수 검색 방법 메뉴 Analze > Run Inspection by Name... 선택 혹은 Ctrl+Alt+Shift+I 단축키를 누른뒤, unused 검색합니다. Unused import Unused declaration 2020. 10. 8.
728x90
반응형