Commit graph

107675 commits

Author SHA1 Message Date
KapitanOczywisty
06401b39b1
Update PHP grammar from fork (#180100) 2023-04-17 18:42:57 +00:00
Michael Blout
2de3b04eaf
Add debug API for call stack selection changes (63943) (#179132)
* feat: Initial pass at Debug Focus, listener for thread or stack frame
selection (#63943)

Add debug.onDidChangeDebugFocus. May provide ids for session, thread,
and stackFrame, as appropriate.

Fixes: #63943 api should provide thread/stack frame id (paraphrasing)

* chore: small comment tweaks in proposal

* fix: bad copy/paste in proposed. moved types out of 'debug' namespace

* fix: separate 'debugFocus' into thread and stackFrame specific
listeners, and create separate contexts for each

* fix: Revert prev change, switch to single api with union type

This reverts commit c308bc3a90.

* fix: rename accessor from 'focus' to 'stackFrameFocus'

* fix: review comments; remove unused type, imrpove comments

* fixL review comments, type change:  sessionID property cannot be undefined

* Remove comments

---------

Co-authored-by: Rob Lourens <roblourens@gmail.com>
2023-04-17 18:42:53 +00:00
Tyler James Leonhardt
d3d397c7e6
Lower debounce to 200ms (#180145) 2023-04-17 19:26:12 +01:00
Tyler James Leonhardt
ec468246c1
Allow preference to be honored at the Workspace level (#180142)
This will allow you to have workspace level preferences of accounts. The ideal flow is that an extension can ask for the preferred session (silently) first, to not annoy the user... and if the extension/user wants to use a different account, the extension can ask to clear the session preference and the user will select the account they want to use.

Also serializes the adding of accounts in the menu which allows every account shows up instead of just the last account (a bug I noticed doing this work)

ref https://github.com/microsoft/vscode/issues/152399
2023-04-17 18:33:42 +01:00
Henning Dieterichs
732f21cd9c
Fixes #179134. Adds flag suppressSuggestions to inline completion result. (#180129)
* Fixes #179134. Adds flag suppressSuggestions to inline completion result.

* Fixes memory leak.

* Implements hidden keepOnBlur editor flag for inline suggestions to make debugging easier.

* Fixes inline suggestion visibility bug

* Implements experimental forward stability flag (defaults to false).
2023-04-17 10:19:59 -07:00
Connor Peet
34f65dc1d7
cli: update hyper for cg (#180135) 2023-04-17 10:19:53 -07:00
Logan Ramos
ada796969b
Fix trusted telemetry serialization (#180134) 2023-04-17 16:25:33 +01:00
Sandeep Somavarapu
f63c43c8c0
Show publishers in the recommendation prompt (#180127)
fix #179004
Show publishers in the recommendation prompt
2023-04-17 15:15:51 +01:00
Alexandru Dima
0f194ab067
Fix rendering of lines decorations and margin decorations (#180120)
Fix rendering of lines decorations and margin decorations (fixes #180107)
2023-04-17 12:57:37 +01:00
Henning Dieterichs
29edceaefb
Merge pull request #179988 from microsoft/hediet/inline-completion-rewrite
Rewrites the inline completion feature.
2023-04-17 12:24:08 +02:00
Henning Dieterichs
d3b937d7be
Fixes bug in preserving completion logic. 2023-04-17 12:09:37 +02:00
Henning Dieterichs
cb0e59c566
Rewrites the inline completion feature.
Fixes #172162
Fixes #174329
Fixes #172153
Fixes #164716
Fixes #170527
2023-04-17 11:52:32 +02:00
Henning Dieterichs
5b5b1c3cc3
Merge pull request #179865 from microsoft/hediet/b/quaint-hawk
Changes default diff algorithm to experimental
2023-04-17 09:59:39 +02:00
dependabot[bot]
1e774371f2
Bump h2 from 0.3.14 to 0.3.17 in /cli (#179890)
Bumps [h2](https://github.com/hyperium/h2) from 0.3.14 to 0.3.17.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.14...v0.3.17)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-15 21:11:48 -07:00
Rob Lourens
682afdd61d
More codeblock actions and padding tweak (#180017)
* Fix chat codeblock padding

* Add more codeblock actions
2023-04-14 17:22:06 -07:00
Peng Lyu
6da2ce447d
Switch cells to editing mode once there is replace str. (#180015) 2023-04-14 16:41:40 -07:00
Andrea Mah
e753a972b7
call notebookSearch instead of getLocalNotebookResults (#180016)
* call notebookSearch instead of getLocalNotebookResults
2023-04-14 16:17:27 -07:00
Megan Rogge
2dfc78b066
Merge pull request #180014 from microsoft/merogge/focusSearch
fix #179123
2023-04-14 14:52:45 -07:00
meganrogge
3b67f3c4e9
fix #179123 2023-04-14 14:36:44 -07:00
Megan Rogge
09e830c3d9
Merge pull request #180009 from microsoft/merogge/simplify-search-aria
rearrange search result aria label
2023-04-14 14:13:56 -07:00
Megan Rogge
30a8f691ae
Merge pull request #179885 from microsoft/merogge/audio-2
only read inline suggestion once to screen readers, cache audio cues
2023-04-14 13:49:18 -07:00
Andrea Mah
7425cba412
Add tests for notebook search (#179989)
Fixes #179985
2023-04-14 13:49:12 -07:00
meganrogge
49c3a9620e
include search string 2023-04-14 13:46:16 -07:00
meganrogge
14c0adea90
append the matchString 2023-04-14 13:32:58 -07:00
Tyler James Leonhardt
c39c33a062
Initial implementation of ask interactive if no commands match (#180003) 2023-04-14 13:25:07 -07:00
Rob Lourens
9193bf4f6d
Fix bad check for undefined viewmodel (#179996) 2023-04-14 13:24:04 -07:00
Megan Rogge
056dab52fd
Merge branch 'main' into merogge/audio-2 2023-04-14 13:01:21 -07:00
Rob Lourens
acdea2b236
Restore Interactive Session editors (#179995)
* Restore Interactive Session editors, with fixes

* Fix issues related to chat editor and assuming that only one chat session exists
2023-04-14 19:42:29 +01:00
Johannes Rieken
bfc2fe63cc
include editMode in telemetry events (#179986) 2023-04-14 11:13:58 -07:00
Andrea Mah
aaee3fb28b
add Rob back onto search issues (#179992) 2023-04-14 10:59:10 -07:00
Peng Lyu
76781a1a1b
Enable markup search hybrid mode (#177542)
* Enable markup search hybrid mode

* Experiment turning all cells into editing mode on replace

* Prepare for minimal find markdown mode

* Add settings for controlling the initial state for find in markdown cells

* Validate initial state
2023-04-14 18:48:51 +01:00
Robo
a24f964ea1
Revert "chore: update electron@22.4.6 (#179947)" (#179991)
This reverts commit 316995c8b6.
2023-04-14 18:37:17 +01:00
Johannes Rieken
b45aed4afc
fix merge errors (#179982) 2023-04-14 17:10:04 +01:00
Johannes Rieken
3f1b37dd86
Merge pull request #179965 from microsoft/joh/inlineDiff2
joh/inlineDiff2
2023-04-14 16:06:37 +02:00
Johannes
fb91cbdaaf
Merge branch 'main' into joh/inlineDiff2 2023-04-14 15:50:58 +02:00
Joyce Er
7bd1368261
Render glyph decorations by zIndex (#179910)
* Render glyph decorations by zIndex

* Use 0 as default zIndex

---------

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2023-04-14 15:15:15 +02:00
Johannes
294bc7b4d0
allow to pass widget options to embedded diff editor,
don't create IE controller inside its nested editors
ensure IE commands run from within nested diff editors

fixes https://github.com/microsoft/vscode-internalbacklog/issues/3911
2023-04-14 14:57:39 +02:00
Johannes
1bb00fa044
use better diff editor options
fixes https://github.com/microsoft/vscode-internalbacklog/issues/3910
fixes https://github.com/microsoft/vscode-internalbacklog/issues/3907
2023-04-14 14:38:22 +02:00
Johannes
006bbdf9a8
tweak action name 2023-04-14 14:33:47 +02:00
Johannes
324596dcb2
support simple file create preview with live preview 2023-04-14 14:08:51 +02:00
Ladislau Szomoru
218b8bd8da
SCM - Add document property to expose the text document (#171504) 2023-04-14 13:55:14 +02:00
Johannes
e3888ffb1d
tweak colors of embedded diff editor (livePreview) 2023-04-14 11:11:16 +02:00
Robo
316995c8b6
chore: update electron@22.4.6 (#179947) 2023-04-14 09:45:30 +01:00
Johannes
f2624a2205
full cancel when different model is set 2023-04-14 10:28:53 +02:00
Johannes
0f6b22721a
improve hidden area in diff editor 2023-04-14 10:27:06 +02:00
Johannes
d4a6417633
update diff editor width on resize 2023-04-14 10:14:38 +02:00
Johannes
bb08d3697e
extract some parts into preview and live strategies 2023-04-14 10:08:23 +02:00
Johannes
9567c0cea0
fix default width on first showing 2023-04-14 08:57:29 +02:00
Raymond Zhao
3ad5774eb8
Bump sqlite to version 5.1.4-vscode (#179930)
Bump sqlite to 5.1.4-vscode
2023-04-14 10:48:06 +09:00
Andrea Mah
98b2b647b4
notebook search: notebook matches duplicate (#179920)
Fixes #179916
2023-04-13 16:04:51 -07:00