Commit graph

98802 commits

Author SHA1 Message Date
Henning Dieterichs 8630720a0b
Fixes #155179 by implementing DeprecatedExtensionMigratorContribution (#155318)
* Fixes #155179 by implementing DeprecatedExtensionMigratorContribution

* Fixes CI.
2022-07-15 18:15:12 +02:00
Johannes 92329e484e
add "start with snippet" to empty editor text, change things to use formatted text renderer (fixes https://github.com/microsoft/vscode/issues/155293) 2022-07-15 18:05:41 +02:00
João Moreno 05d1f4a5ee
dom: h should allow ids and multiple class names (#155311) 2022-07-15 17:27:02 +02:00
Johannes 7fd96dbcf5
tweak label 2022-07-15 17:24:41 +02:00
Megan Rogge f485d5e987
set to udf after (#155304) 2022-07-15 08:08:13 -07:00
Johannes 1be8606b70
make snippet-contribution a proper contrib-file, remove local registration into contrib-file, move command into their own folder, have a command to populate a file from a top-level snippet 2022-07-15 16:55:14 +02:00
Ladislau Szomoru 1d6c89473e
Commit Button - Fix issue related to button opacity when button is disabled (#155301)
Fix issue related to button opacity when button is disabled
2022-07-15 13:53:07 +00:00
Johannes 36846c19db
add concept of top level snippet and allow to get snippets without language filter 2022-07-15 15:38:55 +02:00
Johannes b8e6d89295
no hidden snippets as code action 2022-07-15 14:50:47 +02:00
Johannes 0fd8cd835c
surround with code action needs non-empty selection, uses active end of selection 2022-07-15 14:43:47 +02:00
Martin Aeschlimann e225afee30
Add syntax highlighting for .env files without extensions (#155298)
Add syntax highlighting for .env files without extensions. Fixes #154111
2022-07-15 12:24:40 +00:00
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
Johannes b64eaf5980
fix order 2022-07-15 08:42:01 +02:00
Johannes d3800d25a7
add context menu to hide/show CC and layout controls 2022-07-15 08:36:17 +02:00
Johannes 27bb32d00a
rename TitleBarContext to TitleBarTitleContext because that's what it is 2022-07-15 08:14:48 +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