Repository navigation
Commit fd32c9b
committed
Skip shrink prompt when token counts match in intelligent search and remove unused home.shrink-source-code translation
- should not show quick pick: send in full/strip bodies if both have the same amount of tokens
```
└── apps
└── editor
└── src
└── features
└── search-files
├── index.ts
├── search-files.ts
├── search-modes
│ ├── 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
├── 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.ts
```1 parent 6152c48 commit fd32c9b
2 files changed
Lines changed: 28 additions & 37 deletions
File tree
- apps/editor/src
- features/search-files/search-modes
- views/prompt/frontend/i18n/translations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
98 | 118 | | |
99 | | - | |
| 119 | + | |
100 | 120 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 121 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 122 | | |
118 | 123 | | |
119 | 124 | | |
| |||
207 | 212 | | |
208 | 213 | | |
209 | 214 | | |
210 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
211 | 220 | | |
212 | 221 | | |
213 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | 110 | | |
129 | 111 | | |
130 | 112 | | |
| |||
0 commit comments