We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed87de2 commit cb1c8dcCopy full SHA for cb1c8dc
1 file changed
plugin/src/main/java/io/snyk/eclipse/plugin/views/snyktoolview/handlers/ClearCacheHandler.java
@@ -7,6 +7,7 @@
7
import org.eclipse.ui.PlatformUI;
8
9
import io.snyk.eclipse.plugin.utils.SnykMessageDialog;
10
+import io.snyk.languageserver.ScanState;
11
import io.snyk.languageserver.SnykIssueCache;
12
13
public class ClearCacheHandler extends AbstractHandler {
@@ -24,6 +25,9 @@ public Object execute(ExecutionEvent event) throws ExecutionException {
24
25
SnykMessageDialog.showOkDialog(shell, commandId);
26
27
SnykIssueCache.getInstance().clearAll();
28
+ ScanState.getInstance().clearAllScanStates();
29
+
30
+ //TODO update TreeView and reset UI
31
32
return null;
33
}
0 commit comments