-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9f2946
commit 4853719
Showing
12 changed files
with
267 additions
and
85 deletions.
There are no files selected for viewing
This file contains 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
5 changes: 2 additions & 3 deletions
5
src/main/java/com/funbiscuit/idea/plugin/formatter/FileProcessor.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
package com.funbiscuit.idea.plugin.formatter; | ||
|
||
import com.funbiscuit.idea.plugin.formatter.report.FileInfo; | ||
import com.intellij.psi.PsiFile; | ||
|
||
public interface FileProcessor { | ||
String processFile(PsiFile originalFile); | ||
|
||
String actionMessage(); | ||
void processFile(PsiFile originalFile, FileInfo fileInfo); | ||
} |
This file contains 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
This file contains 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
23 changes: 0 additions & 23 deletions
23
src/main/java/com/funbiscuit/idea/plugin/formatter/FormatStatistics.java
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
src/main/java/com/funbiscuit/idea/plugin/formatter/ProcessStatuses.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.funbiscuit.idea.plugin.formatter; | ||
|
||
/** | ||
* @author skokurin | ||
* @since 08.07.2023 | ||
*/ | ||
public final class ProcessStatuses { | ||
public static final String SKIPPED_BINARY_FILE = "Skipped, binary file"; | ||
public static final String FAILED_TO_OPEN = "Failed to open"; | ||
public static final String FAILED_TO_PROCESS = "Failed to process"; | ||
public static final String SKIPPED_READ_ONLY = "Skipped, read only"; | ||
public static final String FORMATTED = "Formatted"; | ||
public static final String FORMATTED_WELL = "Formatted well"; | ||
public static final String NEEDS_FORMATTING = "Needs formatting"; | ||
|
||
private ProcessStatuses() { | ||
} | ||
} |
Oops, something went wrong.