Commit Graph

129497 Commits

Author SHA1 Message Date
xymopen_Official
6a5991cfb6 Add node as npm script runner (#236967)
* refactor: Separate `createScriptRunnerTask` and `createInstallationTask` from `createTask`

* feat: Add `npm.scriptRunner`

* feat: Add Node.js as script runner

* refactor: Refactor `isPrePostScript`

* refactor: Extract `get*Command`

* fix: Typo

* style: Remove no-op `catch`es

* fix: `node --run` doesn't support `--silent`

* refactor: Use `.map` in `escapeCommandLine`

* chore: Remove TODO

Upstream reviewer is ok with current state
2025-02-07 17:26:29 +00:00
Martin Aeschlimann
5a42ab46c9 Merge pull request #239829 from microsoft/aeschli/untitledFilesInEdit
improve edit tool description to allow to edit untitled files
2025-02-07 17:25:03 +01:00
Daniel Imms
89481fa7e8 Merge pull request #239943 from microsoft/tyriar/239933
Normalize . and .. path prefix in terminal suggest
2025-02-07 07:48:17 -08:00
Daniel Imms
9dd415ff00 Merge pull request #239953 from microsoft/tyriar/239948
Request completions when backspacing past a slash
2025-02-07 07:44:32 -08:00
Henning Dieterichs
7a0449ad8b Fixes #234330 2025-02-07 16:43:08 +01:00
Megan Rogge
c86f25127b add editorStateInformation variable to window.title (#239879) 2025-02-07 16:40:19 +01:00
Johannes Rieken
f8f2609e3b Merge pull request #239956 from microsoft/joh/left-ladybug
reveal widget when response is cancelled, errored, or without code changes
2025-02-07 16:09:41 +01:00
Johannes
07f4329e12 reveal widget when response is cancelled, errored, or without code changes
fixes https://github.com/microsoft/vscode-copilot/issues/12392
2025-02-07 15:33:52 +01:00
Johannes
166346d782 make ESC also hide and terminal the inline chat session 2025-02-07 15:31:03 +01:00
Ladislau Szomoru
28b1230df3 SCM - 💄 graph node treatment on hover (#239947) 2025-02-07 15:30:05 +01:00
Daniel Imms
e5dee88fbe Request completions when backspacing past a slash
FIxes #239948
2025-02-07 06:23:57 -08:00
Alex Ross
85f4afd472 Narrator uses old Tree View title after title change (#239944)
Fixes #239375
2025-02-07 15:12:18 +01:00
Daniel Imms
ee457bc03b Merge pull request #239945 from microsoft/tyriar/239939
Manage action item disposables in a map
2025-02-07 06:11:21 -08:00
Daniel Imms
8770675b06 Manage action item disposables in a map
Fixes #239939
2025-02-07 05:52:56 -08:00
Johannes Rieken
b34eb3ff5a no double error handling (#239941) 2025-02-07 14:36:12 +01:00
Daniel Imms
d24c7f02b1 Normalize . and .. path prefix in terminal suggest
Fixes #239933
2025-02-07 05:34:25 -08:00
Alex Ross
40ad35ed6e Comments panel strips outer markdown element, causing the link handler to be omitted from the dom (#239940)
Fixes #239633
2025-02-07 14:28:19 +01:00
Johannes Rieken
09a758fb3f refactor the new inline chat controller so that switching is simpler (#239937) 2025-02-07 14:08:52 +01:00
Ladislau Szomoru
b42c7d0ee4 SCM - 🧰 fix disposable leak (#239931) 2025-02-07 13:01:29 +01:00
John Murray
2f6002c9eb Add scmResourceGroupState context key (#192009) (#194804)
* First pass at adding scmResourceGroupState context key for #192009

* Wire up SourceControlResourceGroup.contextValue

* Update

* Fix bad merge

* Pull request feedback

* More pull request feedback

* Do not set the contextValue when creating a resource group

* More cleanup

* More fixes

---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2025-02-07 11:13:32 +00:00
Johannes Rieken
ef68c2e7e0 fixes https://github.com/microsoft/vscode-copilot/issues/12493 (#239924) 2025-02-07 12:12:17 +01:00
Johannes Rieken
25613b514c chore - enable integration tests that require latest insiders (#239918) 2025-02-07 11:31:23 +01:00
Johannes Rieken
5352d8e6d2 dedupe property names for exthostunresponsive and startuptimevaried events (#239916)
https://github.com/microsoft/vscode-internalbacklog/issues/5334
2025-02-07 11:15:08 +01:00
Benjamin Christopher Simmonds
d76069d643 Fix tab border issues (#239915)
fix tab border
2025-02-07 11:13:41 +01:00
Johannes Rieken
b3481536d3 storing and restoring should consider multiple editing sessions (#239913)
https://github.com/microsoft/vscode-copilot/issues/12820
2025-02-07 11:04:38 +01:00
Matt Bierner
18edce9355 Merge pull request #239899 from mjbvz/rich-angelfish
Optimistically show `paste with imports` if TS server takes to long when computing imports to add
2025-02-07 01:49:30 -08: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
Alex Ross
bb2def3db4 Have a button in the simple file picker to show/hide hidden files (#239910)
Fixes #136307
2025-02-07 10:40:10 +01:00
Robo
a9dd4d35a6 feat: enable wco on macOS (#239666) 2025-02-07 10:33:44 +01:00
Sandeep Somavarapu
99bb19470d do not collide with common properties (#239908) 2025-02-07 10:29:46 +01:00
Alex Ross
a1d56fd8a2 Revert "workspaceFolder variable substitution in launch.json or tasks.json should use URI for virtual filesystems (#235954)" (#239905)
This reverts commit d3145c5087.

Fixes https://github.com/microsoft/vscode/issues/239903
2025-02-07 09:59:07 +01:00
Matt Bierner
569d6942e8 Use clearer reference 2025-02-07 00:31:33 -08:00
Matt Bierner
ae77c3ff42 Optimistically show paste with imports if TS server takes to long when computing imports to add
Fixes #235959

When pasting across files, sometimes users can see a spinner while we wait to see if TS has a `paste with imports` edit. This needs to be done even if we insert plain text by default so that we can then show the paste widget and user can select `paste with imports`

This change makes it so that if TS takes over 200ms, we assume that a paste operation may be available and return an unresolved edit for it. Only when the edit then actually needs to be applied, we wait for TS to respond

In most cases we won't need to wait because plain text will be pasted by default. Users will then only see the spinner after selecting `paste with imports`
2025-02-07 00:01:46 -08:00
Oleg Solomko
86bc5fa3b5 improve typeCheck utility (#239890) 2025-02-07 07:02:13 +00:00
Benjamin Pasero
ea1cad71f2 debt - fix leak with "Manage Extension" action in progress (#239893) 2025-02-06 23:01:53 -08:00
Oleg Solomko
e4c1babf22 use createUri() test utility in unit tests for Windows support 2025-02-06 21:34:48 -08:00
Oleg Solomko
a8f0ee5a50 cleanup commented out code, improve test utility and unit test results output 2025-02-06 21:34:48 -08:00
Oleg Solomko
41e4b55308 add unit tests for multi-root workspaces 2025-02-06 21:34:48 -08:00
Oleg Solomko
132ac27517 add object/array/string config unit tests for the single-root workspace case 2025-02-06 21:34:48 -08:00
Oleg Solomko
cd84a47370 add unit tests with mocked filesystem structure 2025-02-06 21:34:48 -08:00
Oleg Solomko
af183d6e4d refactor the mockFolder utility into Mockfilesystem class 2025-02-06 21:34:48 -08:00
Oleg Solomko
94a0316d6e move createFolder test utility to a common place 2025-02-06 21:34:48 -08:00
Oleg Solomko
467216e171 implement basic unit tests for the ChatInstructionsFileLocator class 2025-02-06 21:34:48 -08:00
Don Jayamanne
fe4d6a831a Enable Accept/Disard buttons in inline notebook chat (#239884) 2025-02-07 04:55:44 +01:00
Megan Rogge
7995280c58 indicate code block index in chat toolbar aria label (#239876)
fix #237794
2025-02-06 19:12:03 -08:00
Rob Lourens
94da87e5c9 Remove vscode-dts-region-comments (#239868)
This is from how the old vscode.proposed.d.ts was managed, and is no longer relevant
2025-02-06 17:45:08 -08:00
Megan Rogge
245b24a958 do not deal with single tab in disposable (#239865) 2025-02-07 01:11:16 +01:00
Osvaldo Ortega
c659faf5d8 Merge pull request #239863 from microsoft/osortega/ai-results-requested-context
Context for ai results requested
2025-02-06 16:09:33 -08:00
Justin Chen
fac0371425 fix error message when image not sent to model (#239861)
fix error message when image sent to model
2025-02-07 00:32:55 +01:00
Osvaldo Ortega
2b037b3802 Context for ai results requested 2025-02-06 15:30:59 -08:00