Eclipse의 정리와 같은 Intellij 아이디어로 프로젝트 캐시를 정리하는 방법은 무엇입니까?
때때로 캐시 때문에 IDE에서 오류가 발생합니다. Eclipse에서 clean을 사용하여 문제를 해결할 수 있습니다. 그러나 IntelliJ에서 어떻게 할 수 있습니까?
실행중인 버전에 따라 기본적으로
파일 -> 캐시 무효화 로 이동 한 다음 Intellij
또는
파일 -> 캐시 무효화 / 다시 시작으로 이동하십시오.
주요 차이점은 이전 버전에서는 다시 시작할 때까지 캐시 파일이 제거되지 않으므로 수동으로 다시 시작해야한다는 것입니다. 최신 버전에서는 다시 시작할 것인지 묻습니다.
이 공식 Jetbrains 도움말 페이지에서 볼 수 있듯이
system
설치된 버전 의 폴더 에서 캐시를 수동으로 삭제할 수도 있습니다 . 이 폴더의 위치는 설치된 OS 및 버전에 따라 다릅니다.
윈도우 비스타, 7, 8, 10
<SYSTEM DRIVE>\Users\<USER ACCOUNT NAME>\.<PRODUCT><VERSION>
리눅스 / 유닉스
~/.<PRODUCT><VERSION>
맥 OS
~/Library/Caches/<PRODUCT><VERSION>
캐시 위치에 대한 자세한 내용 은 이 내용 을 읽으십시오 .
어쩌면 대답은하지만, 확실히의 의 대답.
다른 방법이 없다면 핵 옵션으로 이동하십시오 : IDEA를 닫고 로컬 파일 시스템 도구를 사용하여 "... /. IntelliJIdea / system"디렉토리를 삭제하십시오.
.IntelliJIdea 디렉토리는 일반적으로 홈 디렉토리에 있습니다. IDE 구성은 "... /. IntelliJIdea / config"디렉토리에 있으므로 괜찮습니다.
Obviously, this is not the "IDEA" way to do it and would be completely unsupported by JetBrains. Also - I don't use Android Studio so I dunno if this will cause problems, but there you go.
It's worked for me before when I've had problems getting IDEA to start and nothing else works to get me going. Maybe back up your entire .IntelliJIdea directory if you have a morbid fear of losing all your work >.<
Try this:
Go into Settings (File > Settings or ctrl+alt+S). Under Project Settings, select the "Compiler" node. On the left, uncheck "Clear output directory on rebuild".
Note that this is a per project setting. If desired, change it in the project template settigs (Settings > Other Settings > Template Settings).
In addition to the .Intellij*
files, and invalidating the cache, if you really want to clear everything out, then also delete the .idea
folder and *.iml
per-project files that IntelliJ also generates...
Delete the "target" folder under the offending module. Then Build | Rebuild Project. Also make sure your clear the web browsers cache.
Another solution was VCS -> Cleanup Project capture
1) File -> Invalide Caches (in IDE IDEA)
2) Manually, got to C:\Users\\AppData\Local\JetBrains\IntelliJ IDEA \system\caches and delete
'Programing' 카테고리의 다른 글
컨테이너 자체에서 Docker Linux 컨테이너 정보를 어떻게 얻을 수 있습니까? (0) | 2020.08.03 |
---|---|
힘내 rebase 병합 충돌을 계속할 수 없습니다 (0) | 2020.08.03 |
ASP.NET MVC HandleError (0) | 2020.08.03 |
WPF에서 그리드에 테두리를 어떻게 배치합니까? (0) | 2020.08.03 |
Xcode 4의 숨겨진 기능 (0) | 2020.08.03 |