Commit Graph

16045 Commits

Author SHA1 Message Date
Daniel Imms
2f7cd441c0 Don't revive URI before sending from ext to main
Fixes #235331
2025-06-12 12:58:58 -07:00
Ladislau Szomoru
9913e0238a GitHub - cleanup octokit auth (#251266)
Refactor auth
2025-06-12 12:41:33 +02:00
heoh
53a4ef7018 Fix markdown preview scroll crawls at EOF (fix #249278) 2025-06-12 03:56:11 +09:00
Megan Rogge
d1d6762ca8 support builtin commands for git bash (#251216)
fix #248558
2025-06-11 19:24:01 +02:00
Megan Rogge
defae8c9c0 provide proper URIs for remotes so suggest works for those envs (#251129)
fix wsl suggestions
2025-06-11 17:44:31 +02:00
Benjamin Pasero
13d49873b7 Support setting encoding from extension (fix #251188) (#251195) 2025-06-11 12:15:35 +02:00
Aaron Munger
fa298e0de0 skip flaky test (#251158) 2025-06-10 15:50:26 -07:00
Megan Rogge
b1cd91be02 de-dupe terminal suggest commands for which there are specs (#251142)
fix #244918
2025-06-10 14:18:20 -07:00
Aaron Munger
10066c9ec3 more certainty for resuming the paused emitter (#251130) 2025-06-10 12:30:54 -07:00
Megan Rogge
9641957a60 add multi-command support for terminal suggest (#250910) 2025-06-10 19:18:45 +00: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
Enzo Nunes
d9145a291d Fix line comment action for makefiles (Fixes #234464) (#243283)
* Fix line comment action for makefiles (Fixes #234464)

Pass languageId to _analyzeLines to distinguish makefiles
from the rest of the languages.

Add test to _analyzeLines specifically for makefiles.

* Remove hardcoded string. Apply fix at LanguageConfigurationService. Add comment rule to specify fixed column token placement. Change test scope to test line command instead of just testing the _analyzeLines method.

* change added field to use bool instead of user-chosen offset

* add check to remove comment detection

* add check to following space removal

* update branch. add config interface for new noindent option. adapt existing logic for new config format.

* fix small issue with following space removal

* polish

---------

Co-authored-by: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
2025-06-06 11:22:37 +02:00
Tyler James Leonhardt
89fbfc20ab Fix race condition in unregistering authentication providers (#250667)
A minimal change for endgame.
2025-06-04 13:35:13 -07:00
Ladislau Szomoru
39500b94ef GitHub - fix auth regression (#250556)
* Revert "GitHub - fix regression in `getOctokitGraphql()` (#249355)"

This reverts commit 3381c264e1.

* Fix graphql client caching
2025-06-03 13:13:53 -07:00
Martin Aeschlimann
dc3a870478 Unresolved setting id in html setting (#248220) 2025-06-03 08:26:07 +00:00
Tyler James Leonhardt
c235626145 issuer -> authorizationServer refactor (#250359)
* `issuer` -> `authorizationServer` refactor

Also:
* adds `authorizationServerGlobs` to the authentication contribution schema
* removes ugly MCP issuer hack and instead plumbs the authorizationServer down to the new auth providers
2025-06-02 17:38:21 -07:00
Martin Aeschlimann
5c6caa7eb6 Polish configure prompt files dialog (#250325)
* Polish comfigure prompt files dialog

* add rename
2025-06-02 19:41:55 +00:00
Martin Aeschlimann
a74b37c62f [css/json/html] update services (#250307) 2025-06-02 17:48:12 +00:00
Ladislau Szomoru
6e189da432 Git - add extension API to get the repository root (#250044)
* Git - add extension API to get the repository root

* Pull request feedback
2025-05-30 18:13:55 +00:00
Ladislau Szomoru
973a531c70 Git - add logging for askpass (#250109) 2025-05-30 09:17:20 -04:00
Justin Chen
7f3d92fe40 many chat ui improvements (#250022)
* many chat ui improvements

* better handling of request VM
2025-05-28 18:45:25 -07:00
Ladislau Szomoru
e8abd52cf7 Git - provideOriginalResource() should handle symbolic links (#249920) 2025-05-27 11:28:57 -07:00
Ladislau Szomoru
963bf2e2ad Git - handle the scenarion in which Recycle Bin/Trash are not supported (#249890) 2025-05-27 16:56:31 +02:00
nomike
c80442dee0 Enhance GithHub publishing logic to handle renamed repositories (#245024)
* Enhance GithHub publishing logic to handle renamed repositories.

* Make "result" const as it is never reassigned.

* Pull request feedback

---------

Co-authored-by: nomike <nomike@nomike.cpm>
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2025-05-27 13:20:25 +00:00
Ladislau Szomoru
28af0e9aeb Git - include short commit hash in the ref picker details (#249874) 2025-05-27 11:51:40 +02:00
Ladislau Szomoru
804f18c995 Git - ref pickers should use commitShortHashLength setting (#249869) 2025-05-27 02:09:28 -07:00
Ladislau Szomoru
761976573f SCM - add the ability to search for a history item (#249819)
* WIP implementation illustrating the problem

* Tweak searching

* Saving my work

* Use the cancellation token

* Adopt delayer

* Remove debug messages
2025-05-26 17:16:06 +02:00
Ladislau Szomoru
28b55a766c SCM - add cancellation token to history provider (#249808) 2025-05-26 03:26:40 -07:00
Ladislau Szomoru
e806b1ba01 GitHub - only prompt once to authenticate in the avatar provider (#249785) 2025-05-26 01:30:03 -07:00
Ladislau Szomoru
c1ed063624 Git - sequantialize calls to git config (#249709) 2025-05-24 07:22:35 -07:00
Jean Pierre
36ce9d0b7c Fix timeline git requests are not cancelled when switching editors too fast (#244335)
* Cancel git log commands from timeline

* Don't delete timeline requests when cancelled as they already got deleted

---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2025-05-23 17:30:56 +00:00
Alex Ross
ba42f2d6e7 Treesitter-refactoring (#249608)
* wip

* Refactoring TokenizationTextModelPart

* treeSitterTokensPart1

* fix casing

* fix casing 2

* wip models

* progress

* Take care of some of the boring refactor changes (#249429)

* Implements TreeSitterLibraryService

* progress

* more progress

* Removes befores

* Take care of some of the boring refactor changes

* Settable observable

* Get things running

* Fix tree not updated when event files (#249544)

* Fix tree not updated when event files

* Update on Theme change

* Implements visibleLineRanges

* File renames and initial tree handling

* Fixes enter indentation bug

* Get tree sitter tokenization tests passing again

* Get colorize tests running again, minus injected regex test

* Fix monaco editor checks

* More standalone editor fixes

* Fix hygiene

* Fix TestTextModel

* Fix more tests

---------

Co-authored-by: Henning Dieterichs <hdieterichs@microsoft.com>
2025-05-23 16:30:38 +02:00
Matt Bierner
6dbeb7ba5f Merge pull request #249520 from mjbvz/western-slug
Fix sanitizer call
2025-05-22 12:53:03 -07:00
Martin Aeschlimann
dd95553e79 add manage custom chat modes command (#249569) 2025-05-22 12:22:58 -07:00
Alex Ross
2a17434963 Update Go grammar (#249525) 2025-05-22 01:27:50 -07:00
Matt Bierner
b6f2887eb0 Fix sanitizer call
Fixes #247432
2025-05-22 00:23:05 -07:00
Matt Bierner
73f244c82b Make sure to escape cspSource
Good practice

Also makes sure we don't include full file uris in the csp
2025-05-22 00:01:01 -07:00
Matt Bierner
f3c630ae0b Merge pull request #249413 from mjbvz/little-vicuna
Pick up latest vscode-markdown-languageserver
2025-05-21 10:17:39 -07:00
Johannes Rieken
2e59a77991 Add support for tool sets (#249448)
* observale map/set

* adds tool sets, let mcp contribute tool set, update commands

* add `languageModelToolSets` contribution point that allows extensions to define set of tools

* only homogenous tool sets hide the tools they contain (that is set and all its tools are from the same source)

* make sure checking/unchecking buckets works

* make it more clear that the action is about tool configuration (not selecting/attaching)

* simplify `IToolSet#tools`

* support `*.toolset.json` files

* one bucket for all MCP servers

* use mcp icon

* use `.toolsets.json` suffix

* [tools config-pick] keep parents, peek sort order

* * add "Configure Tool Sets" actions
* make it `toolsets.jsonc` and register schema etc pp
* fix some tools picker issues

* add tool sets validation

* * tools completions
* Add ToolDataSource.Internal constant

* add missing return

* make tool set a class

* allow a tool set to contain other tool sets

* use dynamic schema for `toolsets.jsonc` language features

* fix tests
2025-05-21 06:54:14 -07:00
Ely Ronnen
6209ba20b4 Update log tmLanguage from vscode-logfile-highlighter 3.4.1 (#249046)
* update log tmLanguage from vscode-logfile-highlighter 3.4.1

* fix colorize tests for log

* Run update grammar script

---------

Co-authored-by: Alex Ross <38270282+alexr00@users.noreply.github.com>
2025-05-21 07:36:20 +00:00
Matt Bierner
d4d2f93bf7 Pick up latest vscode-markdown-languageserver 2025-05-20 19:28:34 -07:00
Ladislau Szomoru
3381c264e1 GitHub - fix regression in getOctokitGraphql() (#249355) 2025-05-20 16:43:20 +02:00
Ladislau Szomoru
70107d1562 GitHub - fix graphql query regression following the ESM migration (#249340) 2025-05-20 12:09:15 +02:00
Dirk Bäumer
bda84a72af Merge pull request #249310 from microsoft/dbaeumer/rare-cicada-moccasin
Capture commands in queue and pending responses in telemetry
2025-05-20 09:39:21 +02:00
Matt Bierner
c5dfef1d20 Merge pull request #249323 from mjbvz/level-kite
Include preview roots in list of allowed markdown preview csp roots
2025-05-19 17:04:15 -07:00
Matt Bierner
aa986f0d99 Include preview roots in list of allowed markdown preview csp roots
Fixes #249321
2025-05-19 16:47:17 -07:00
Dirk Baeumer
bd9d26deb3 Add pending commands in queue order 2025-05-19 21:30:24 +02:00
Dirk Baeumer
155d317f52 Always capture command in callback 2025-05-19 20:53:57 +02:00
Dirk Baeumer
1b196d8046 Print queued command and pending response command names 2025-05-19 19:12:12 +02:00
Ladislau Szomoru
84fb005bbd Git - do not add ellipsis to history item subject/timeline item label (#249086) 2025-05-16 02:54:40 -07:00