Repository navigation
Commit f2f4a61
committed
Rename select commit files command to select files of commit and enhance commit file selection
- Code at cursor completion
- rename 'select commit files' to 'select files of commit'
- use separator titled 'context files' and place all files collected thorugh reading commit messages (ascii trees) below it
- rename 'context files' separator to 'commited files' (all lowercase), add new separator on top: 'edited files'
- add separator on top: 'commited files' (all lowercase), make 'context files' lowercase as well. make 'context files' appear only when there are some
- in a scenario only 'context files' separator is shown, you should show 'commited files' separator instead
- in `apps/editor/src/i18n/translations/commands/select-files-of-commit.ts` implement 'go to file' action
- in `apps/editor/src/commands/select-files-of-commit-command.ts`, implement 'select parent folder' action
- rename 'files modified in...' to 'Files of commit' (without hash)
└── apps
└── editor
├── package.json
├── package.nls.bg.json
├── package.nls.cs.json
├── package.nls.de.json
├── package.nls.es.json
├── package.nls.fr.json
├── package.nls.hu.json
├── package.nls.it.json
├── package.nls.ja.json
├── package.nls.json
├── package.nls.ko.json
├── package.nls.pl.json
├── package.nls.pt-br.json
├── package.nls.ru.json
├── package.nls.tr.json
├── package.nls.zh-cn.json
├── package.nls.zh-tw.json
└── src
├── commands
│ ├── generate-commit-message-command
│ │ ├── actions
│ │ │ ├── get-prompt-data.ts
│ │ │ └── run-generate-action.ts
│ │ ├── generate-commit-message-command.ts
│ │ └── index.ts
│ ├── index.ts
│ ├── restore-file-selection-command
│ │ ├── index.ts
│ │ └── restore-file-selection-command.ts
│ ├── save-file-selection-command
│ │ ├── index.ts
│ │ └── save-file-selection-command.ts
│ ├── select-clipboard-paths-command.ts
│ ├── select-files-of-commit-command.ts
│ ├── select-referencing-files-commands
│ │ └── utils
│ │ └── prompt-for-referencing-files.ts
│ ├── select-unstaged-files-command.ts
│ └── select-workspace-file-command.ts
├── extension.ts
├── features
│ ├── commit-messages
│ │ ├── index.ts
│ │ └── utils
│ │ ├── build-commit-message-prompt.ts
│ │ ├── generate-commit-message-with-api.ts
│ │ ├── get-commit-message-config.ts
│ │ └── strip-wrapping-quotes.ts
│ ├── context-restoration
│ │ ├── index.ts
│ │ └── utils
│ │ ├── ask-for-new-context-name.ts
│ │ ├── context-file-utils.ts
│ │ ├── create-context-description.ts
│ │ ├── file-contexts.ts
│ │ ├── global-storage-utils.ts
│ │ ├── path-utils.ts
│ │ ├── resolve-context-paths.ts
│ │ ├── resolve-glob-patterns.ts
│ │ ├── resolve-paths.ts
│ │ ├── select-context-paths.ts
│ │ └── source-selector.ts
│ ├── imported-files
│ │ └── utils
│ │ └── prompt-for-imported-files.ts
│ └── search-files
│ └── utils
│ ├── prompt-for-intelligent-search-results.ts
│ ├── prompt-for-provided-results.ts
│ └── prompt-for-search-results.ts
├── i18n
│ └── translations
│ ├── commands
│ │ ├── generate-commit-message.ts
│ │ ├── index.ts
│ │ ├── restore-file-selection.ts
│ │ ├── save-file-selection.ts
│ │ └── select-files-of-commit.ts
│ ├── common.ts
│ └── features
│ ├── checkpoints.ts
│ ├── commit-messages.ts
│ ├── context-restoration.ts
│ ├── imported-files.ts
│ ├── index.ts
│ ├── referencing-files.ts
│ └── search-files.ts
├── utils
│ ├── ascii-tree
│ │ └── ascii-tree.ts
│ └── git-repository-utils.ts
└── views
└── prompt
└── backend
├── message-handlers
│ └── handle-hash-sign-quick-pick
│ └── symbols
│ └── saved-context-symbol.ts
└── utils
└── symbols
└── saved-context
└── replace-saved-context-symbol.ts1 parent 67e9cc8 commit f2f4a61
22 files changed
Lines changed: 250 additions & 110 deletions
File tree
- apps/editor
- src
- commands
- i18n/translations/commands
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
410 | | - | |
| 409 | + | |
| 410 | + | |
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| |||
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
712 | | - | |
| 712 | + | |
713 | 713 | | |
714 | 714 | | |
715 | 715 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments