Browse Source

Refactor mentions

Saoud Rizwan 1 year ago
parent
commit
a82ff941b9
3 changed files with 2 additions and 2 deletions
  1. 1 1
      src/core/ClaudeDev.ts
  2. 0 0
      src/core/mentions/index.ts
  3. 1 1
      src/core/webview/ClaudeDevProvider.ts

+ 1 - 1
src/core/ClaudeDev.ts

@@ -28,7 +28,7 @@ import { ToolName } from "../shared/Tool"
 import { ClaudeAskResponse } from "../shared/WebviewMessage"
 import { findLast, findLastIndex } from "../utils/array"
 import { arePathsEqual } from "../utils/path"
-import { parseMentions } from "./mentions/context-mentions"
+import { parseMentions } from "./mentions"
 import { tools } from "./prompts/tools"
 import { truncateHalfConversation } from "./sliding-window"
 import { ClaudeDevProvider } from "./webview/ClaudeDevProvider"

+ 0 - 0
src/core/mentions/context-mentions.ts → src/core/mentions/index.ts


+ 1 - 1
src/core/webview/ClaudeDevProvider.ts

@@ -16,7 +16,7 @@ import axios from "axios"
 import { getTheme } from "../../integrations/theme/getTheme"
 import { openFile, openImage } from "../../integrations/misc/open-file"
 import WorkspaceTracker from "../../integrations/workspace/WorkspaceTracker"
-import { openMention } from "../mentions/context-mentions"
+import { openMention } from "../mentions"
 
 /*
 https://github.com/microsoft/vscode-webview-ui-toolkit-samples/blob/main/default/weather-webview/src/providers/WeatherViewProvider.ts