Skip to content

Commit b7533eb

Browse files
committed
Disable semantic search mode when searching imported files
- 'select imported files' incorrectly allows 'semantic' ('select referencing files' correctly skips this option) └── apps └── editor └── src ├── commands │ ├── select-imported-files-command.ts │ ├── select-imported-files-for-selected-command.ts │ └── select-referencing-files-commands │ ├── index.ts │ ├── select-referencing-files-commands.ts │ └── utils │ ├── get-referencing-files-for-position.ts │ ├── get-referencing-files-for-uris.ts │ └── prompt-for-referencing-files.ts └── features ├── imported-files │ ├── index.ts │ └── utils │ ├── get-imports-for-uri.ts │ ├── is-valid-uri.ts │ └── prompt-for-imported-files.ts └── search-files ├── index.ts ├── search-files.ts ├── search-modes │ ├── perform-intelligent-search-mode.ts │ ├── perform-keywords-search-mode.ts │ ├── perform-phrase-search-mode.ts │ └── perform-semantic-search-mode.ts └── utils ├── analyze-files.ts ├── check-matches-condition.ts ├── create-search-regex.ts ├── group-quick-pick-items.ts ├── handle-parent-folder-result.ts ├── map-files-to-quick-pick-items.ts ├── prompt-for-config.ts ├── prompt-for-intelligent-search-results.ts ├── prompt-for-keywords-match-mode.ts ├── prompt-for-keywords-target.ts ├── prompt-for-provided-results.ts ├── prompt-for-search-mode.ts ├── prompt-for-search-results.ts ├── prompt-for-search-term.ts ├── prompt-for-shrink-mode.ts ├── search-files-by-intelligent.ts ├── search-files-by-keywords.ts ├── search-files-by-phrase.ts └── search-files-by-semantic.ts
1 parent 2949182 commit b7533eb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/editor/src/features/imported-files/utils/prompt-for-imported-files.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,8 @@ export const prompt_for_imported_files = async (params: {
440440
workspace_provider,
441441
extension_context,
442442
websocket_manager,
443-
show_back_button: true
443+
show_back_button: true,
444+
disable_semantic: true
444445
})
445446

446447
if (search_result == 'back') {

0 commit comments

Comments
 (0)