Last active
July 29, 2022 17:48
-
-
Save rubenquadros/bf18277b412b94ec06f9c66f8104caf2 to your computer and use it in GitHub Desktop.
Reset notification and code analysis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Update notifications | |
EditorNotifications.getInstance(project).updateAllNotifications() | |
// Restart the analysis | |
PsiManager.getInstance(project).apply { | |
dropPsiCaches() | |
dropResolveCaches() | |
} | |
DaemonCodeAnalyzer.getInstance(project).restart() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment