Skip to content

Commit d34cd69

Browse files
isidoreScottBob
andcommitted
- r cleaning up dead code from intellij
Co-Authored-By: Scott Wierschem <[email protected]>
1 parent 8a6f699 commit d34cd69

File tree

12 files changed

+61
-464
lines changed

12 files changed

+61
-464
lines changed

approvaltests-tests/src/test/java/org/approvaltests/reporters/IntelliJResolverTest.java

Lines changed: 0 additions & 50 deletions
This file was deleted.

approvaltests/docs/reference/IntelliJReporter.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,4 @@ This page exists when IntelliJ is not being found in your system.
1616

1717
## Current Support
1818

19-
Currently, here are some of the paths that are supported:
20-
21-
<!-- snippet: SupportedIntelliJPaths -->
22-
<a id='snippet-SupportedIntelliJPaths'></a>
23-
```java
24-
"/Users/fakeUser/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/223.8617.56/IntelliJ IDEA CE.app/Contents/MacOS/idea",
25-
"/Users/fakeUser/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/223.8617.56/IntelliJ IDEA 2022.2 EAP.app"
26-
```
27-
<sup><a href='/approvaltests/src/test/java/org/approvaltests/reporters/intellij/IntelliJPathResolverTest.java#L79-L82' title='Snippet source file'>snippet source</a> | <a href='#snippet-SupportedIntelliJPaths' title='Start of snippet'>anchor</a></sup>
28-
<!-- endSnippet -->
29-
30-
If IntelliJ is not opening for you,
19+
The IntelliJReporter currently will find IntelliJ installations if and only if it is currently running, this functionality requires Java 9 or higher.

approvaltests/src/main/java/org/approvaltests/reporters/DiffPrograms.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,9 @@
22

33
import com.spun.util.ArrayUtils;
44
import org.approvaltests.reporters.DiffInfo.One;
5-
import org.approvaltests.reporters.intellij.IntelliJPathResolver;
65

76
import java.util.List;
87

9-
import static org.approvaltests.reporters.intellij.Edition.Community;
10-
import static org.approvaltests.reporters.intellij.Edition.Silicon;
11-
import static org.approvaltests.reporters.intellij.Edition.Ultimate;
12-
138
public class DiffPrograms
149
{
1510
private static final List<String> TEXT = GenericDiffReporter.TEXT_FILE_EXTENSIONS;
@@ -59,16 +54,6 @@ public static class Windows
5954
public static DiffInfo VISUAL_STUDIO_CODE = new DiffInfo("{ProgramFiles}Microsoft VS Code\\Code.exe",
6055
"-d %s %s", TEXT);
6156
}
62-
public static class All
63-
{
64-
public static final DiffInfo INTELLIJ_MAC_SILICON = new DiffInfo(new IntelliJPathResolver(Silicon).findIt(),
65-
"diff %s %s", TEXT);
66-
public static DiffInfo INTELLIJ_C = new DiffInfo(new IntelliJPathResolver(Community).findIt(),
67-
"diff %s %s", TEXT);
68-
public static DiffInfo INTELLIJ_U = new DiffInfo(new IntelliJPathResolver(Ultimate).findIt(),
69-
"diff %s %s", TEXT);
70-
public static DiffInfo INTELLIJ = IntelliJToolboxResolver.findIt();
71-
}
7257
public static class Linux
7358
{
7459
public static DiffInfo DIFF_MERGE = new DiffInfo("/usr/bin/diffmerge", "--nosplash %s %s ", TEXT);

approvaltests/src/main/java/org/approvaltests/reporters/IntelliJToolboxResolver.java

Lines changed: 0 additions & 60 deletions
This file was deleted.

approvaltests/src/main/java/org/approvaltests/reporters/intellij/Edition.java

Lines changed: 0 additions & 14 deletions
This file was deleted.

approvaltests/src/main/java/org/approvaltests/reporters/intellij/IntelliJCommunityReporter.java

Lines changed: 0 additions & 13 deletions
This file was deleted.

approvaltests/src/main/java/org/approvaltests/reporters/intellij/IntelliJMacSiliconReporter.java

Lines changed: 0 additions & 13 deletions
This file was deleted.

approvaltests/src/main/java/org/approvaltests/reporters/intellij/IntelliJPathResolver.java

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)