Commit Graph

1367 Commits

Author SHA1 Message Date
Don Jayamanne fd38deac92
Skip flaky notebook test (#258223)
Skip flaky test
2025-07-28 13:46:15 +00:00
Logan Ramos 8551a1d51d
Finalize the bring your own key api (#255892)
* Start small

* start on new byok api

* Some more api work

* Hook up more of the API

* A single file with no errors yay!

* Some cleanup

* Slow and steady progress

* More code

* Add resolve

* Hate everything

* More progress on rewriting id

* Some error fixing

* Fix null service

* Use claude to fix tests

* Fix tests

* Fix tests

* More test fixing

* Some setup

* Some model picker stuff

* Fix model picker with new BYOK api

* Remove support for contirbuting to mdel picker action bar

* Adjust to allow for user prompting

* Add event

* Fix conflicts
2025-07-18 13:42:55 -04:00
Alex Ross 8c938d137a
Disable flaky workspace test (#256250)
See https://github.com/microsoft/vscode/issues/253863
2025-07-16 07:17:49 -07:00
Rob Lourens d8af289890
Support chat participants in agent mode (#256113)
* Allow participants in any mode
Fix #255921

* Get rid of unneeded context keys

* Preserve modes for default agents

* Fix tests

* Fix test
2025-07-16 00:37:20 +02:00
Alex Ross c23b94c04d
Skip "breakpoints are available before accessing debug extension API" (#255982)
See https://github.com/microsoft/vscode/issues/254039
2025-07-15 09:48:51 +00:00
Don Jayamanne 2ff34581ea
Skip flaky Notebook Kernel API tests (#255119)
* Skip flaky Notebook Kernel API tests

* updates
2025-07-10 11:57:40 +00:00
Don Jayamanne 7b269dac03
Await on notebook.cell.execute command in tests (#255111) 2025-07-10 04:22:38 -07:00
Don Jayamanne e31bfcad9d
Re-enabled some of the skipped notebook tests (#255087)
* Identify flaky test failures

* Updates
2025-07-10 04:05:27 -07:00
Don Jayamanne c195156400
Use open and show notebook instead of executeCommand in tests (#255106) 2025-07-10 04:05:02 -07:00
Benjamin Pasero 1c5aac43c2
tests - close editors from debug API tests (#254646) 2025-07-08 06:27:47 -07:00
Ladislau Szomoru 4d7c56ee82
Engineering - Add GitHub action for pull requests (#254056)
* Test - handle running tests as part of a GitHub action

* Add GitHub action files
2025-07-04 08:21:56 +00:00
Benjamin Pasero 13d49873b7
Support setting encoding from extension (fix #251188) (#251195) 2025-06-11 12:15:35 +02:00
Johannes Rieken 1a2bacb0a0
make sure the API doesn't allow to set an empty selections array (#251010)
re https://github.com/microsoft/vscode-copilot/issues/18075
2025-06-09 08:23:22 -07:00
Ladislau Szomoru 78bf07b5ce
Engineering - remove unused proposal (#248729) 2025-05-12 07:51:50 -07:00
Johannes Rieken e29c92acaf
remove old `notebookCellExecutionState` proposal (#248522)
re https://github.com/microsoft/vscode/issues/124970#issuecomment-2864279668
2025-05-12 02:36:15 +02:00
Robo 12326f9906
chore: update to Electron 35 (#245423)
* chore: bump electron@35.0.1

* chore: update types/node@22.x

* chore: update web types for node v22.x

* chore: bump electron@35.1.2

* chore: update node.js build

* chore: update app.dock usage

Refs 71f3ff6bf2

* chore: bump electron@35.1.4

* chore: bump electron@35.1.5

* ci: bump sysroot to glibc 2.28 and gcc 10.5.0

* ci: enable timeout for smoketests

* chore: bump min glibcxx to 3.4.26 for server

* Revert "ci: enable timeout for smoketests"

This reverts commit afb637e85d.

* chore: update debian dependencies

* fix: workaround npm.ps1 argument parsing with powershell

* chore: update rpm dependencies

* test: partially revert changes from 242535

* test: remove redudant keybinding dispatch for selectTab

* test: fix test failure from running configured tasks

* test: focus settings editor for preferences.test.ts

* node - adopt compile cache (#246835)

* node - adopt compile cache

* adopt for utility process

* tweaks

* log state of compilation cache

* Revert "log state of compilation cache"

This reverts commit f3840387a583013834762e2c44f6e8424929297f.

* Revert "node - adopt compile cache (#246835)"

This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.

* chore: update builds

* chore: bump electron@35.2.0

* chore: bump electron@35.2.1

* chore: bump electron@35.2.2

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-05-09 19:03:36 +09:00
Rob Lourens 714f54156f
Add editedFileEvents (#246996)
* Start plumbing working set events

* more

* More fixes

* Update tests
2025-04-20 16:54:07 +00:00
Benjamin Pasero f0ee501c7f
API: Finalise text document encoding (fix #241449) (#246016)
* API: Finalise text document encoding (fix #241449)

* address feedback
2025-04-10 18:28:21 +00:00
Aaron Munger 3d6395e70b
extra async call (#246018) 2025-04-08 20:43:33 +00:00
Benjamin Pasero b8965e8d61
encoding - api clarification (#245994) 2025-04-08 17:45:42 +02:00
Matt Bierner 526705b491
Merge pull request #244485 from mjbvz/tasty-lion
Pick up latest TS for building VSCode
2025-03-28 11:24:19 -07:00
Tyler James Leonhardt c244b199e2
Delete Unused API (#244529)
ref https://github.com/microsoft/vscode/issues/243615
2025-03-25 01:48:56 +01:00
Matt Bierner 8225b496b1 Updating `@types/node`
Needs some minor code changes too to support the new typings
2025-03-24 13:02:28 -07:00
Rob Lourens a4ee2666f0
Store chat sessions in fs (#243670)
* Start on storing chat sessions on fs

* More

* More ChatSesssionStore work

* More changes

* More fixes

* Avoid layer break

* Handle clear session, block shutdown while saving, handle other cases

* Key name

* Fix build error

* Tweaks

* Don't show migrated empty sessions in hsitory

* Comment out unused transfer code for now

* Fix test
2025-03-18 01:07:18 +00:00
Tyler James Leonhardt 558d5df792
Add proposed API for trusted domains and for web page extraction (#243811)
* Add proposed API for trusted domains and for web page extraction

I don't love the shape of this API but I'm going with this for now to play with it.

This will help Chat provide contents of web pages as context but also allow it full control of the tool.

ref https://github.com/microsoft/vscode/issues/243615

* use a different url

* delete the test until we have a good way to mock
2025-03-17 22:26:13 +01:00
Anthony Kim bf36be9c61
Finalize Shell API (#243274)
* Adopt terminal suggest to shell api change

* Internally bring string enum for terminal suggest to prevent Typos

* Better word description under api description

* Remove shell proposed api against vscode.d.ts

* Update `shell` description after looking at feedbacks.

* Update docs

* Change to a Map<TerminalShellTye, string[]>

* One last typo

---------

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
2025-03-15 15:28:19 -07:00
Benjamin Pasero 355e73c5e0
encoding - add tests for utf8bom (#242132) (#242347) 2025-02-28 11:15:28 -08:00
Daniel Imms 87dc506eca
Ensure data events are flushed before execution end fires
Fixes #241592
2025-02-24 07:30:40 -08:00
Benjamin Pasero c66aef66c1
terminal - skip flaky tests (#241678) 2025-02-24 08:41:24 +01:00
Daniel Imms 55feb94b29
Ensure terminal data is segmented by C and D sequences
The tests failed because on mac the 633;C and 633;D events both appear in the
same event. The change ensures we match globally on the regex and cleans up
handling of multiple events. This went from failing consistently to passing
consistently on my mac.

Fixes #241592
2025-02-23 07:38:50 -08:00
Benjamin Pasero 8b14930e34
unblock build (skip tests) (#241619) 2025-02-23 07:30:07 +01:00
Benjamin Pasero 904587908c
unblock build (skip tests) (#241591) 2025-02-22 11:30:12 -08:00
Benjamin Pasero 4edf8d685b
encoding - add a test that simulates saving a document with different encoding (#241448)
* encoding - add a test that simulates saving a document with different encoding

* update pointer to issue
2025-02-21 10:46:13 +01:00
Anthony Kim f99c5c64bc
Expose shell's environment - fish shell (#240971)
* start working on fish, save progress, still lots TODO

* modify proposed.terminalShellEnv.d.ts

* remember we dont have acccess to nonce in .fish script

* save progress, adding isTrusted

* two arrays approach in fish

* provide EnvClear for fish, other shell as well.

* fix tests

* REMOVE TWO ARRAYS METHOD, always send all env

* remove deprecated comments

* remove junk get ready for review

* dont import vscode in terminal/common/capabilities.ts

* take feedback => pass in Clear as part of EnvSingleStart

* add env clear argument to SI.zsh

* update one more place to prevent vscode import

* mandatory flag description?? discuss this

* make things right
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>

* comment out test code

* use mapsStrictEqualIgnoreOrder instead of equals

* ready to go
2025-02-20 19:42:48 +01:00
Benjamin Pasero 89fef848ef
Provide encoding-related APIs for editor extensions (#824) (#240804) 2025-02-20 12:04:34 +01:00
Benjamin Pasero c23ad8d163
tests 2025-02-19 15:16:58 +01:00
Benjamin Pasero 6cb4d19196
. 2025-02-19 14:03:20 +01:00
Benjamin Pasero da6fc30c98
rewind 2025-02-19 12:53:49 +01:00
Benjamin Pasero 52d6a94d3d
add tests 2025-02-19 12:42:36 +01:00
Benjamin Pasero 6600b07e5c
files - add `decode` method (#824) 2025-02-19 09:26:13 +01:00
Benjamin Pasero a870e67290
documents - expose `encoding` as proposed API (part of #824) (#240790) 2025-02-14 15:31:51 +01:00
Ladislau Szomoru 428eb0cc55
API - cleanup API proposals (#240418) 2025-02-11 20:30:32 +01:00
Rob Lourens 5e5183a362
🔪 DELETE chatVariableResolver API proposal 💀 (#239755)
* 🔪 DELETE chatVariableResolver API proposal 💀

* Remove import

* Remove chat variable test

* Bump distro
2025-02-07 19:03:21 +01:00
Johannes Rieken 25613b514c
chore - enable integration tests that require latest insiders (#239918) 2025-02-07 11:31:23 +01:00
Benjamin Pasero 86b64aa4bc
files - abandon watcher correlation API proposal (#239906)
* files - abandon watcher correlation API proposal

* fix compile
2025-02-07 10:43:11 +01:00
Johannes Rieken 18946eca52
skip integration test that needs latest insiders (#239681) 2025-02-05 14:45:23 +01:00
Johannes Rieken 057edbab16
add sync vs async test case for error'ing `provideLanguageModelResponse` calls (#239676)
https://github.com/microsoft/vscode/issues/235322
2025-02-05 12:26:25 +01:00
Johannes Rieken cda13b71f4
Add test to assert LanguageModelError (#239474)
* add test for https://github.com/microsoft/vscode/issues/235322

* extract options/metadata
2025-02-03 10:35:37 +01:00
Matt Bierner 334fdfe437
Merge pull request #234858 from rgrunber/fix-63129
Expose adjustWhitespace to TextEditor API.
2025-01-31 10:21:13 -08:00
Benjamin Pasero cd3c0ac45b
Test failure: workspace.applyEdit drops the TextEdit if there is a RenameFile later #77735 (with opened editor) (fix #238837) (#238838) 2025-01-27 13:18:52 +01:00