Skip to content

Commit 1e6956b

Browse files
committed
refactor(sketch): move sketch-related files to sketch package #257
- Relocate `SketchToolWindow` and `SketchAutoDevInputListener` from `inline` to `sketch` package. - Update imports and references accordingly to reflect the new package structure.
1 parent 9090c28 commit 1e6956b

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

core/src/main/kotlin/cc/unitmesh/devti/gui/AutoDevToolWindowFactory.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package cc.unitmesh.devti.gui
33
import cc.unitmesh.devti.gui.chat.message.ChatActionType
44
import cc.unitmesh.devti.gui.chat.ChatCodingPanel
55
import cc.unitmesh.devti.gui.chat.ChatCodingService
6-
import cc.unitmesh.devti.inline.SketchToolWindow
6+
import cc.unitmesh.devti.sketch.SketchToolWindow
77
import cc.unitmesh.devti.settings.LanguageChangedCallback.componentStateChanged
88
import com.intellij.openapi.actionSystem.ex.ActionUtil
99
import com.intellij.openapi.application.ApplicationManager

core/src/main/kotlin/cc/unitmesh/devti/inline/AutoDevInlineChatPanel.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package cc.unitmesh.devti.inline
22

33
import cc.unitmesh.devti.llms.LlmFactory
44
import cc.unitmesh.devti.llms.cancelHandler
5+
import cc.unitmesh.devti.sketch.SketchToolWindow
56
import cc.unitmesh.devti.util.AutoDevCoroutineScope
67
import com.intellij.icons.AllIcons
78
import com.intellij.ide.KeyboardAwareFocusOwner

core/src/main/kotlin/cc/unitmesh/devti/inline/SketchAutoDevInputListener.kt renamed to core/src/main/kotlin/cc/unitmesh/devti/sketch/SketchAutoDevInputListener.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package cc.unitmesh.devti.inline
1+
package cc.unitmesh.devti.sketch
22

33
import cc.unitmesh.devti.AutoDevBundle
44
import cc.unitmesh.devti.gui.chat.ChatCodingService

core/src/main/kotlin/cc/unitmesh/devti/inline/SketchToolWindow.kt renamed to core/src/main/kotlin/cc/unitmesh/devti/sketch/SketchToolWindow.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
package cc.unitmesh.devti.inline
1+
package cc.unitmesh.devti.sketch
22

33
import cc.unitmesh.devti.gui.chat.*
44
import cc.unitmesh.devti.gui.chat.message.ChatActionType
55
import cc.unitmesh.devti.gui.chat.ui.AutoDevInputSection
6-
import cc.unitmesh.devti.sketch.ExtensionLangSketch
7-
import cc.unitmesh.devti.sketch.LangSketch
6+
import cc.unitmesh.devti.inline.AutoDevInlineChatService
7+
import cc.unitmesh.devti.inline.fullHeight
8+
import cc.unitmesh.devti.inline.fullWidth
89
import cc.unitmesh.devti.util.parser.CodeFence
9-
import cc.unitmesh.devti.sketch.LanguageSketchProvider
1010
import cc.unitmesh.devti.sketch.highlight.CodeHighlightSketch
1111
import com.intellij.icons.AllIcons
1212
import com.intellij.openapi.Disposable

0 commit comments

Comments
 (0)