Andrea Mah
5b33d87282
Merge pull request #226369 from microsoft/chronic-guanaco
...
properly connect search providers and handle undefined includes in findtextinfilesnew
2024-08-22 15:59:13 -07:00
andreamah
afde5137a2
properly connect search providers and handle undefined includes in findtextinfilesnew
2024-08-22 15:41:33 -07:00
Connor Peet
a3598f8118
testing: add basic coverage introspection to testObserver APIs ( #226211 )
...
* testing: add basic coverage introspection to testObserver APIs
* fix build
2024-08-22 15:31:01 -07:00
Alex Ross
38d8c3af71
Don't show HRs in the comments view ( #226362 )
2024-08-22 15:25:29 -07:00
David Dossett
23720fd8ed
Capitalize code action widget list items ( #226365 )
...
* Capitalize list items
2024-08-22 15:01:12 -07:00
Don Jayamanne
2fd1ec1f4c
Merge pull request #226220 from microsoft/don/issue224760.3
...
Support actions in notebook diff items
2024-08-23 07:53:56 +10:00
Don Jayamanne
7963f8fee9
fix formatting
2024-08-23 07:37:34 +10:00
David Dossett
a7ca86f791
Merge pull request #226363 from microsoft/ddossett/glamorous-quelea
...
Polish code action widget styles
2024-08-22 14:14:10 -07:00
David Dossett
f95c72233b
Polish code action widget styles
2024-08-22 13:58:19 -07:00
Don Jayamanne
ce562fcc75
Remove collapseall/showall
2024-08-23 06:30:27 +10:00
Ladislau Szomoru
1647dde06c
SCM - source control graph rendering improvements ( #226358 )
2024-08-22 22:25:46 +02:00
Alex Ross
58d5c31772
[Accessibility] Cannot escape the keyboard focus from the comment tooltip ( #226339 )
...
* [Accessibility] Cannot escape the keyboard focus from the comment tooltip
Fixes #226088
* Fix build error
2024-08-22 13:24:29 -07:00
Don Jayamanne
9754f5e14a
Misc
2024-08-23 06:10:14 +10:00
Alex Ross
d2b5ae4490
Fix tree sitter tree losing edits ( #226357 )
2024-08-22 22:02:38 +02:00
Don Jayamanne
ee85a46277
Support for more actions
2024-08-23 05:59:31 +10:00
Don Jayamanne
5809a68666
wip
2024-08-23 05:59:29 +10:00
Ladislau Szomoru
d45795cfc4
SCM - do not use a diffIdentityProvider ( #226356 )
2024-08-22 21:45:23 +02:00
Ladislau Szomoru
e74f1f3d44
SCM - add refresh command ( #226352 )
2024-08-22 20:59:24 +02:00
Joyce Er
9202d167f2
fix: track whether chat requests happened with intent detection ( #226350 )
2024-08-22 11:45:21 -07:00
Connor Peet
2bf25ee2fd
lm: a second rendition of returning data from LM tools ( #225634 )
...
* lm: a second rendition of returning data from LM tools
This is an alternative to #225454 . It allows the tool caller to pass
through token budget and counting information to the tool, and the
tool can then 'do its thing.'
Most of the actual implementation is in prompt-tsx with a new method to
render elements into a JSON-serializable form, and then splice them back
into the tree by the consumer. The implementation can be found here:
https://github.com/microsoft/vscode-prompt-tsx/tree/connor4312/tools-api-v2
On the tool side, this looks like:
```ts
vscode.lm.registerTool('myTestTool', {
async invoke(context, token): Promise<vscode.LanguageModelToolResult> {
return {
// context includes the token info:
'mytype': await renderElementJSON(MyCustomPrompt, {}, context, token),
toString() {
return 'hello world!'
}
};
},
});
```
I didn't make any nice wrappers yet, but the MVP consumer side looks like:
```
export class TestPrompt extends PromptElement {
async render(_state: void, sizing: PromptSizing) {
const result = await vscode.lm.invokeTool('myTestTool', {
parameters: {},
tokenBudget: sizing.tokenBudget,
countTokens: (v, token) => tokenizer.countTokens(v, token),
}, new vscode.CancellationTokenSource().token);
return (
<>
<elementJSON data={result.mytype} />
</>
);
}
}
```
I like this approach better. It avoids bleeding knowledge of TSX into
the extension host and comparatively simple.
* address comments
* address comments
2024-08-22 09:41:31 -07:00
Johannes Rieken
bf52a5cfb2
disable keybinding for startWithCurrentLine ( #226302 )
2024-08-22 17:52:30 +02:00
Benjamin Pasero
ddaf2a3cf8
esm - make migrate script support ESM->AMD ( #226285 )
...
* esm - make migrate script support ESM->AMD
* .
2024-08-22 17:30:21 +02:00
Daniel Imms
37e51f4440
Merge pull request #226286 from microsoft/tyriar/226249
...
Retain uri authority when picking multi-root terminal cwds
2024-08-22 08:28:03 -07:00
Daniel Imms
66e8605bba
Retain uri authority when picking multi-root terminal cwds
...
Fixes #226249
2024-08-22 08:10:01 -07:00
Johannes Rieken
149a026ff9
show toggle diff in zone only when it applies ( #226257 )
2024-08-22 16:18:57 +02:00
Johannes Rieken
f12921b077
fixes https://github.com/microsoft/vscode-copilot/issues/7481 ( #226256 )
2024-08-22 16:18:40 +02:00
Ladislau Szomoru
557228e262
SCM - Source Control Graph view ( #226250 )
...
* Added the new view
* Add support for getting N number of commits
* Added view title actions
* More work to enable view/repository actions
* Expand the view by default, and always show the last N commits
* Add context menu actions
* Improve actions
* Basic infinite scrolling implemented
* Better implementation using --skip instead of a cursor
* Do not refresh graph when pressing Refresh
* Refactor load more/caching
* Rename the view
* Add support for the find widget
2024-08-22 15:54:22 +02:00
Don Jayamanne
c6cd724fbc
Context key support for Multi-file diff items ( #226182 )
2024-08-22 15:31:53 +02:00
Aiday Marlen Kyzy
b8e4e034b6
Extracting the global NLS variables into functions ( #226078 )
...
* extracting the constants
* exporting from the specific file
2024-08-22 06:16:22 -07:00
Ladislau Szomoru
cd360e0318
SCM - remove incoming/outgoing/history graph from the Source Control view ( #226241 )
2024-08-22 12:42:14 +02:00
Benjamin Pasero
c2fbe28324
esm - make TTP pluggable ( #226179 ) ( #226231 )
2024-08-22 12:32:57 +02:00
Sandeep Somavarapu
6ab1a1e4fe
Fix uninstalling extension having packed extension which has a dependent #225962 ( #226239 )
2024-08-22 11:52:43 +02:00
Johannes Rieken
16bb31f856
Merge pull request #226171 from microsoft/joh/crooked-earwig
...
support for `export` "dependency" in amdX, also copy for non-source files
2024-08-22 11:05:06 +02:00
Johannes Rieken
7af685cb77
make inline chat zone the default ( #226230 )
...
* rename setting to `inlineChat.startWithOverlayWidget`
* have setting false by default
2024-08-22 11:02:57 +02:00
Johannes Rieken
7696e0f89c
Merge pull request #226170 from microsoft/joh/motionless-camel
...
inline chat from line should handle discarding more graceful
2024-08-22 10:55:52 +02:00
Johannes Rieken
62227ba093
Merge pull request #226163 from microsoft/joh/artificial-pinniped
...
fix codicon color in inline chat
2024-08-22 10:55:33 +02:00
Johannes
24af1f24eb
fix dependencies
2024-08-22 10:49:34 +02:00
Sandeep Somavarapu
7ae6c63bd0
call updates check directly ( #226166 )
2024-08-22 10:30:02 +02:00
Sandeep Somavarapu
53ff86e1cf
fix previewing profile in web ( #226228 )
2024-08-22 09:37:25 +02:00
Andrea Mah
c2aa3c4625
let findfiles2new use an array of includes/excludes ( #226103 )
...
* let findfiles2new use an array of includes/excludes
2024-08-21 19:14:01 -07:00
Peng Lyu
7e31cc0703
Add missing types for text buffer + notebook. ( #226214 )
2024-08-22 01:02:10 +02:00
Joyce Er
bd98667390
fix: allow chat participant handlers to determine whether they were invoked via participant detection ( #226213 )
2024-08-22 00:57:01 +02:00
Tyler James Leonhardt
6544b003dc
Bump msal-node and fix a bad contrast ratio ( #226210 )
...
Bumps MSAL-node which contains [my fix](https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/7247 ) that will actually show our error template.
Also fixes an A11y contrast issue with said error template.
2024-08-22 00:53:21 +02:00
Sandeep Somavarapu
a9cfa77428
Remove old profiles UI ( #226207 )
2024-08-21 15:43:46 -07:00
Connor Peet
291e384376
testing: polish display of missing sources, avoid duplicate source in peek ( #226205 )
2024-08-21 14:40:10 -07:00
Aaron Munger
a24e02eaab
Do not match filepaths for providing repl editor as re-open option ( #226208 )
2024-08-21 23:19:14 +02:00
Connor Peet
a80d5da5c0
testing: fix navigation actions should not be in the go-to group ( #226203 )
...
Fixes #225418
2024-08-21 21:42:23 +02:00
Peng Lyu
f55287a369
Fix #163943 . Preserve focused editor if focused cell is scrolled out of viewport. ( #226201 )
...
* Fix #163943 . Preserve focused editor if focused cell is scrolled out of viewport.
* fix memory leak
2024-08-21 21:23:04 +02:00
Andrew Branch
8aa9f87bd7
Merge branch 'main' into autoImportSpecifierExcludeRegexes
2024-08-21 12:15:30 -07:00
Andrew Branch
7b357dd3a5
[typescript-language-features] Add autoImportSpecifierExcludeRegexes preference
2024-08-21 12:10:36 -07:00