Enables the same `no-unexternalized-strings` with have in `vscode` in this repo. This make sure we have a more consistent style across repos and when generating edits
* Run local eslint rules directly as typescript
Remove the need to use `tsx`
* Bump required node version
Matches the version we use in vscode repo
* Align node versions
* Always use `/`
* Try fixing windows
* Try another fix for windows
* Fix new rule after merge
* initial pass at untracked file changes, testing next
* add final trailing \n
* unit tests for function
* fix test execution
* tweak some comments and formattting
* another comment tweak after testing
* small change to handling fully empty files
* copilot PR feedback
---------
Co-authored-by: Ian Huff <ianhuff@Ians-MacBook-Pro-2.local>
Co-authored-by: Ian Huff <ianhuff@Mac.home>
* nes: model picker: fix: correct init and model picking order
nes: fetched models should check if they're already known as well
nes: fix: ensure to update undesired models before updating preferred model
this's important because there's code that reacts to preferred model change and needs to know latest undesired models
nes: minimize failure possibility
nes: fix: make sure to init undesiredModelsManager earlier than observables use them
nes: don't memorize if exp-configured model is picked
nes: joint: support model picker
* nes: model picker: support in JointCompletionsProvider
* nes: enable model picker for the team
* nes: fetched models should check if they're already known as well
* nes: fix: ensure to update undesired models before updating preferred model
this's important because there's code that reacts to preferred model change and needs to know latest undesired models
* nes: minimize failure possibility
* nes: fix: make sure to init undesiredModelsManager earlier than observables use them
* nes: don't memorize if exp-configured model is picked
* nes: /models: make sure stale state is not possible
* nes: /models: include source with the model
* nes: /models: prioritize exp model config over preferred model
nes: simplify handling of NES endOfLife
nes: joint provider: yield to NES if last suggestion was NES and it agrees with users edits
Update src/extension/inlineEdits/vscode-node/jointInlineCompletionProvider.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
nes: dispose JointCompletionsProvider
nes: rework logic
this has a bug that completions gets triggered along with NES on cursor move -- it's very bad for completions because it has no debounce AND it would get cancellation on cursor move
nes: remove unused setting
nes: update lastNesSuggestion only if latest invocation
nes: fix imports
nes: remove unused param
nes: remove redundant check
nes: fix: correctly cancel completions when NES is picked
* nes: joint: tweakable yielding strategies
* nes: simplify handling of NES endOfLife
* nes: joint provider: yield to NES if last suggestion was NES and it agrees with users edits
* Update src/extension/inlineEdits/vscode-node/jointInlineCompletionProvider.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>