Commit graph

98677 commits

Author SHA1 Message Date
Benjamin Pasero aeb4a695fc
tests - speed up unit tests (#149712) (#155147)
* tests - convert history tracker to in-memory (#149712)

* fix warnings from missing service

* sqlite slowness

* disable flush on write in tests unless disk tests

* more runWithFakedTimers

* disable flush also in pfs

* fix compile
2022-07-15 12:12:56 +00:00
Johannes Rieken 070f29955d
send workbenchActionExecuted from CC to measure its success (#155297)
fixes https://github.com/microsoft/vscode-internalbacklog/issues/3005
2022-07-15 13:13:06 +02:00
Johannes Rieken 82f71da8b6
Merge pull request #155295 from microsoft/joh/tired-reptile
joh/tired reptile
2022-07-15 13:12:11 +02:00
Johannes Rieken ccba8ca437
track usage of snippets to support snippet LRU (#155289)
enforce that all snippets have an identifier, mark a snippet as used after completing with it or after inserting one, store the last 100 snippet usages per (user, profile)
2022-07-15 13:11:09 +02:00
Johannes 7b4bf4a870
deprecate es5ClassCompat and explain why 2022-07-15 12:40:45 +02:00
Johannes 6779fa3604
Revert "remove es5ClassCompat"
This reverts commit 05d2534e66.
2022-07-15 12:36:33 +02:00
Johannes Rieken 6f6e26fcdf
fix assumptions about action-bar title structure (#155292) 2022-07-15 10:23:03 +00:00
Sandeep Somavarapu d17e30f8b4
Fix #155157 (#155290) 2022-07-15 11:44:46 +02:00
Johannes Rieken 241057e45b
Merge pull request #152718 from babakks/add-surround-with-snippet-to-quick-fixes
🎁 Add "Surround with snippet" to quick fix menu
2022-07-15 11:40:47 +02:00
Sandeep Somavarapu 1e6ee2cc6b
Fix #155158 (#155288) 2022-07-15 11:12:33 +02:00
Johannes Rieken 54ce10dec2
move custom hover logic into BaseActionViewItem (#155278)
fixes https://github.com/microsoft/vscode/issues/153429
2022-07-15 11:11:19 +02:00
João Moreno 17213dc9bd
Publish stage should wait for web stage (#155284)
publish stage should wait for web stage
2022-07-15 11:10:39 +02:00
Johannes 4398625c32
* always show top N snippets and conditionally show action for all surroundable snippets
* remove `canExecute` which isn't needed - the "framework" makes sure we only called when it makes sense

* tweak styles to my preference and lipstick, try to contain things over loose functions and objects,
2022-07-15 09:59:09 +02:00
Megan Rogge 1cd90ccedd
make sure execute in terminal is reached (#155254) 2022-07-14 18:43:10 -07:00
Matt Bierner 394eaa9fa3
Fix md document links for untitled files (#155248) 2022-07-14 18:15:13 -07:00
Megan Rogge 171537fd73
fix command not found warning (#155250)
fix command not found part of #155163
2022-07-14 18:14:35 -07:00
Miguel Solorio 3b03ea741a
Increase contrast for diff inserted bg (#154969) 2022-07-15 00:04:46 +02:00
SteVen Batten c41b1ca956
Allow menubar to convert into hamburger below threshold (#155223)
fixes #152906
2022-07-14 14:40:53 -07:00
Megan Rogge 29a4da129d
remove terminal data when terminal is disposed of for reconnected terminals (#155233) 2022-07-14 13:46:30 -07:00
Tyler James Leonhardt c1956b8cce
concat arrays instead of replace because we want all items in the array (#155228) 2022-07-14 12:57:48 -07:00
Rob Lourens 4b6b842d03
Fix unhandled promise rejections for debug commands (#155220)
Fixes #154763
2022-07-14 12:30:49 -07:00
Daniel Imms 29e6da6efa
Merge pull request #155184 from microsoft/tyriar/155065
Fix link regex groups
2022-07-14 12:07:09 -07:00
Joyce Er a0c9ebe6b4
Disable chunking to prevent importScripts calls in web (#155226) 2022-07-14 18:55:38 +00:00
Alexandru Dima ef09cb02d4
Add try-catch around call that throws in ctor (#155224)
Add try-catch around call that throws in ctor (#151147)
2022-07-14 18:44:05 +00:00
Joyce Er 442f0bed1a
Fix: do not delete partially applied edit sessions (#155218) 2022-07-14 11:42:04 -07:00
Rob Lourens 0d9db9f16e
Don't ask debug adapter for initial configs when opening launch.json to add a dynamic config (#155215)
Fixes #153388
2022-07-14 11:40:06 -07:00
Peng Lyu 39c38c884a
Re #154948. No MenuItemAction in notebook (#155096) 2022-07-14 10:21:57 -07:00
Johannes Rieken 1878583319
read REBASE_HEAD when rebasing, swap yours/theirs (label, sides) as well (#155208)
https://github.com/microsoft/vscode/issues/153737
2022-07-14 09:23:44 -07:00
Sandeep Somavarapu 0abc5761ca
switch default - use browser request by default (#155205) 2022-07-14 15:28:25 +00:00
Daniel Imms 8f58d9df26
Use a non-capturing group to fix group indexes 2022-07-14 08:12:12 -07:00
Daniel Imms 44b7c86844
Merge pull request #155183 from microsoft/tyriar/155035
xterm@4.20.0-beta.13
2022-07-14 07:54:13 -07:00
João Moreno 385c0818cd
Move Web job into its own stage (#155193)
* split web from linux

fixes #155191

* reorder
2022-07-14 14:19:25 +00:00
Ladislau Szomoru 5022982829
Settings editor - Boolean setting description should take up the full width instead of just 60% (#155195)
Boolean setting description should take up the full width instead of just 60%
2022-07-14 14:07:06 +00:00
Sandeep Somavarapu ef1da197c1
add clear display language action (#155194) 2022-07-14 14:04:00 +00:00
Ladislau Szomoru ee18db8144
Sync Changes button - only show when local branch is ahead/behind the remote branch (#155192)
Only show Sync Changes button when local branch is ahead/behind the remote branch
2022-07-14 13:51:47 +00:00
Logan Ramos 89f9e79d5d
Polish New File... based on feedback (#155115) 2022-07-14 13:08:33 +00:00
Daniel Imms 2d126f6885
Fix link regex groups
Fixes #155065
2022-07-14 05:44:54 -07:00
Daniel Imms de91899be2
xterm@4.20.0-beta.13
Fixes #155035
2022-07-14 05:32:01 -07:00
Johannes Rieken 86fc94416c
tweak message when closing dirty and conflicting merge editor (#155176)
fyi @bpasero this ensures the close handler is always called with `IEditorIdentifier[]`

re https://github.com/microsoft/vscode/issues/152841
2022-07-14 14:29:42 +02:00
Daniel Imms e1146e0a25
Merge pull request #155046 from microsoft/tyriar/si_cli
Provide simpler route for activating shell integration
2022-07-14 04:47:22 -07:00
Alex Ross e06f679dbf
MainThreadHostTreeView: [createInstance] First service dependency of CustomTreeView at position 4 conflicts with 2 static arguments (#155160)
Fixes #155155
2022-07-14 09:03:35 +00:00
Johannes Rieken c12daa6ea9
add 'Open File' command to merge editor title bar (#155159)
fixes https://github.com/microsoft/vscode/issues/153690
2022-07-14 08:52:14 +00:00
Ladislau Szomoru 70a1ebd595
Git - Add events to IPostCommitCommandsProviderRegistry (#155051)
* Add events to IPostCommitCommandsProviderRegistry

* Pull request feedback
2022-07-14 10:46:57 +02:00
Benjamin Pasero c0e9fca625
electron - drop support for disable-color-correct-rendering (#155150) 2022-07-14 17:07:21 +09:00
Babak K. Shandiz c9ea02399b 💄 Improve field name for "Surround With Snippet" overflow code action
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2022-07-14 07:42:00 +00:00
Babak K. Shandiz 191d74549c 🔨 Apply "Surround With Snippet" code actions via workspace edits
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2022-07-14 07:41:08 +00:00
Babak K. Shandiz 6ea779daca 🐛 Fix not resolving variables SnippetSession.createEditsAndSnippetsFromEdits method
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2022-07-14 07:38:57 +00:00
Babak K. Shandiz d2232aff83 ⚗️ Add test to verify SnippetSession.createEditsAndSnippetsFromEdits resolves $SELECTION variable
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2022-07-14 07:38:15 +00:00
Babak K. Shandiz c6d246ebb8 ⚗️ Add stub implementation for IWorkspaceContextService.getWorkspace method
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2022-07-14 07:38:01 +00:00
Sandeep Somavarapu 9ce77765dd
add application to restricted settings (#155143) 2022-07-14 07:24:12 +00:00