Repository navigation
Commit 0258bb6
committed
Refactor search files commands to create and dispose their output channels internally instead of sharing a global one
- don't create output channel in `apps/editor/src/extension.ts`, create and dispose locally in the command, as it can't be run more often than once
└── apps
└── editor
└── src
├── commands
│ └── search-files-commands
│ ├── index.ts
│ ├── search-files-commands.ts
│ └── utils
│ ├── get-target-folder-path.ts
│ └── prompt-for-provided-results.ts
├── extension.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 754ed98 commit 0258bb6
2 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
| 126 | + | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| |||
258 | 259 | | |
259 | 260 | | |
260 | 261 | | |
| 262 | + | |
261 | 263 | | |
262 | 264 | | |
263 | 265 | | |
| |||
269 | 271 | | |
270 | 272 | | |
271 | 273 | | |
| 274 | + | |
272 | 275 | | |
273 | 276 | | |
274 | 277 | | |
| |||
323 | 326 | | |
324 | 327 | | |
325 | 328 | | |
| 329 | + | |
326 | 330 | | |
327 | 331 | | |
328 | 332 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 91 | | |
95 | 92 | | |
96 | 93 | | |
| |||
206 | 203 | | |
207 | 204 | | |
208 | 205 | | |
209 | | - | |
210 | | - | |
| 206 | + | |
211 | 207 | | |
212 | 208 | | |
213 | 209 | | |
| |||
0 commit comments