Skip to content

Commit 19878e6

Browse files
committed
fix(diff): remove unused imports in DiffLangSketch
Clean up the code by removing unused imports related to diff handling and UI components in DiffLangSketch.kt.
1 parent 69fd27b commit 19878e6

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

core/src/main/kotlin/cc/unitmesh/devti/sketch/ui/patch/DiffLangSketch.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ package cc.unitmesh.devti.sketch.ui.patch
22

33
import cc.unitmesh.devti.AutoDevBundle
44
import cc.unitmesh.devti.AutoDevNotifications
5-
import cc.unitmesh.devti.diff.DiffStreamHandler
6-
import cc.unitmesh.devti.diff.DiffStreamService
7-
import cc.unitmesh.devti.diff.model.streamDiff
85
import cc.unitmesh.devti.sketch.ui.ExtensionLangSketch
96
import cc.unitmesh.devti.util.findFile
107
import com.intellij.icons.AllIcons
@@ -15,8 +12,6 @@ import com.intellij.openapi.command.UndoConfirmationPolicy
1512
import com.intellij.openapi.command.undo.UndoManager
1613
import com.intellij.openapi.diff.impl.patch.PatchReader
1714
import com.intellij.openapi.diff.impl.patch.TextFilePatch
18-
import com.intellij.openapi.diff.impl.patch.apply.GenericPatchApplier
19-
import com.intellij.openapi.fileEditor.FileDocumentManager
2015
import com.intellij.openapi.fileEditor.FileEditorManager
2116
import com.intellij.openapi.fileEditor.FileEditorProvider
2217
import com.intellij.openapi.project.Project
@@ -27,12 +22,9 @@ import com.intellij.openapi.vcs.changes.patch.MatchPatchPaths
2722
import com.intellij.openapi.vfs.VirtualFile
2823
import com.intellij.psi.PsiDocumentManager
2924
import com.intellij.testFramework.LightVirtualFile
30-
import com.intellij.ui.JBColor
3125
import com.intellij.ui.components.panels.VerticalLayout
3226
import com.intellij.util.containers.MultiMap
3327
import com.intellij.util.ui.JBUI
34-
import git4idea.changes.filePath
35-
import kotlinx.coroutines.flow.flowOf
3628
import java.awt.BorderLayout
3729
import javax.swing.BoxLayout
3830
import javax.swing.JButton

0 commit comments

Comments
 (0)