Commit Graph
134 Commits
Author SHA1 Message Date
Sandeep Somavarapu fedde4f1f1 clean up: (#2040)
* clean up:
- simplify namespaces
- simplify defining settings

* fix unused configs
2025-11-17 14:32:52 +00:00
Sandeep Somavarapu a943613f4f migrate internal settings to advanced (#2028)
* Reapply "first cut - migrate settings marked with INTERNAL and adopt to advanc…" (#2021)

This reverts commit 9dfc3993af.

* fix default values of migrated settings
2025-11-15 15:29:04 +00:00
Alexandru Dima 9dfc3993af Revert "first cut - migrate settings marked with INTERNAL and adopt to advanc…" (#2021)
This reverts commit 3898ba5474.
2025-11-14 21:59:22 +00:00
Sandeep SomavarapuandAlex Dima 3898ba5474 first cut - migrate settings marked with INTERNAL and adopt to advanced tag (#1717)
* first cut - migrate settings marked with INTERNAL and adopt to advanced tag

* support old key while
- reading config value
- reading experiment
- listening to changes

* make experiment change event aware of old id

* fix tests

* fix tests

* Add backward support for the pattern used in older experiments

* fix id

---------

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2025-11-14 17:04:48 +00:00
Benjamin Christopher Simmonds 3e1cfbbac0 Do not show label for far away edits (#1994)
* do not show label for far away edits

* change default value
2025-11-13 22:35:22 +00:00
Ulugbek Abdullaev a1d167b45f nes: fix: how we determine if cursor is at the end of the line and enforcing it (#1978) 2025-11-13 11:33:23 +00:00
Johannes Rieken 4876d7e390 fixes https://github.com/microsoft/vscode/issues/276927 (#1955)
* fixes https://github.com/microsoft/vscode/issues/276927

* renames
2025-11-12 16:15:22 +00:00
Ulugbek Abdullaev 7fbecee16e nes: debt: remove any use in NextEditProvider (#1948) 2025-11-12 12:58:57 +00:00
Ulugbek Abdullaev 29f682ec77 remove softAsserts to not pollute dev console (#1798) 2025-11-05 12:49:27 +00:00
Benjamin Christopher Simmonds 9cea8e13cc Enable Copilot from chat extension (#1758)
* contibute copilot enabled from chat extension

* Make github.copilot.enable contributed by chat extension
2025-11-02 23:52:17 +00:00
Ulugbek Abdullaev 0ea7b0e7f9 nes: refactor: remove ghNearbyNesProvider.ts (#1664)
* nes: refactor: move out `editWouldUndo`

* nes: refactor:  rename file to better reflect what it is
2025-10-27 17:27:26 +00:00
Ulugbek AbdullaevandCopilot 573b490a3f nes: no log context files without setting (#1656)
* nes: no log context files without setting

* Update src/extension/inlineEdits/vscode-node/components/logContextRecorder.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-27 14:29:56 +00:00
Ulugbek Abdullaev 1581fe3bc4 nes: send telemetry for supersededBy (#1654)
to track down when superseded by item has the same opp id as the item itself
2025-10-27 11:36:14 +00:00
Ulugbek Abdullaev ea2632d9be nes: fix long distance NES in case of labelOnlyWithEdit (#1585)
* nes: check cancellation after predicting next cursor

* nes: long distance: don't show label if the edit is around cursor

* nes: cursor jump command: trigger NES

because core on acceptance immediately triggers providers before the command attached to the suggested executes or completes execution

* nes: support jumpToEdit

* nes: long distance: allow hiding line of code

* chore: bump engine version
2025-10-24 14:10:58 +00:00
Ulugbek Abdullaev 220f07bbd7 nes: turn off emitFastEditAtCursor for long-distance NES (#1581)
* nes: minor refactor

* nes: turn off emitFastEditAtCursor for long-distance NES
2025-10-24 10:31:27 +00:00
Ulugbek Abdullaev 1857d524ba nes: long distance: show nicer label for typescript (#1554) 2025-10-23 20:09:39 +00:00
Ulugbek Abdullaev 53569de599 nes: feat: show label only if there's an edit from production model (#1552) 2025-10-23 16:58:06 +00:00
Ulugbek Abdullaev b20123080b nes: long distance nes: show label but don't fetch next edit (#1544)
* nes: long distance nes: show label but don't fetch next edit

* nes: cleanup

* nes: use non-whitespace char for next edit request

* nes: cleanup a little
2025-10-23 15:07:13 +00:00
Ulugbek Abdullaev 83ed141431 nes: telemetry: include info for merge conflict edit window expansion (#1223) 2025-10-23 11:20:56 +00:00
Martin Aeschlimann 3f4cb59fc5 copy vscode sources, add base/common/yaml (#1468)
* copy vscode sources, add base/common/yaml

* fix tests (due to change of toStringEdit)
2025-10-21 17:22:20 +00:00
Ulugbek Abdullaev c3f1dc62d5 nes: convert trigger-on-active-editor-change setting to be last-edit-time-based (#1464)
it now respects last edit time and doesn't trigger after N seconds
2025-10-21 15:44:50 +00:00
Benjamin Christopher SimmondsandCopilot ed4c68d543 Use Inline Suggestion Naming (#1461)
* Use Inline Suggestion Naming

* Update src/extension/inlineEdits/vscode-node/inlineCompletionProvider.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-21 10:56:55 +00:00
Ulugbek Abdullaev e7f5034823 nes: debt: remove python server-powered NES (#1435) 2025-10-20 18:06:27 +00:00
Ulugbek Abdullaev d91289ca80 nes: make INesConfigs leaner (#1371) 2025-10-16 16:04:23 +00:00
Ulugbek Abdullaev a73ab32f3b nes: debt: remove unused settings (#1369)
* nes: remove unused setting `chat.advanced.inlineEdits.cacheTracksRejections`

* nes: remove unused setting `chat.advanced.inlineEdits.revisedCacheStrategy`
2025-10-16 13:12:39 +00:00
Ulugbek Abdullaev 0d784d1417 nes: cleanup: remove RecentlyShownCache which's not used anymore (#1366) 2025-10-16 10:12:34 +00:00
Benjamin Pasero fc05625f36 Enable completions/NES for no-auth users (#1351) 2025-10-15 18:59:45 +00:00
Ulugbek Abdullaev 6169c02921 nes: implement triggering on active editor switch (#1347)
* nes: implement triggering on active editor switch

the actualy implementation uses selection change events because it allows for less changes and easier implementation

* remove unnecessary underscores in param names

* fix typo
2025-10-15 17:43:30 +00:00
Ulugbek Abdullaev d409aa4793 nes: cache: refactor: remove some unused code (#1344)
* nes: cache: refactor: remove unnecessary code

* nes: cache: refactor: remove unused param
2025-10-15 10:29:15 +00:00
Don Jayamanne e978d813d3 Determine cell and position of NES suggestion (#1297) 2025-10-13 04:27:58 +00:00
Ulugbek Abdullaev 17181bcde0 nes: next cursor line: add telemetry (#1264)
* nes: next cursor line: add telemetry

* improve error
2025-10-08 16:37:15 +00:00
Ulugbek Abdullaev 378451d3c2 nes: logContext: show correct proposed edits (#1045) 2025-10-01 12:22:45 +00:00
Christof Marti feb8766822 Fix telemetry (#1191) 2025-09-29 21:06:05 +00:00
Benjamin Pasero 3da3376ae3 nes - disable for anonymous users for now (#1127) 2025-09-24 13:39:57 +00:00
Ulugbek Abdullaev dc3cf25e77 nes: mark trace with opporunity ID (#1008) 2025-09-11 14:31:17 +00:00
Ulugbek Abdullaev a0ae822441 nes: fix: persist shouldExpandEditWindow until we issue a request and get either an edit or no-suggestions response (#1007) 2025-09-10 14:38:31 +00:00
Ulugbek Abdullaev 074d467eff nes: refactor: abstract computing minimum response delay (#1005) 2025-09-10 13:54:45 +00:00
Henning Dieterichs edb2488024 VSCodeWorkspace cleanup (#1004)
* VSCodeWorkspace cleanup

* Fixes missing import
2025-09-10 10:53:58 +00:00
Ulugbek Abdullaev 9a417ce674 nes: have two settings that allow to tweak delay on rebased and subsequent cached NES (#974) 2025-09-09 14:29:35 +00:00
Henning Dieterichs 840022e770 For https://github.com/microsoft/vscode/issues/265820 in main (#971) 2025-09-09 14:02:59 +00:00
Don Jayamanne 3f4d74ceb9 Remove expensive EOL diff check (#966) 2025-09-09 11:37:59 +00:00
Ulugbek Abdullaev 928c481fad nes: cleanup NextEditProvider a little (#960)
* nes: cleanup: extract config determination

* nes: make private

* nes: more descriptive name
2025-09-09 09:00:49 +00:00
Ulugbek Abdullaev 2dcc7bb5dc nes: cleanup: remove summarized* telemetry because we don't use summarization anymore (#943)
* nes: xtab: remove unused param

* nes: cleanup: remove summarized* telemetry because we don't use summarization anymore
2025-09-08 13:30:11 +00:00
Ulugbek Abdullaev 0af8bc58f9 nes: send telemetry for errors that can be thrown from NextEditProvider (#920)
* nes: formatting

* nes: send telemetry for errors that can be thrown from NextEditProvider
2025-09-05 15:33:09 +00:00
Benjamin Christopher Simmonds b127df46ab only use java imports in pre release (#905) 2025-09-04 17:01:47 +00:00
Alexandru Dima 9d5f33f0d7 Consume new unification vscode API when available (#897) 2025-09-04 10:03:39 +00:00
Don Jayamanne cea38ec1cf Enable command based on setting (#860) 2025-09-01 04:32:30 +00:00
Don Jayamanne 4aea98180a Update notebook nes telemetry to track cell index for Next Edit (#847) 2025-08-30 12:44:47 +00:00
Don Jayamanne 61fbf7bd6b Additional Notebook NES telemetry (#845)
* Additional Notebook NES telemetry

* More telemetry
2025-08-30 12:22:40 +00:00
Ulugbek Abdullaev 0c02eb9d64 nes: create a setting to allow/disallow whitespace-only NES (#838)
* nes: implement filtering whitespace-only changes

issue with this is that currently filters are registered on XtabProvider creation and cannot be changed afterwards (which's bad in case user changes the setting -- they don't expect they'd need to reload the window)

* nes: refactor edit-filtering and fix non-dynamic whitespace-only edit filtering
2025-08-29 17:45:13 +00:00