Skip to content

Commit

Permalink
refactor(middleware): remove BanKeywordsScanner and update imports
Browse files Browse the repository at this point in the history
This commit removes theBanKeywordsScanner and updates the import paths for CodeFence to the new location within the utils package. It also moves the console.cancelHandler import to the runner package.
  • Loading branch information
phodal committed Oct 15, 2024
1 parent 4a93259 commit 0cf5869
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 24 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package com.phodal.shirecore.middleware.builtin

import com.intellij.execution.ui.ConsoleView
import com.intellij.openapi.project.Project
import com.phodal.shirecore.markdown.CodeFence
import com.phodal.shirecore.utils.markdown.CodeFence
import com.phodal.shirecore.middleware.PostProcessorType
import com.phodal.shirecore.middleware.PostProcessorContext
import com.phodal.shirecore.middleware.PostProcessor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import com.intellij.openapi.project.Project
import com.intellij.openapi.project.guessProjectDir
import com.intellij.openapi.util.Disposer
import com.intellij.openapi.vfs.VirtualFile
import com.phodal.shirecore.markdown.CodeFence
import com.phodal.shirecore.utils.markdown.CodeFence
import com.phodal.shirecore.SHIRE_TEMP_OUTPUT
import com.phodal.shirecore.middleware.PostProcessorType
import com.phodal.shirecore.middleware.PostProcessorContext
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import com.intellij.openapi.ui.popup.JBPopupFactory
import com.intellij.ui.components.JBTextArea
import com.intellij.ui.dsl.builder.*
import com.phodal.shirecore.ShireCoroutineScope
import com.phodal.shirecore.console.cancelHandler
import com.phodal.shirecore.llm.LlmProvider
import com.phodal.shirecore.markdown.CodeFence
import com.phodal.shirecore.utils.markdown.CodeFence
import com.phodal.shirecore.middleware.PostProcessor
import com.phodal.shirecore.middleware.PostProcessorContext
import com.phodal.shirecore.middleware.PostProcessorType
import com.phodal.shirecore.middleware.builtin.ui.WebViewWindow
import com.phodal.shirecore.runner.console.cancelHandler
import kotlinx.coroutines.flow.cancellable
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
Expand Down

0 comments on commit 0cf5869

Please sign in to comment.