intellij 에서 특정 테마(theme)중 특정 영역(문법)의 색상(color) 변경하기
‘ctrl + shift + a’ > ‘color theme’ 입력 > 변경을 원하는 언어(e.g. python)를 선택하여 변경
‘ctrl + shift + a’ > ‘color theme’ 입력 > 변경을 원하는 언어(e.g. python)를 선택하여 변경
프로젝트 A, B, C가 있다고 하고, C는 라이브러리 프로젝트라서 A, B 각각의 프로젝트에서 참조한다고 가정했을 때, A, B 프로젝트 입장에서 어떻게 C를 끼워넣는 설정을 하느냐 하는 문제임. (maven 의존성과는 별개로, 개발환경 설정임.) build path 잡기 (컴파일 오류 잡기) Project Structure > Modules > 프로젝트 선택 > Dependencies 탭 > ‘+’ 버튼(add) > 3. Mudule Dependency… Read More »
이거 엄청 짜증났었는데, 다음의 속성을 체크해제 함으로써 해결했음. intellij > settings > Build, Execution, Deployment > Compiler > Automatically show first error in editor
IntelliJ > Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JVM 도 java 버전을 맞춰 준다. 참고 Intellij – error: invalid source release: 17 오류
Ctrl + P 로 기능 검색 (검색어 "setting ui") Open Settings (UI) 로 진입 텍스트편집기 > 파일 > Exclude > 검색대상에서 제외할 패턴 추가
next.js 에서 web worker를 써 보겠다고 이런 저런 셋팅을 바꿔 보다가 이 오류를 만났다. 발생한 순간은 vscode 에서 run/debug로 launch.json 을 실행한 순간이었다. 그래서 부랴부랴 모든 셋팅을 다 원복했음에도 불구하고 이 오류가 사라지지 않았다. 이런 저런 씨름을 하다가, 최종적으로 launch.json 파일을 건드려 줘서 (수정후 save, 원복후 save 해서 결국 내용은 그대로) 복구가 되었다. 대체 뭐가… Read More »
요건 A가 api 프로젝트고 B가 lib 프로젝트라고 했을 때, A가 컴파일시 B를 참조하는데, B의 수정사항을 즉시(B의 maven install을 거치지 않고 컴파일 만으로) A가 사용할 수 있게 하고 싶다. 프로젝트 구성 A의 pom.xml 에는 maven install 된 B.jar가 하나의 dependency 로 들어가 있다. 문제상황 B에 신규 메서드를 추가하고 컴파일 한 후, A에서 B의 신규 메서드를 사용하려고… Read More »
DBeaver 에서 편집하는 sql 파일들이 윈도우 기본 캐릭터셋이라 타 편집기에서 깨져 보이는 경우가 있어서 utf-8로 바꾸고 싶었다. 윈도우 > 설정 > 일반 > 작업공간 > ‘텍스트 파일 인코딩’ 에서 변경
방법 1. IntelliJ의 연결 설정 재조정 Go to: File -> Settings -> Appearance & Behavior -> System settings -> HTTP Proxy Select Auto-detect proxy setting Click Clear password Click check connection and provide the URL: https://account.jetbrains.com/login Go to Help -> Register and login 방법 2. jetbrain 웹사이트에서 그냥 offline key를 획득하여 인증
https://hjjungdev.tistory.com/102
File > Settings > Tools > Server Certificates 에서 Accept non-trusted certificates automatically 체크박스 체크
ssh-keygen -R [git서버주소] 출처 https://kingsong.tistory.com/127
project A, project B 가 있고, commmon module용 project C가 있다고 할 때, A에서 C를 import module 하고(as maven project) 빌드까지 성공한 후, B에서 C를 import module 하면, 아까 A에서 C가 빠져버리는 현상이 있었다. 다시 A에서 C를 import module 하면, 또 B에 잘 셋팅되어 있던 C가 빠져버리는 무한 반복에 빠지게 되었는데… 삽질하다가 시도해 본 것이,… Read More »
tracked 파일일 경우에는 .gitignore가 작동하지 않는다. 그럼 git rm –cached [filePath] 로 untracked 처리한다면? => 적용은 되겠지만, 다른 사람들에게도 untracked 처리되므로 주의해야 한다. tracked 파일을 로컬에서만 changes 에 보이지 않게 하고 싶으면 update-index를 사용하자. git update-index –assume-unchanged [filePath] git commit의 대상이 아니며, 로컬 only 작업이므로 외부 영향을 미치지 않는다. git update-index –no-assume-unchanged [filePath] 로 원복할… Read More »
git stash git stash list git stash pop https://goddaehee.tistory.com/253
git reset –soft HEAD~1 https://gmlwjd9405.github.io/2018/05/25/git-add-cancle.html
git clean -d -f -f https://devonaws.com/git/git-pull-%EB%AA%85%EB%A0%B9-%EC%8B%9C%EC%97%90-untracked-working-tree-files-overwritten-%EB%82%98%EC%98%AC-%EB%95%8C/
git rm –cached [File Name] git commit -m "Fixed untracked files" git push origin master https://gmlwjd9405.github.io/2018/05/17/git-delete-incorrect-files.html
SSL certificate problem: self signed certificate 에러 https://www.lesstif.com/gitbook/git-https-repository-ssl-14090808.html
간만에 디버그 좀 할라 했더니 Intellij 가 안도와주네 하. 대충 인터넷을 둘러보니 ‘소스랑 빌드랑 싱크가 안맞나보네요. 겁나 클린해 주세요~’ 등등의 답변이 많은 것 같았다. 나는 늘 하던 maven clean package 를 했더니 어찌어찌 해결되었다. 굳이 package 가 아니더라도 clean 만 들어가면 되지 않을까 싶네~