Commit Graph

97681 Commits

Author SHA1 Message Date
Raymond Zhao
10e6e87682 Change modified in to use custom hover (#152401)
Ref #151787
2022-06-20 17:09:19 -07:00
Matt Bierner
3438b31b9b Expand paste controller to copy whole line on empty selection (#152689)
For #151326

This automatically expands the copy range to cover the entire line if the selection is empty and `editor.emptySelectionClipboard` is enabled
2022-06-20 23:58:32 +00:00
Matt Bierner
369252a027 Skip diagnostics for non-open md files (#152687)
Currently we only show diagnostics for opened tabs. This means we shouldn't waste time computing diagnostics for these non open files
2022-06-20 16:39:01 -07:00
Logan Ramos
963c961b59 Ensure 1DS can load on the web (#152678)
* Ensure 1DS can load on the web

* Add compiled file
2022-06-20 16:06:16 -07:00
Sandeep Somavarapu
fc609c00ef adopt to application scope (#152683) 2022-06-20 22:39:56 +00:00
Megan Rogge
eea3abd56f send start/end sequences for tasks with echo set to false (#152676)
fix #152645
2022-06-20 22:18:38 +00:00
Peng Lyu
2d4988b53b Prefer third party renderer over builtin one. (#152670) 2022-06-20 21:07:38 +02:00
Logan Ramos
273aa337e2 Preserve properties and measurements (#152665)
Don't spread data
2022-06-20 11:06:31 -07:00
Logan Ramos
3bb4ee09d5 Fix #152543 (#152651) 2022-06-20 11:05:51 -07:00
Matt Bierner
0bc3109761 Don't try parsing non-markdown files (#152661)
This fixes our references and rename provider to not try parsing non-markdown files as if they were markdown
2022-06-20 10:44:50 -07:00
Sandeep Somavarapu
b3dc3301dd ability to switch profile without reload (#152652)
* ability to switch profile without reload

* fix tests
2022-06-20 19:12:23 +02:00
John Murray
c8663870df Preserve spaces in testing labels using icons (#152630) (#152646) 2022-06-20 07:40:59 -07:00
Daniel Imms
8575a26b4e Merge pull request #152490 from microsoft/tyriar/152451_2
Use new method for settings in terminal split cwd smoke test
2022-06-20 07:14:14 -07:00
Robo
63ea7eae19 chore: bump electron@18.3.4 (#152624) 2022-06-20 12:31:20 +02:00
Alexandru Dima
5dd9d5d491 Fix port argument (#152541) (#152617) 2022-06-20 10:32:27 +02:00
Matt Bierner
4c72dedb4a Optimize markdown workspace scanning (#152563)
* Optimize markdown workspace scanning

- Adds cache for markdown file
- Avoid reading non-markdown files from disk (when we expect markdown files)
- Use `range.contains(pos)` instead of `range.intersects(range)`

* Don't remove cached document on change

We only want to invalidate the cached document when it is first opened (since the cached version is the one from disk). Otherwise we can use the live version of the doc
2022-06-19 09:40:10 -07:00
Matt Bierner
5a175207de Improve markdown link regexp (#152533)
* Improve markdown link regexp

This makes the markdown link regexp more readable and also combines the two regular expressions we were running

* Fixed backtracking
2022-06-19 06:25:54 +02:00
Logan Ramos
5ffcfde11d Fix 1DS part A internal flag (#152515) 2022-06-17 17:35:46 -07:00
Matt Bierner
78597fd026 Don't hardcode use of github slugifier (#152507)
Use `engine.slugifier` for this instead
2022-06-17 17:25:54 -04:00
David Dossett
993da80fa2 Update codicons (#152516) 2022-06-17 20:52:49 +00:00
Miguel Solorio
187c93d88f Update codicons (#152512)
- Add `map` and `map-filled`
- Remap `debug-stackframe-dot` to `circle-small-filled`
- Add `circle-small`
2b98cb89ec
2022-06-17 13:21:32 -07:00
Logan Ramos
0edb88f3b5 1DS appender for the web (#152489)
* 1ds web appender

* Start testing web
2022-06-17 15:10:04 -04:00
Matt Bierner
dea813ff7c Add table of contents provider abstraction (#152504)
We currently re-compute the same table of contents for markdown files multiple times. This is because multiple language features all need table of contents

With this change, we introduce a new `TableOfContentsProvider` which maintains a cache of the table of contents per file. This provider is then passed into every caller that needs a toc
2022-06-17 18:20:02 +00:00
Logan Ramos
5947c2a93c Bump distro (#152483) 2022-06-17 10:18:36 -07:00
Benjamin Pasero
3c65f5295d api - polish USB command (#152424) 2022-06-17 10:15:38 -07:00
Daniel Imms
76ebe01ab7 Merge pull request #152408 from microsoft/tyriar/142855
Restore old buffers if no additional interactions happened
2022-06-17 10:12:57 -07:00
Daniel Imms
012a409a51 Make sure _serializer is set before calling setTitle 2022-06-17 10:04:23 -07:00
Daniel Imms
13e1d73a95 Merge pull request #152486 from microsoft/tyriar/152436
xterm-addon-webgl@0.12.0-beta.39
2022-06-17 08:53:46 -07:00
Daniel Imms
8e29aa44f7 Use new method for settings in terminal split cwd smoke test
I doubt this will fix the flake, but it's the right way to do things now.

Part of #152451
2022-06-17 08:44:31 -07:00
Daniel Imms
5b3213ac9a Merge pull request #152484 from microsoft/tyriar/152451
Disable terminal smoke tests on desktop/remote
2022-06-17 08:39:22 -07:00
Daniel Imms
1ed268719e xterm-addon-webgl@0.12.0-beta.39
Fixes #152436
2022-06-17 08:31:00 -07:00
Daniel Imms
1ca9725a3b Disable terminal smoke tests on desktop/remote
Fixes #152451
2022-06-17 08:18:49 -07:00
Alexandru Dima
252c65540d Adopt the same export patterns in vs/css as in vs/nls and bring over tests (#152396)
* Adopt the same export patterns in `vs/css` as in `vs/nls` and bring over tests

* Fix problem with loading nodejs modules
2022-06-17 17:12:27 +02:00
Miguel Solorio
b70e64d36b Increase color contrast for list highlight (#152351)
Increase color contrast (Refs #152184)
2022-06-17 07:54:16 -07:00
Martin Aeschlimann
083cf01e10 json indent pattern: handle escape characters (#152475) 2022-06-17 14:31:03 +00:00
Alexandru Dima
a3f6ec95e8 Merge pull request #152473 from microsoft/alexd/issue-151235
Always render the hover on the line of the anchor
2022-06-17 16:20:03 +02:00
Alexandru Dima
2e91c26f1d Avoid old import syntax (#152471) 2022-06-17 14:15:55 +00:00
Alex Dima
5ca287646d Fixes #151235: Always render the hover on the line of the anchor even if the hover provider returns a larger hover range 2022-06-17 16:02:21 +02:00
Alex Dima
a6c39bc1fc Extract hover range computation to a separate method 2022-06-17 15:51:15 +02:00
Martin Aeschlimann
a10626ee06 No warning on unknown product icon name (#152468) 2022-06-17 15:36:49 +02:00
Alexandru Dima
47652af0b6 Improve env variable handling around extension host connection type (#152466) 2022-06-17 09:20:53 -04:00
Alex Ross
0f05ed4758 Fix workbench.action.submitComment (#152464)
Fixes #151739
2022-06-17 14:34:37 +02:00
Johannes Rieken
d20d9d6558 add cross-origin-isolated to web-worker ext host iframe (#152462)
add `cross-origin-isolated` to web-worker ext host iframe, related https://github.com/microsoft/vscode/issues/137884
2022-06-17 14:34:11 +02:00
Johannes Rieken
5ff4901e69 joh/issue150907 (#152447)
* Use variants of the foreground color as CC border

* use panel border color for CC border default
2022-06-17 14:12:50 +02:00
Matt Bierner
b6b8d11032 Try aligning tree view drop handling (#150468)
* Try aligning external drop handling

Tree views provided the first public drag and drop api. We've since also adopted drag and drop for dropping into editors as well, which resulted in some duplicated code between it and the tree view implementation

This PR tried to better align the two by:

- Use `extractEditorsDropData` to add the uriList
- In the tree view, use `toVSDataTransfer` to convert the event to a `VSDataTransfer`
- Remove `convertKnownMimes` as `extractEditorsDropData` handles this now

* Add uriList for drag

* Also handle 'DataTransfers.RESOURCES'

* Fix monaco
2022-06-17 13:21:15 +02:00
Alex Ross
4e53b01452 Pull in cpp grammar fixes (#152449) 2022-06-17 11:17:09 +00:00
Martin Aeschlimann
630809a1ea html: observe insertFinalNewline (#152446) 2022-06-17 12:38:36 +02:00
Johannes Rieken
223ea2c4b5 Merge pull request #152216 from qingpeng9802/fix-symbolkindicon 2022-06-17 12:30:43 +02:00
Johannes Rieken
d545be6a89 Merge pull request #150272 from microsoft/joh/cheap-fox 2022-06-17 12:21:37 +02:00
Robo
dd0d79406e fix: OOM crash with linux smoke tests (#152440) 2022-06-17 03:04:20 -07:00