Repository navigation
Commit ddfaba2
committed
Rename compact-file utilities to shrink-file and add user-facing toggle to enable source code shrinking
- in "find relevant files" prompt type, above the prompt field place a checkbox 'shrink source code' with label "Remove functon bodies and comments". Keep state in `apps/editor/src/constants/state-keys.ts`
- when "shrink source code" changes, toggle the compact mode
- respect the find-relevant-files-shrink-source-code in handlers
- rename 'compact' to 'shrink'1 parent 380c7b6 commit ddfaba2
32 files changed
Lines changed: 354 additions & 192 deletions
File tree
- apps/editor/src
- constants
- context
- providers
- open-editors
- workspace
- modules
- utils
- compact-file
- shrink-file
- languages
- utils
- views
- panel
- backend
- message-handlers
- frontend
- Main
- MainView
- hooks/panel
- types
- settings/frontend/i18n/translations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
206 | | - | |
| 205 | + | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| |||
0 commit comments