Commit graph

97531 commits

Author SHA1 Message Date
Robo 88c01e4825
chore: bump electron@18.3.3 (#152236) 2022-06-15 14:32:57 -07:00
Raymond Zhao 1c2afc392d
Simplify setting indicators (#152091)
Ref #151787
2022-06-15 11:25:39 -07:00
Benjamin Pasero 5f696f9955
fix smoke tests on linux (#152232) 2022-06-15 11:07:42 -07:00
Matt Bierner 13a80e03e2
Last pass using ?.() for method call (#152231)
Follow up on f17b33faf2

This handles sightly more complex cases, changing:

```ts
if (a) {
    a.b.c();
}
```

to:

```ts
a?.b.c();
```
2022-06-15 17:49:36 +00:00
Sandeep Somavarapu 38bdf5ab7d
adopt to application storage (#152224) 2022-06-15 13:40:59 -04:00
Matt Bierner 57037a7228
Fix <a> without href stripping html (#152230)
Fixes #152170
2022-06-15 13:40:30 -04:00
Matt Bierner 98ad4c15b5
Switch to std library Object functions (#152128)
- `fromMap` -> `Object.fromEntries`

- `values` -> `Object.values`
2022-06-15 16:34:32 +00:00
Matt Bierner 001d52cf6b
Add Symbol.iterator functions for vscode.d.ts collection types (#151806)
* Add entries functions for vscode.d.ts collection types

Fixes #151802

* Spelling

* Enable lib.iterable in vscode.d.ts

* Switch to use `Symbol.iterator` instead of `entries`

* Use extends Iterable in more places

* Fixing testItemCollection types

* Fixing exthost testing
2022-06-15 16:29:50 +00:00
Matt Bierner f17b33faf2
Use .?method() in more places (#152112)
Switches simple patterns like:

```ts
if (some.thing) {
    some.thing.method();
}
```

to:

```ts
some.thing?.method()
```

This is more concise and avoids having to repeat the `some.thing` part
2022-06-15 16:28:31 +00:00
Daniel Imms 6d379ac730
Merge pull request #152202 from microsoft/tyriar/151159
Setup local and remote pty host output channels
2022-06-15 09:04:47 -07:00
Daniel Imms 14d6d816b5
Merge pull request #152190 from microsoft/tyriar/152076
Localize 'Executing task' messages
2022-06-15 09:04:32 -07:00
Johannes Rieken dfc37187b0
rename ref-viewlet's publisher back to vscode (#152213) 2022-06-15 08:58:11 -07:00
Matt Bierner 9cd97eea68
Deprecate collections.forEach (#152132)
This marks `collections.forEach` as deprecated. We should use `Object.entries` instead

I've also removed the `remove` functionality since no callers were using it and updated the implementation to use `Object.entries`
2022-06-15 08:16:02 -07:00
Alex Ross 4e0f15a47b
Use dispose utility in commenting feature area (#152210) 2022-06-15 15:06:16 +00:00
Matt Bierner 354e1a0595
Finalize data file reading API (#152127)
Fixes #147481
Also reverts #150963 since the `kind` field is not being finalized
2022-06-15 07:56:02 -07:00
Alexandru Dima d132489cd0
Bring the css loader plugin into our sources (#152205) 2022-06-15 16:53:02 +02:00
Johannes Rieken 9e21aff42e
joh/ts transpile (#152199)
transpile-only tasks for client and extensions

* extract transpile into its own file
* add transpile-client task, polish transpiler
* add transpile-extensions, improve transpile logic
* move declaration of "const enum" above it usage so that it can be used with const-enum-inlining
* (ugly) make d.ts transpilation configurable because it is needed for extensions but a problem for client
* hack my way around so that `getOwnEmitOutputFilePath` is reusable by our transpile
* honor `noEmit` flag
2022-06-15 16:52:48 +02:00
Johannes Rieken 600bfb5995
remove unused code (#152208) 2022-06-15 14:52:04 +00:00
Sandeep Somavarapu e2d75fb98b
Clean up outdated builtin extensions (#152207)
Fix #151002
2022-06-15 14:50:01 +00:00
Alex Ross 6e1ea79174
Only show comment thread range when the comment is expanded (#152206)
Fixes #152067
2022-06-15 16:39:08 +02:00
Logan Ramos 9232ebbdcb
Fix 1ds appender (#152198) 2022-06-15 16:15:54 +02:00
Martin Aeschlimann 6bd36f5295
update seti (#152157) 2022-06-15 16:13:17 +02:00
Daniel Imms d649a6bde4
Setup remote pty host output channel
Fixes #151159
2022-06-15 06:50:59 -07:00
Daniel Imms cd3dd9e920
Create output channel for (local) pty host
Fixes #151159
2022-06-15 06:46:06 -07:00
Ladislau Szomoru 03be93691c
SourceControlInputBox API finalization (#152171) 2022-06-15 15:14:28 +02:00
Alexandru Dima 5e7d488b7c
Improve error message when a module cannot be bundled and exclude vs/nls from bundles (#152188) 2022-06-15 12:51:27 +00:00
Daniel Imms 4f66d556f2
Localize 'Executing task' messages
Fixes #152076
2022-06-15 05:48:32 -07:00
Benjamin Pasero 68433fb7fd
tests - remote invalid proposed API (#152181) 2022-06-15 14:34:56 +02:00
Alexandru Dima 132a7e6396
Dispose overview rulers when the diff editor model is set (#152182)
Fixes #152176: Dispose overview rulers when the diff editor model is set
2022-06-15 14:29:33 +02:00
Daniel Imms e07cc2a604
Merge pull request #152136 from microsoft/tyriar/151228
Try prevent duplicate placeholder decorations showing
2022-06-15 05:11:50 -07:00
Sandeep Somavarapu 83326654e3
use workspaceIdentifier while getting profile (#152177) 2022-06-15 14:00:59 +02:00
Sandeep Somavarapu f64b32466a
Merge pull request #152163 from microsoft/sandy081/technological-prawn
Support profiles creation, switching and removing
2022-06-15 13:33:55 +02:00
Daniel Imms a6a12cc08f
Merge pull request #152137 from microsoft/tyriar/test_icon
Set default icon for test tasks to beaker
2022-06-15 04:03:15 -07:00
João Moreno 8e2ec5a7ee
Revert "remove UpdateMode policy (#150357)" (#152155)
This reverts commit 73dda0c06a.
2022-06-15 07:56:48 +00:00
Sandeep Somavarapu 917f6978e9
- implement profile CRUD operations
- enable profile actions in dev mode
2022-06-15 09:54:31 +02:00
Benjamin Pasero 4192006454
Merge pull request #152045 from microsoft/ben/151490
Profile support for global storage
2022-06-15 09:49:30 +02:00
Benjamin Pasero ee1f284f5f
comment 2022-06-15 09:03:54 +02:00
Benjamin Pasero a4906e241e
dont create storage in default profile twice 2022-06-15 08:56:16 +02:00
Johannes Rieken 3d471d2ca9
Merge pull request #151841 from microsoft/joh/cute-bobcat 2022-06-15 08:46:12 +02:00
Benjamin Pasero efb5563dcf
revert experiment service change 2022-06-15 08:45:44 +02:00
Benjamin Pasero cdaf61edab
💄 2022-06-15 08:31:56 +02:00
Benjamin Pasero 0b74e15aff
ux - dont use grab cursor (fixes #151918) (#152146) 2022-06-14 21:56:26 -07:00
Matt Bierner ab85d3bd0d
Reduce delays on test (#152129)
For #149712
2022-06-14 21:27:01 -07:00
Benjamin Pasero 145f022c19
Merge branch 'main' into ben/151490 2022-06-15 06:20:38 +02:00
Daniel Imms 51113d25a7
Merge pull request #152121 from microsoft/tyriar/xterm_update_3
xterm@4.19.0-beta.60
2022-06-14 18:21:58 -07:00
Daniel Imms 26d5de2961
Set default icon for test tasks to beaker
Fixes #152057
2022-06-14 18:20:14 -07:00
Daniel Imms adf9340be6
Try prevent duplicate placeholder decorations showing
This adds these protections:

- Placeholders are now always disposed of before a new one is created,
this was the main reason for these issues.
- Prevent the command started event firing if it has already fired on
the same line.

Fixes #151228
2022-06-14 18:19:00 -07:00
Matt Bierner b4f0d4d906
Build VS Code using latest TS nightly (#152130)
* Build VS Code using latest TS nightly

* Fix build for new AST
2022-06-14 18:15:51 -07:00
Daniel Imms 24553232b2
Merge pull request #152114 from microsoft/tyriar/152087
Mention history in terminal persistence settings
2022-06-14 18:02:05 -07:00
Priyank Rastogi 9e1f017b8c
Add latex to markdown embedded languages (#151732) 2022-06-15 00:01:37 +00:00