Skip to content

Commit

Permalink
RES: Fix cache invalidation after toggle "Expand macros" settings
Browse files Browse the repository at this point in the history
  • Loading branch information
dima74 committed Aug 2, 2022
1 parent b68ecfe commit 6905d88
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -566,6 +566,10 @@ private class MacroExpansionServiceImplInner(
if (!isExpansionModeNew) {
cleanMacrosDirectoryAndStorage()
}
project.runWriteCommandAction {
project.defMapService.scheduleRebuildAllDefMaps()
project.rustPsiManager.incRustStructureModificationCount()
}
processUnprocessedMacros()
}

Expand Down

0 comments on commit 6905d88

Please sign in to comment.