Commit graph

97214 commits

Author SHA1 Message Date
Johannes 2c004b870f
recompile build folder with const over let 2022-06-09 10:59:11 +02:00
Johannes 9792b8e561
fix let vs const regression introduced by manual fix 2022-06-09 10:50:30 +02:00
Johannes 43c31079ee
manual fixing of prefer-const violations 2022-06-09 10:19:56 +02:00
Johannes 0f6f41890b
split manual work into managable chunks and (again) disable const-destructuring unless all are const 2022-06-09 09:30:36 +02:00
Johannes 3622010b64
Merge branch 'main' into joh/voluminous-lobster 2022-06-09 09:08:20 +02:00
Benjamin Pasero 54ae4d8ccb
Convert history commands to Action2 (#151524)
* Convert history commands to `Action2`

* address feedback

* address comments
2022-06-09 08:41:12 +02:00
Matt Bierner 640898db17
Update to build using latest TS nightly (#151576) 2022-06-08 22:02:49 -04:00
Matt Bierner 088e2a8d6c
Fix some missing registrations (#151575)
Noticed these calls were not using the returned disposable
2022-06-09 01:10:35 +00:00
Matt Bierner dc3b8f2456
Allow paste API to replace metadata on copy (#151572)
This lets the paste api replace data, such as `text/plain` on copy
2022-06-08 20:30:54 -04:00
Matt Bierner 23c073031e
Show drag uis as soon as shift is released (#151569)
Fixes #150995
2022-06-08 23:09:36 +00:00
Raymond Zhao 0f1679624b
Adjust padding and outline of Settings editor scope widget tabs (#151567)
Fixes #146491
2022-06-08 23:02:26 +00:00
Matt Bierner 7bbfca331c
Finalize the notebook markdown renderer extension api (#151467)
Fixes #121256
2022-06-08 14:46:31 -07:00
Matt Bierner d7c90c2b2b
Update text editor drop proposal (#151552)
This updates the text editor drop proposal (#142990). This change introduces `DocumentDropEdit` which removes the need for `SnippetTextEdit`. This interface may also be extended in the future with additional metadata
2022-06-08 17:44:28 -04:00
Logan Ramos 83b94a5c03
Add user token to PR Chat (#151556)
Add user token
2022-06-08 17:37:44 -04:00
Tyler James Leonhardt ecfcde01f5
Shorten name of separators (#151553)
shorten name
2022-06-08 17:02:04 -04:00
Megan Rogge 28f119c72a
set vars to "" if the no_unset option is provided to zsh (#151542)
fix #145581
2022-06-08 12:30:03 -07:00
Matt Bierner 48cfaa2187
Fix rename of paths in markdown reference link definitions (#151545)
Fixes #151117
2022-06-08 19:20:17 +00:00
Matt Bierner 370dfd5fee
Iterate on paste edit provider api (#151477)
* Iterate on paste edit provider api

For #30066

- Pass all selections to paste providers. For #151326
- Introduce `DocumentPasteEdit` as return type. This new type uses an `insertText` that is applied to every paste location (for multicursor), plus an optional additional edit
-  Add `DocumentPasteProviderMetadata`. This lets extensions tell us which types of mimetypes they are interested in, letting us avoid round trips if no extensions care about the pasted data

* Correctly batch insertText
2022-06-08 15:06:55 -04:00
Andrew Branch 5a32c3ff17
[typescript-language-features] Pass through all typescript.unstable.* settings (#151472)
Pass through all `typescript.unstable.*` settings
2022-06-08 11:53:06 -07:00
Tyler James Leonhardt 06c4b0aa5a
Use notification instead for progress and ensure Language Pack gets synced (#151544) 2022-06-08 18:37:39 +00:00
Megan Rogge 601da405f5
dispose of marker first (#151540)
* fix #151225

* better
2022-06-08 18:10:28 +00:00
jram 6d91b80dd8
[npm extension] exclude top level npm_modules when detecting npm scripts in workspaces (#150205)
* Check if current folder is a path that should be excluded

* update regex to be an exact match
2022-06-08 10:46:54 -07:00
Rob Lourens 0ff2646b7c
Respect debug.console.closeOnEnd setting even when the debug console has been moved to another view. (#151535)
Close whichever view container contains the debug console.
Fixes #148616
2022-06-08 19:30:59 +02:00
Megan Rogge 4213c8e810
add condition for awaiting profiles in createTerminal (#151482)
check if length is 0
2022-06-08 10:06:10 -07:00
Connor Peet a7d2cfe5c5
debug: preserve scope expand state better (#151522)
Previously, we only expanded the top scope if there were no expanded
scopes lower down. I think this is too consevative. Chrome Devtools
doesn't do this, and I don't think we should either.

Second, we had some logic to preserve the expanded scopes. However,
this was being based on the scope index, which if you step inside a
function and have blocks with the same name, is likely to not be
preserved between loads. Instead, form the scope ID based on a quick
hash of its name _and_ location, which is preserved better.

I think this should solve some of @jrieken's papercuts.
2022-06-08 19:00:18 +02:00
Megan Rogge 1b093f9bf7
use : separator for formulated task name (#151440)
fix #149676
2022-06-08 09:53:34 -07:00
Rob Lourens c38afc571d
Switch deprecated editor.document -> editor.notebook (#151530) 2022-06-08 09:35:00 -07:00
Johannes b501e62963
add explict type-annotation after making variable const 2022-06-08 17:54:10 +02:00
Johannes 0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Johannes aa23a0dbb7
use prefer-const default config 2022-06-08 17:46:25 +02:00
Jean Pierre bdc8850815
Fix missing symlink explorer decoration if file is opened from quickpick (#147629)
Fix #147628
2022-06-08 15:43:48 +00:00
Sandeep Somavarapu 737e8cc3de
Fix #151193 (#151520) 2022-06-08 17:16:21 +02:00
Tyler James Leonhardt adb16fa396
leverage the contribution to register the locale service instead (#151450) 2022-06-08 07:52:40 -07:00
Johannes Rieken d912e013fa
Merge pull request #151513 from microsoft/joh/joint-pheasant
update notebook milestones
2022-06-08 16:16:58 +02:00
Ladislau Szomoru 6f5fc17622
Git - use editor as commit message input (#151491) 2022-06-08 15:45:27 +02:00
Johannes da01cb05cb
update notebook milestones 2022-06-08 15:43:12 +02:00
Alexandru Dima 793b0fd550
Fix handling of remote authorities using ipv6 (#151500)
Fixes #151438: Fix handling of remote authorities using ipv6
2022-06-08 14:22:06 +02:00
余腾靖 d9f97a4e81
fix jsx text foreground in tomorrow-night theme (#151478) 2022-06-08 14:15:32 +02:00
Johannes 13b60e192d
prefer-const, ignore mixed destructuring statements for now 2022-06-08 11:16:24 +02:00
Connor Peet 21e6c2aac0
debug: enable crash reporter when running debugging (#151430) 2022-06-08 11:11:13 +02:00
Johannes 19f96d6ed1
add prefer-const lint rule 2022-06-08 10:59:14 +02:00
Ladislau Szomoru 7734233bce
Engineering - macOS sign job optimization (#151120) 2022-06-08 10:06:41 +02:00
Ladislau Szomoru dc1ee4b14c
Engineering - Do not run macOSTest job if VSCODE_STEP_ON_IT is set (#150794)
Do not run macOSTest job if VSCODE_STEP_ON_IT is set
2022-06-08 10:06:18 +02:00
Benjamin Pasero 2c0a136079
ux - hide quick pickers from command palette (#151489) 2022-06-08 09:24:49 +02:00
Benjamin Pasero 10e23028a7
debt - remove getBaseLabel (#151486) 2022-06-08 08:35:27 +02:00
Matt Bierner 1327d1eb50
Adopt ResourceMap in more places (#151475)
This changes switches to use the new `ResourceMap` type in more places in the markdown extension where we need to have a map/set with uris as the key
2022-06-08 08:34:06 +02:00
Rob Lourens 45818d7c31
Use label service (#149001)
* Use labelService #148410

* Fix unit tests for search using label service
2022-06-07 18:07:19 -07:00
Raymond Zhao 907cc3e3d8
Simplify default override indicator impl (#151461)
Fixes #151164
2022-06-07 18:01:04 -07:00
Matt Bierner 60a68d666d
Add resourceMap helper for markdown extension (#151471)
This change introduces a `ResoruceMap` map type that is essentially `Map<vscode.Uri, T>`

It also fixes a potential race condition with `MdWorkspaceCache` where two quick calls would both trigger init
2022-06-07 18:00:10 -07:00
Rob Lourens 5bbab47c7c
Debug breakpoint warning improvements (#151379)
* Show unverified breakpoint warning on breakpoint hover
For #142870

* Add warning icon to breakpoint hover as well

* Filter breakpoint warning indicator for breakpoints in languages that the debugger supports

* Update src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts

Co-authored-by: Connor Peet <connor@peet.io>

* Fix tests

* Fix tests

Co-authored-by: Connor Peet <connor@peet.io>
2022-06-07 19:46:04 -04:00