Repository navigation
Commit 6e1969f
committed
Replace the clipboard commit message command with automatic handling of commit messages from chat responses
- remove command 'apply commit message from clipoard palette' and associated 'from clipboard' parsing
- create a new internal command 'codeWebChat.internal.generateCommitMessageWithProvidedTextAndCommit', allow passing text:string in argument (source cotrol is not necessary). Use this text to prefill the input.
- if response starts with "**Commit message:**", should use the rest of the response text for 'codeWebChat.internal.generateCommitMessageWithProvidedTextAndCommit' command invocation
- when run with 'provided text' should not show back arrow on the input box
└── 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
│ ├── apply-response-command
│ │ ├── apply-response-command.ts
│ │ └── response-processor.ts
│ ├── code-at-cursor-command
│ │ ├── code-at-cursor-commands.ts
│ │ └── utils
│ │ └── perform-code-at-cursor.ts
│ └── generate-commit-message-commands
│ ├── actions
│ │ ├── get-prompt-data.ts
│ │ └── run-generate-action.ts
│ ├── generate-commit-message-commands.ts
│ ├── index.ts
│ └── utils
│ ├── build-commit-message-prompt.ts
│ ├── generate-commit-message-with-api.ts
│ ├── get-commit-message-config.ts
│ └── strip-wrapping-quotes.ts
├── constants
│ └── instructions.ts
└── extension.ts1 parent b38b089 commit 6e1969f
20 files changed
Lines changed: 49 additions & 59 deletions
File tree
- apps/editor
- src/commands
- apply-response-command
- generate-commit-message-commands
- actions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | 325 | | |
331 | 326 | | |
332 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
0 commit comments