Repository navigation
Commit c81616f
committed
Refine file path detection logic to correctly identify paths immediately preceding a code block, even if intermediate lines are present
1 parent 853d04d commit c81616f
2 files changed
Lines changed: 1 addition & 3 deletions
File tree
- packages/vscode/src/commands/apply-chat-response-command/utils/clipboard-parser
- parsers
- test-cases/path-above-code-block
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
281 | | - | |
282 | 280 | | |
283 | 281 | | |
284 | 282 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments