Files
vscode/extensions/copilot/docs
Ulugbek Abdullaev 9d043e2602 nes: feat: stest creator (#2982)
* feat: add NES expected edit capture feature

Add functionality to capture expected edits when NES suggestions are rejected:
- Add ExpectedEditCaptureController for managing capture sessions
- Add configuration settings for enabling the feature
- Register capture commands with keybindings
- Add context key for inlineEditsEnabled to enable keybindings
- Include documentation for the feature

* Revert debug recorder to original settings

* feat: add tests for filtering sensitive files in inline edit logs

- Implemented unit tests to ensure sensitive files such as .env files, private keys, and files in sensitive directories are filtered out correctly from logs.
- Added handling for Windows-style backslash paths in the filtering function.
- Preserved non-document log entries during filtering.

feat: add NesFeedbackSubmitter tests

- Created comprehensive tests for the NesFeedbackSubmitter class, covering methods for extracting document paths and filtering recordings by excluded paths.
- Ensured proper handling of metadata files and invalid JSON scenarios.
- Included performance tests for filtering large recordings efficiently.

fix: enhance inline completion provider with document path metadata

- Updated inline completion provider to include document path in metadata during rejection captures.

feat: add command for submitting expected edits in inline edit provider feature

- Registered a new command to allow submission of captured edits in the inline edit provider feature.

* refactor: update GitHub session retrieval method and adjust test expectations for performance

* test: update inlineEditDebugComponent tests for consistent string quoting

* feat: enhance sensitive file filtering with case-insensitive matching and additional patterns

* feat: add User-Agent header to GitHub API requests in NesFeedbackSubmitter

* Move NES Expected Edit Capture documentation

* fix compilation

* move spec to docs/

* simplify by not having `| undefiend`

* nicer tracing

* remove redundancy

* migrate to sublogger

* web-compat Buffer

* reuse code

* correct composition of edits

* use cmd+enter to save the captured edits

---------

Co-authored-by: Erik Portillo <6964428+erikportillo@users.noreply.github.com>
2026-01-20 17:30:49 +00:00
..
2025-11-15 00:03:09 +00:00
2026-01-19 19:16:57 +00:00