Repository navigation
Commit 342ee0f
committed
Propagate sub-search flag to display unmatched files across all search modes
- Carry forward the unmatched files from the immediately preceding search selection into nested sub-searches so they are displayed under the unmatched separator. E.g. if user is shown initially 40 results but selects 10 and runs nested search - if system matches 2 files, 8 should shown under 'unmatched' separator. If then user selects 5, but only 1 matches, 4 files should be shown under separator, and so on.
└── apps
└── editor
└── src
├── commands
│ └── search-files-commands
│ ├── index.ts
│ ├── search-files-commands.ts
│ └── utils
│ ├── get-target-folder-path.ts
│ └── prompt-for-provided-results.ts
└── features
└── search-files
├── index.ts
├── search-files.ts
├── search-modes
│ ├── perform-agent-search-mode
│ │ ├── agents
│ │ │ ├── antigravity.ts
│ │ │ ├── claude.ts
│ │ │ ├── codex.ts
│ │ │ ├── cursor.ts
│ │ │ ├── grok.ts
│ │ │ ├── muse.ts
│ │ │ └── opencode.ts
│ │ ├── index.ts
│ │ ├── perform-agent-search-mode.ts
│ │ ├── types.ts
│ │ └── utils.ts
│ ├── perform-intelligent-search-mode.ts
│ ├── perform-keywords-search-mode.ts
│ └── perform-phrase-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-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
└── show-search-results-quick-pick.ts1 parent 5d67627 commit 342ee0f
7 files changed
Lines changed: 34 additions & 11 deletions
File tree
- apps/editor/src/features/search-files
- search-modes
- perform-agent-search-mode
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| |||
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| 102 | + | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
109 | | - | |
| 112 | + | |
| 113 | + | |
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
638 | 640 | | |
639 | 641 | | |
640 | 642 | | |
| 643 | + | |
| 644 | + | |
641 | 645 | | |
642 | 646 | | |
643 | 647 | | |
| |||
650 | 654 | | |
651 | 655 | | |
652 | 656 | | |
653 | | - | |
654 | | - | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
655 | 663 | | |
656 | 664 | | |
657 | 665 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
457 | 458 | | |
458 | 459 | | |
459 | 460 | | |
460 | | - | |
| 461 | + | |
| 462 | + | |
461 | 463 | | |
462 | 464 | | |
463 | 465 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
206 | | - | |
| 207 | + | |
| 208 | + | |
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
125 | | - | |
| 126 | + | |
| 127 | + | |
126 | 128 | | |
127 | 129 | | |
128 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | | - | |
| 55 | + | |
55 | 56 | | |
56 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
0 commit comments