Skip to content

Commit 313b728

Browse files
authored
Merge pull request #7 from DeepCodeAI/dev
Dev
2 parents 58f193b + ba5e669 commit 313b728

18 files changed

+398
-242
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [1.1.0] - 2019-06-01
2+
- Speedup of large projects analysis and suggestions highlighting
3+
- Various internal fixes and refactoring
4+
15
## [1.0.3] - 2019-05-28
26
- Fix multiple rescan requests and add ignoring events while rescan running
37
- Fix cache invalidation in Bulk mode for files update

build.gradle

+11-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77

88
//group 'org.example'
99

10-
version '1.0.3'
10+
version '1.1.0'
1111
sourceCompatibility = 1.8
1212

1313
repositories {
@@ -32,9 +32,11 @@ intellij {
3232
}
3333
patchPluginXml {
3434
sinceBuild 192
35-
untilBuild 202
35+
untilBuild 203
3636

3737
changeNotes """
38+
1.1.0 - Speedup of large projects analysis and suggestions highlighting; various internal fixes and refactoring<br>
39+
1.0.4 - Bugfixing internals<br>
3840
1.0.3 - Bugfixing and optimization of bulk file changes<br>
3941
1.0.2 - Bugfixing and better support for refactoring<br>
4042
1.0.1 - Updated Java-client and added support for Java 8, required for Android Studio<br>
@@ -52,6 +54,11 @@ task runIC_201(type: RunIdeTask){
5254
ideDirectory 'C:\\Users\\artem\\AppData\\Local\\JetBrains\\Toolbox\\apps\\IDEA-C\\ch-0\\201.7223.91'
5355
}
5456

57+
task runIC_202(type: RunIdeTask){
58+
jvmArgs '-Xmx2G'
59+
ideDirectory 'C:\\Users\\artem\\AppData\\Local\\JetBrains\\Toolbox\\apps\\IDEA-C\\ch-1\\202.4357.23'
60+
}
61+
5562
task runIC_193(type: RunIdeTask){
5663
ideDirectory 'C:\\Users\\artem\\AppData\\Local\\JetBrains\\Toolbox\\apps\\IDEA-C\\ch-0\\193.6911.18'
5764
}
@@ -85,9 +92,9 @@ task run_WS_192(type: RunIdeTask){
8592
ideDirectory 'C:\\Users\\artem\\AppData\\Local\\JetBrains\\Toolbox\\apps\\WebStorm\\ch-1\\192.7142.35'
8693
}
8794

88-
task run_PC_193(type: RunIdeTask){
95+
task run_PC_201(type: RunIdeTask){
8996
jvmArgs '-Xmx2G'
90-
ideDirectory 'C:\\Users\\artem\\AppData\\Local\\JetBrains\\Toolbox\\apps\\PyCharm-C\\ch-0\\193.5233.109'
97+
ideDirectory 'C:\\Users\\artem\\AppData\\Local\\JetBrains\\Toolbox\\apps\\PyCharm-C\\ch-0\\201.7223.92'
9198
}
9299

93100
task run_AS_40(type: RunIdeTask){

src/main/java/ai/deepcode/jbplugin/DeepCodeStartupActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void runActivity(@NotNull Project project) {
2626
// Keep commented - for DEBUG ONLY !!!!!!!!!!!!!!!!!
2727
//PropertiesComponent.getInstance(project).setValue("consentGiven", false);
2828

29-
AnalysisData.clearCache(project);
29+
AnalysisData.resetCachesAndTasks(project);
3030
// Initial logging if needed.
3131
if (LoginUtils.isLogged(project, true)) {
3232
RunUtils.asyncAnalyseProjectAndUpdatePanel(project);

src/main/java/ai/deepcode/jbplugin/actions/AnalyseProjectAction.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public void actionPerformed(@NotNull AnActionEvent e) {
1414
final Project project = e.getRequiredData(PlatformDataKeys.PROJECT);
1515
DCLogger.info("Re-Analyse Project requested for: " + project);
1616
// fixme: ?? background task here to avoid potential freeze due to MUTEX lock
17-
AnalysisData.clearCache(project);
17+
AnalysisData.resetCachesAndTasks(project);
1818
if (LoginUtils.isLogged(project, true)) {
1919
RunUtils.asyncAnalyseProjectAndUpdatePanel(project);
2020
}

src/main/java/ai/deepcode/jbplugin/actions/InvalidateCachesAction.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class InvalidateCachesAction extends AnAction {
1414
@Override
1515
public void actionPerformed(@NotNull AnActionEvent e) {
1616
final Project project = e.getRequiredData(PlatformDataKeys.PROJECT);
17-
AnalysisData.clearCache(project);
17+
AnalysisData.resetCachesAndTasks(project);
1818
ServiceManager.getService(project, myTodoView.class).refresh();
1919
/*
2020
ActionManager.getInstance()

0 commit comments

Comments
 (0)