Commit graph

11125 commits

Author SHA1 Message Date
Christof Marti 63e5b8058a Async import only once 2021-06-04 21:42:23 +02:00
Eric Amodio 41b1406d3a Revert parts of "Fix #125395"
Re-enables GitHub extension in untrusted workspaces

From commit 01c6fb557d
2021-06-03 16:51:46 -04:00
Eric Amodio eab8d0403f Revert "Fixes #125350: disallow in untrusted ws"
This reverts commit 769e7080f4.
2021-06-03 16:51:46 -04:00
rebornix 11debc3846 Merge branch 'notebook/dev' into main 2021-06-03 13:32:46 -07:00
Matt Bierner fd430418a0
Refine CellInfo type (#125351)
For #125269

- Rename `CellInfo` - >`OutputItem` (only internally, we also need to update the published types)
- Move `id` into `OutputItem`
- Move `element` out of `OutputItem`
- Rename `renderCell` to `renderOutputItem`
- Rename `destoryCell` to `disposeOutputItem` (`dispose` is  the term we generally use in our APIs)
2021-06-03 13:01:02 -07:00
Johannes Rieken 8f9eedf001
Merge branch 'main' into notebook/dev 2021-06-03 16:36:47 +02:00
Sandeep Somavarapu 01c6fb557d
Fix #125395 2021-06-03 16:14:25 +02:00
Alex Ross 6d66648c51
Add snippets for ports attributes to settings helper
Fixes #125081
2021-06-03 11:27:32 +02:00
Johannes Rieken e43c3957f6
rename onDidChangeNotebookAssociation to onDidChangeSelectedNotebooks 2021-06-03 11:27:09 +02:00
Christof Marti 499e4948c7 Fix typo 2021-06-03 08:55:30 +02:00
Jackson Kearl ab1c920200
Try setting gettingStarted as default editor (#125321)
* Try setting gettingStarted as default editor

* Try fix getting started webview crashing in colorizer tests

* Dont focus overeagarly
2021-06-02 17:43:34 -07:00
rebornix 68e862e1d6 skip flaky window test. 2021-06-02 16:18:52 -07:00
Eric Amodio 769e7080f4 Fixes #125350: disallow in untrusted ws 2021-06-02 19:10:51 -04:00
rebornix 26cd18321b remove backwards compatible tests. 2021-06-02 14:12:21 -07:00
Johannes Rieken b5bdc48d55
use vscode.notebooks not vscode.notebook 2021-06-02 14:58:51 +02:00
Johannes Rieken 109c9d9486
adopt viewType everywhere and drop support for it, fixes https://github.com/microsoft/vscode/issues/125163 2021-06-02 12:05:19 +02:00
Johannes Rieken ac05ae7b6f
move file'ish things into workspace namespace 2021-06-02 09:43:07 +02:00
Johannes Rieken 0b6e70302f
remove deprecated API 2021-06-02 09:24:43 +02:00
Johannes Rieken ee87b2bd43
missing adopting for end-call 2021-06-02 08:22:26 +02:00
Johannes Rieken d487b379ba
Merge branch 'main' into notebook/dev 2021-06-02 08:16:13 +02:00
rebornix b154a3d304 skip view column test. 2021-06-01 18:30:38 -07:00
Rob Lourens 8df0f06858 Group startTime and endTime into a single object 2021-06-01 16:30:38 -07:00
Rob Lourens ef28d1663d Inline parameters to execution task start and end 2021-06-01 16:13:27 -07:00
Rob Lourens d2561813a8 Merge branch 'notebook/dev' into main 2021-06-01 15:11:23 -07:00
Johannes Rieken 6dbbcc2eee
fix compile issues... 2021-06-01 19:30:00 +02:00
Johannes Rieken 6fe84c402b
Merge pull request #125106 from microsoft/joh/api/noMetadataType
Remove dedicated types for notebook and cell metadata
2021-06-01 19:24:40 +02:00
Johannes Rieken 545b931b96
remove dedicated types for notebook and cell metadata 2021-06-01 14:50:53 +02:00
Johannes Rieken b1457fa4b6
remove NotebookCellOutputItem#metadata 2021-06-01 13:59:44 +02:00
Martin Aeschlimann d163f3f3d4
tooltip text grabbing broken. Fixes #124457 2021-06-01 10:26:50 +02:00
Martin Aeschlimann 24e1234559
[json/css/html] update services 2021-05-31 22:06:50 +02:00
Henning Dieterichs dcf81c6265
Removes g flag from wordPatterns. 2021-05-31 19:47:57 +02:00
Johannes Rieken 0a1046ada4
Merge branch 'notebook/dev' into main 2021-05-31 19:43:49 +02:00
Henning Dieterichs feed53b813
Merge branch 'main' into hediet/refactor-language-configuration 2021-05-31 19:40:48 +02:00
Christof Marti b7be98705f Update descriptions 2021-05-31 15:35:11 +02:00
Johannes Rieken 83d5e2bda0
rename namespace to notebooks, https://github.com/microsoft/vscode/issues/122922 2021-05-31 13:06:14 +02:00
Christof Marti 427f48b8d1 Add prebuild commands 2021-05-31 11:06:49 +02:00
Rob Lourens 887ff91a14 Merge branch 'notebook/dev' into main 2021-05-28 14:42:20 -07:00
Miguel Solorio e3354e26ef Whitespace characters are near invisible in High Contrast theme (Fixes #124612) 2021-05-28 20:43:10 +00:00
Tyler Leonhardt 15616f8d93
refactor codeExchangeProxy to use same route and use it for refresh token as well 2021-05-28 10:35:52 -07:00
Johannes Rieken 4202ab071a
rename NotebookCellOutput#outputs to #items 2021-05-28 17:57:50 +02:00
Tyler Leonhardt e0c8a76b7a
don't sort scope list. Fixes Microsoft/vscode-pull-request-github#2751 2021-05-27 16:45:59 -07:00
Matt Bierner 9eeb092206
Re-enable skipped test
Fixes #119146
2021-05-27 15:44:27 -07:00
Matt Bierner 280e007073
Add undocumented always syntax only TS server mode
Fixes #124649
2021-05-27 14:40:47 -07:00
rebornix 866ecdd45a Merge branch 'notebook/dev' into main 2021-05-27 14:04:55 -07:00
Matt Bierner b8f11107f7
Use @types/vscode-webview 2021-05-27 13:41:38 -07:00
Johannes Rieken 9ef57b5c21
remove NotebookCellOutputItem#value, https://github.com/microsoft/vscode/issues/123884 2021-05-27 14:55:25 +02:00
Martin Aeschlimann 693677c8a2
babel.config.json language mode should be 'jsonc'. Fixes #124683 2021-05-27 13:33:47 +02:00
Johannes Rieken 9d907212ba
rename NotebookCellExecutionTask to NotebookCellExecution 2021-05-27 12:14:20 +02:00
Martin Aeschlimann 5d534b94f8
dart: fix language configuration location 2021-05-27 12:10:11 +02:00
João Moreno 0637663fcf
fix isNoCorsEnvironment 2021-05-27 11:45:12 +02:00
Martin Aeschlimann c1d4497a31
Merge pull request #124664 from microsoft/aeschli/dart
dart as built-in language
2021-05-27 08:36:05 +02:00
Ikko Ashimine b5b059d2e2
fix typo in files.ts (#124693)
* fix typo in files.ts

occured -> occurred

* fix typos
2021-05-27 07:34:17 +02:00
Nicholas Rayburn c538781d78
add notification if tsserver logs are left on for more than 7 days (#124149)
* add notification if tsserver logs are left on for more than 7 days fix #123493

* extended tsserver logging notification updates

* cleanup excess new lines

* typescript loglevelmonitor cleanup

* remove todo
2021-05-26 13:23:12 -07:00
Matt Bierner 1e6b6cb684
Pick up TS 4.3 final
Fixes #122884
2021-05-26 12:55:32 -07:00
Matt Bierner 6a12866c3e
💄 2021-05-26 12:55:32 -07:00
Tyler Leonhardt f1a5d40aa7
refactor getCallbackEnvironment to return authority by default 2021-05-26 11:54:15 -07:00
Matt Bierner 9464d14f31
Make notebook renderer activate potentially async (#124647)
* Make notebook renderer activate potentially async

- Allow activate to be `async`
- Make `getRenderer` always return a promise instead of the api result directly

* Add comment on why we use async
2021-05-26 09:15:00 -07:00
Ashray Jha 5eb64c54ca
Modified markdown preview nested list styling (#124445)
* Modified markdown preview nested list styling

* Added proper styling to the nested list

* merge different rules into a single one
2021-05-26 09:05:35 -07:00
Martin Aeschlimann a961587ecf
dart as built-in language 2021-05-26 11:52:41 +02:00
Martin Aeschlimann 98dc73a329
unnecessary space in in julia cgmanifest 2021-05-26 11:48:20 +02:00
Matt Bierner 68efd480d0
Explicitly convert properties to strings before uploading 2021-05-25 18:30:18 -07:00
rebornix 473cfe28bf Revert "Revert "Merge branch 'main' of https://github.com/microsoft/vscode into main""
This reverts commit 7c01395da1.
2021-05-25 17:49:34 -07:00
Harald Kirschner 7c01395da1 Revert "Merge branch 'main' of https://github.com/microsoft/vscode into main"
This reverts commit 7a976501eb, reversing
changes made to 2257676834.
2021-05-25 17:19:40 -07:00
rebornix b4f4839da5 fix integration test 2021-05-25 14:31:40 -07:00
rebornix 6bcd590a70 Merge branch 'notebook/dev' into main 2021-05-25 14:24:16 -07:00
rebornix e1731e9104 fix build 2021-05-25 14:23:05 -07:00
Martin Aeschlimann 757fd91f04 Hide TestReolver.newWindow when in virtual workspace 2021-05-25 23:07:49 +02:00
Martin Aeschlimann cf2a866b7d test resolver: supports untrusted workspaces 2021-05-25 23:07:44 +02:00
Raymond Zhao 3ccbe2a6b1
Fixes #124247 2021-05-25 12:19:51 -07:00
Martin Aeschlimann 741beb8f26
TestResolver, use 127.0.0.1, not localhost 2021-05-25 16:30:57 +02:00
Johannes Rieken ffd1f84ea9
rename notebookOutputRenderer to notebookRenderer, https://github.com/microsoft/vscode/issues/121819 2021-05-25 12:31:53 +02:00
Matt Bierner b1823157d5
Fall back to existing published webview commit (#119295) 2021-05-24 22:36:22 -07:00
Daniel Imms b04c966892 Fix test resolver with trusted workspaces 2021-05-24 12:14:27 -07:00
Hassan Sani dbdc7a259e
added bottom spacing for table in markdown preview (#124385) 2021-05-24 12:14:01 -07:00
Matt Bierner b314536e56
Move find file references into the search group
For #115694
2021-05-21 17:59:54 -07:00
Matt Bierner 7bc2019b8d
Updating pinning test 2021-05-21 15:01:05 -07:00
Jean Pierre be8745ac9e
Fixes #123228 (#123584)
Co-authored-by: Matt Bierner <matb@microsoft.com>
2021-05-21 14:51:18 -07:00
Matt Bierner 6ee883bfa3
Split href before decoding instead of after
Fixes #123228

This fixes the case where `#` appears in the path
2021-05-21 14:49:46 -07:00
Matt Bierner 77ff6eb03b
Add image specific link normalizer (#124400) 2021-05-21 14:42:50 -07:00
Matt Bierner e9b8c12915
Add types 2021-05-21 14:36:19 -07:00
rebornix a03daaf850
Merge branch 'notebook/dev' into main 2021-05-21 14:13:43 -07:00
Matt Bierner 22dc518a21
Remove unused type 2021-05-21 12:16:49 -07:00
Matt Bierner 97bbacd808
Remove extra call to with 2021-05-21 12:16:49 -07:00
Matt Bierner 79dea51e79
Rewrite webview urls to be more url-ish
## Problem

Webview uris currently have the form:

```
https://uuid.vscode-webview.net/vscode-resource/scheme/authority/path...
```

We have this syntax because we need to be able to recover the original scheme and authority of the resource in order to load it from disk

However this syntax means that absolute urls don't behave as you'd expect. For example, if you have a webview that sets a `<base>` to a document in the workspace, an absolute url `/abs/path.png` ends up being resolved to:

```
https://uuid.vscode-webview.net/abs/path.png
```

This drops the original scheme and authority, which prevents us from loading the resource

## Fix
With this change, I've moved the original scheme and authority into the authority of the webview uri instead of the path:

```
https://scheme+authority.vscode-resource.uuid.vscode-webview.net/path...
```

With this change, absolute paths should correctly be resolved
2021-05-21 09:28:43 -07:00
Rob Lourens 70c87f0db9 Fix #124240 2021-05-21 09:12:57 -07:00
Johannes Rieken effac5be7f
drop as-prefix for ICreateCellInfo 2021-05-21 17:30:29 +02:00
Alex Dima 85f518b255
Add RemoteAuthorityResolver.getCanonicalURI 2021-05-21 16:48:14 +02:00
Martin Aeschlimann 32a06b9be2 [typescript] add limited description 2021-05-21 15:38:02 +02:00
Johannes Rieken 375a15f07e
Merge branch 'main' into notebook/dev 2021-05-21 12:59:49 +02:00
Johannes Rieken 494e827e35
expose output item bytes to renderers and provide util functions: asText, asJSON, asBytes, asBlob, fyi @connor4312, https://github.com/microsoft/vscode/issues/123884 2021-05-21 12:36:10 +02:00
Martin Aeschlimann 73c6f34f9e Do not recognize Debian's .install file as a shell script. Fixes #124295 2021-05-21 11:20:33 +02:00
rebornix 894b7782cc
Merge branch 'notebook/dev' into main 2021-05-20 14:17:28 -07:00
Raymond Zhao 9627b4ea63
Emmet identify CDATA for wrap, fixes #123136 2021-05-20 13:20:50 -07:00
Andrea Mah 18c254987c Merge branch 'main' into dev/t-andreamah/markdown-static-preview-scroll-state 2021-05-20 09:47:29 -06:00
rebornix f583b4b336
Merge branch 'main' into notebook/dev 2021-05-19 19:02:13 -07:00
Matt Bierner 34180ac9be
Remove code allowing multiple ids for a command
This doesn't appear to be used anywhere
2021-05-19 18:23:51 -07:00
Matt Bierner 35eafb7873
Add sort imports command
Fixes #122593

Sort imports just sorts imports, vs organize imports which also removes unused imports
2021-05-19 18:20:16 -07:00
Andrea Mah 4fbd548d72 Merge branch 'main' into dev/t-andreamah/markdown-static-preview-scroll-state 2021-05-19 17:25:56 -06:00
Andrea Mah f594bb47e5 removing more unecessary whitespace 2021-05-19 17:00:55 -06:00
Andrea Mah 41606da2dc removing unecessary spaces 2021-05-19 16:59:26 -06:00
Andrea Mah 9ee1906718 pr feedback and combining prevEditor info for preview and non-preview 2021-05-19 16:57:12 -06:00
Matt Bierner f433b4781a
Pick up TS 4.3.1-rc 2021-05-19 15:47:35 -07:00
Matt Bierner d921cc41fc
Update markdown grammar 2021-05-19 15:34:07 -07:00
Rob Lourens 0d33806803 Add suiteRepeat test util 2021-05-19 14:29:32 -07:00
rebornix 5b3cf7cc2a
Merge branch 'notebook/dev' into main 2021-05-19 14:12:17 -07:00
João Moreno 25a12c75c5
use dummy uri 2021-05-19 20:40:07 +02:00
Andrea Mah 44d135e94f Merge branch 'main' into dev/t-andreamah/markdown-static-preview-scroll-state 2021-05-19 12:15:49 -06:00
Connor Peet b02acf3908
Merge pull request #123738 from microsoft/dev/mjbvz/unify-renderers-api
First cut at unifying notebook renderers apis
2021-05-19 08:52:02 -07:00
Johannes Rieken b63ad124d2
mark untitled notebooks as dirty by default, don't hold on to untitled notebooks eagerly, https://github.com/microsoft/vscode/issues/121974 2021-05-19 17:16:48 +02:00
Johannes Rieken 53352a2954
add API to open an untitled notebook, https://github.com/microsoft/vscode/issues/121974 2021-05-19 15:27:23 +02:00
Benjamin Pasero 159479eb5a
Allow to show status bar entries with an id and name (fix #74972) 2021-05-19 14:03:37 +02:00
Rob Lourens 97518f5e86 Copy testRepeat helper to extension integration tests 2021-05-18 21:53:57 -07:00
Connor Peet 616e0fd992
refactor: polish
- Fix mis-used dependencies. Add the roughly proposed 'extends' model
  for notebook renderers. Keep it out of contribution schema for now
	until we can work it more.
- Made new loading work with JS modules.
- Consolidated the 'old style' code in the renderer so that we can just
  delete it when the time comes.
- Removed duplicated code and sharp edges from the 'queue' mechaism.
2021-05-18 16:59:09 -07:00
rebornix df93e53dfb
Merge branch 'notebook/dev' into main 2021-05-18 14:30:53 -07:00
Connor Peet 5c4fae9176
Merge remote-tracking branch 'origin/notebook/dev' into dev/mjbvz/unify-renderers-api 2021-05-18 12:55:33 -07:00
Miguel Solorio 455a8b6949
List focus colors are too dark (Fixes #123703) 2021-05-18 10:24:01 -07:00
Alex Ross e4159c8f89
Add protocol to portsAttributes
Part of #123750
2021-05-18 12:55:17 +02:00
Johannes Rieken 956347c4ed
better logic for "notebook open/close, notebook ready when cell-document open event is fired", https://github.com/microsoft/vscode/issues/123655 2021-05-18 09:40:31 +02:00
Alex Ross 736896527c
Improve npm trust message 2021-05-17 10:50:33 +02:00
Henning Dieterichs a1af8aa651
Refactors calls to languages.setLanguageConfiguration to declarative descriptions in language-configuration.json. This fixes #98621. 2021-05-17 09:12:01 +02:00
Alex Ross c8b4656197
Add requireLocalPort property to portsAttributes
Fixes microsoft/vscode-remote-release#4958
2021-05-14 16:01:40 +02:00
Andrea Mah 94498778fb cleanup 2021-05-13 15:24:56 -06:00
Rob Lourens f9df7b2f1a Merge branch 'main' into notebook/dev 2021-05-13 12:48:47 -07:00
Andrea Mah 9731995d94 addressed ! nit 2021-05-13 12:39:52 -06:00
Andrea Mah 3dec3b3385 applied PR feedback 2021-05-13 12:30:10 -06:00
Matt Bierner 66fa5c41b3
First cut at unifying notebook renderers apis
This implements the api described in #123540. Major points:

- Instead of having the `markdown-it` renderer pull it its dependencies, instead the dependencies can call `getRenderer` to import the object returned by the `markdown-it` renderer

- We try to detect if a renderer is using the old or new api. Old renderers are still run as globals while new ones are loaded with `import`

- I have only hooked up the new API for markdown renderers so far
2021-05-12 19:32:57 -07:00
Rob Lourens 2b8d74c4a8 Make metadata/internalMetadata non-optional 2021-05-12 18:19:10 -07:00
Andrea Mah d2894562d5 fixing issue with static scroll alongside text editor 2021-05-12 17:59:00 -06:00
Andrea Mah ee4510b4bf Merge branch 'main' into dev/t-andreamah/markdown-static-preview-scroll-state 2021-05-12 17:01:41 -06:00
Andrea Mah 18950181eb scroll state persists while toggling between static preview and text 2021-05-12 16:59:57 -06:00
rebornix c5a8e59db7
update notebook contributions. 2021-05-12 14:56:55 -07:00
rebornix a41b51ab3f
update notebook contributions. 2021-05-12 14:56:27 -07:00
rebornix a37ee2baf1
Merge branch 'notebook/dev' into main 2021-05-12 14:37:05 -07:00
Matt Bierner 11a8c4b4bc
Merge the notebookMarkupRenderer contribution point into the renderers contribition point
For #123540
2021-05-12 13:28:28 -07:00
Aex 56705bf747 Update seti theme 2021-05-12 09:28:05 +00:00
Aex ef56153529 Ignore the processing of inherit icon 2021-05-12 09:27:02 +00:00
Johannes Rieken 0a14a26cd3
rename latestExecutionSummary to executionSummary 2021-05-12 09:34:21 +02:00
Johannes Rieken 0b3618c6e9
fix integration test 2021-05-12 08:53:18 +02:00
Andrea Mah 927e791753
Fix Initial Scroll Position on Markdown Dynamic Preview (#123613)
* added semicolons to pass code check

* removed preliminary work for static preview

* cleanup

Co-authored-by: Andrea Mah <t-andreamah@microsoft.com>
2021-05-11 17:12:19 -07:00
rebornix 05d4a5c56d
skip test. 2021-05-11 15:01:45 -07:00
rebornix eb6e048ca3
Merge branch 'notebook/dev' into main 2021-05-11 14:08:05 -07:00
Aex 4cae4afc05 Merge branch 'microsoft:main' into eslint-icon 2021-05-12 02:11:50 +08:00
Alex Dima 5f3466a21e
Change grunt, gulp and jake task auto detection to be off by default (#123588) 2021-05-11 19:09:56 +02:00
Martin Aeschlimann 4151b62cfa
update seti contribution guide 2021-05-11 17:58:26 +02:00
Martin Aeschlimann 86bc05155f
update seti theme 2021-05-11 17:35:15 +02:00
Johannes Rieken b58a33aba7
Merge branch 'main' into notebook/dev 2021-05-11 16:03:52 +02:00
Martin Aeschlimann 1e810cafb7
The default Monokai highlight color is displayed incorrectly. Fixes #123044 2021-05-11 13:46:56 +02:00
Johannes Rieken d5ab22d7db
test that no RPC leaks via NotebookController 2021-05-11 09:39:01 +02:00
Matt Bierner d60cbb0eae
Pick up latest TS nightly for extension 2021-05-10 19:09:41 -07:00
Peng Lyu ae998a9261 Merge remote-tracking branch 'origin/notebook/dev' into main 2021-05-10 23:44:32 +00:00
Martin Aeschlimann 05d22c6853
[html] duplicated onDocumentRangeFormatting handler (#122994) 2021-05-10 18:09:18 +02:00
Alex Ross 8de5c819a1
Add test for C# grammar but
Part of https://github.com/microsoft/vscode/issues/123333
2021-05-10 15:05:52 +02:00
Alex Ross 66eb516dc3
Revert C# grammar
Part of https://github.com/microsoft/vscode/issues/123333
2021-05-10 14:59:58 +02:00
Johannes Rieken 06fa8b8543
API 💄 for NotebookCellData 2021-05-10 11:33:41 +02:00
Johannes Rieken 7ea5b137ea
rename cell kind Markdown to Markup, https://github.com/microsoft/vscode/issues/105933 2021-05-10 10:56:13 +02:00
Johannes Rieken b9c5d61dfe
Merge branch 'main' into notebook/dev 2021-05-10 08:42:19 +02:00
Aex f6dee3b461 Add support for eslintrc.json icon 2021-05-09 14:44:21 +00:00
Rob Lourens b987317d1a Rename onDidChangeNotebookCellExecutionState 2021-05-07 17:00:09 -07:00
Rob Lourens 4a76f0b19a registerNotebookCellStatusBarItemProvider should use viewType instead of NotebookSelector
Fix #122347
2021-05-07 15:23:19 -07:00
Kevin Abel 4978a1891e
Implement GitHub Enterprise authn provider (#115940) 2021-05-07 14:13:11 -07:00
rebornix e2fe443491
Merge branch 'notebook/dev' into main 2021-05-07 13:46:51 -07:00
rebornix 110c966887
💄 2021-05-07 13:13:22 -07:00
rebornix 0568de16a8
support multiple cell ranges. 2021-05-07 13:12:14 -07:00
Connor Peet 54ce4a405e
server-ready: support debugWithEdge as well as debugWithChrome 2021-05-07 12:02:36 -07:00
Martin Aeschlimann 81643c948f
HTML, CSS, JSON language servers don't provide the documentFormattingProvider capability. Fixes #122994 2021-05-07 17:03:16 +02:00
Johannes Rieken 1ab76005d3
even more strict assertions in flaky integration tests 2021-05-07 15:19:53 +02:00
Johannes Rieken dbdcdecdaa
skipped/failing test for https://github.com/microsoft/vscode/issues/123270 2021-05-07 11:59:29 +02:00
Johannes Rieken b2341b9cc6
run saveAllFilesAndCloseAll in setup and teardown and don't have it in each and every test, avoid usage of 'vscode.openWith'-command and prefer showNotebookDocument-API 2021-05-07 11:50:22 +02:00
Matt Bierner 40321932fc
Render KaTeX errors in notebooks
Fixes #122413
2021-05-06 17:10:33 -07:00
Matt Bierner 0bae48f6c1
Enable markdown notebook extensions in untrusted workspaces 2021-05-06 16:05:47 -07:00
Matt Bierner 8c186e8f4a
Enable notebook markdown-extensions in virtualWorkspaces
Fixes #123067
2021-05-06 15:28:54 -07:00
Matt Bierner f25ffb76ed
Fix stopping load indicator when updateOpen completes
Fixes #122979

We can consider the project loaded when `updateOpen` completes for all servers. Previously we were only waiting on the first one
2021-05-06 14:54:53 -07:00
Miguel Solorio fe23c2041f
Merge pull request #122893 from microsoft/misolori/quick-pick-list-update
Update quick pick list widget focus colors
2021-05-05 20:38:05 -07:00
rebornix ee927cc1b8
Merge branch 'notebook/dev' into main 2021-05-05 14:37:30 -07:00
Matt Bierner 13d81db250
Don't insert link element into the markdown cell preview body
Fixes #123012
2021-05-05 14:35:46 -07:00
Matt Bierner 2cf38034a3
Pick up new TS nightly 2021-05-05 10:57:19 -07:00
Johannes Rieken 2c91a75e21
Merge branch 'main' into notebook/dev 2021-05-05 08:33:09 +02:00
Johannes Rieken 8a41ae1d93
less openWith-command, more editor asserting, https://github.com/microsoft/vscode/issues/122851 2021-05-05 08:32:06 +02:00
rebornix d631beda22
Merge branch 'notebook/dev' into main 2021-05-04 15:31:11 -07:00
Rob Lourens c22fad1fa4 Fix php autoindent with ])
Fix #122899
2021-05-04 15:06:52 -07:00
Logan Ramos 656e1e6086
More deprecated assertion cleanup 2021-05-04 15:55:26 -04:00
Logan Ramos af69dc26ca
notEqual -> notStrictEqual 2021-05-04 15:55:25 -04:00
Connor Peet d639345791
notebooks: improve renderer message passing
Fixes https://github.com/microsoft/vscode/issues/122944
2021-05-04 12:35:06 -07:00
Logan Ramos 025fcaf611
remove old asserts from git tests 2021-05-04 15:32:21 -04:00
Logan Ramos 775ef54707
Remove assert.equal from custom editor tests 2021-05-04 15:09:54 -04:00
Logan Ramos 72aa675fc9
Update API tests to strict equal 2021-05-04 14:59:03 -04:00
Logan Ramos 1469a9840f
Update deprecated html language features 2021-05-04 14:03:20 -04:00
Logan Ramos 135142e497
Update deprecated typescript tests 2021-05-04 13:49:47 -04:00
Logan Ramos e44bd2d93d
Removed deprecated assert from css-language-features 2021-05-04 13:38:44 -04:00
Daniel Imms 8e5b3b5aff
Merge branch 'main' into hbibkrim/114898_terminal_name_change_event 2021-05-04 08:39:30 -07:00
Miguel Solorio fce6c54d37
Update focus highlight color on light theme 2021-05-04 08:22:40 -07:00
Martin Aeschlimann 85eee460c2
[json] update service 2021-05-04 16:21:24 +02:00
Johannes Rieken f249c1db60
use showNotebookDocument instead of command, maybe https://github.com/microsoft/vscode/issues/122851 2021-05-04 14:36:53 +02:00
Alex Ross 655fe7546f
Fix port theme color typo 2021-05-04 14:09:39 +02:00
Alex Ross df15c8e832
Update grammars 2021-05-04 13:42:19 +02:00
Robo bce4d71f64
chore: bump node@14.x in devDependencies (#122905) 2021-05-04 10:04:13 +02:00
Miguel Solorio 5b74ae1107
Add listFocusHighlightForeground 2021-05-03 20:46:33 -07:00
Matt Bierner bc04b1c04b
Update md grammar 2021-05-03 18:17:41 -07:00
Matt Bierner 65c6a0a543
Pick up TS 4.3 nightly
For #122884
2021-05-03 16:15:30 -07:00
Raymond Zhao 29b9648b3e
Emmet fix #122231 2021-05-03 13:39:38 -07:00
Ryan Zoeller d465e988f1
Register .mak extension for the Make language (#122614)
Associate the .mak extension with the Make language. This extension is commonly used for files included by Makefiles, and is recognized by GitHub's language detection: 32ec19c013/lib/linguist/languages.yml (L3282).

This PR fixes #122613.

Tested change by created a file with the .mak extension, and opening it in VS Code. The Language Mode was automatically set to 'Makefile'.
2021-05-03 16:03:05 +02:00
Martin Aeschlimann dc8bd9cd7e
Merge pull request #121941 from plankp/main
Add pattern matching 'in'
2021-05-02 15:07:32 -07:00
Ladislau Szomoru 3edce10f20
Cleanup modal property from proposed api 2021-05-02 14:22:41 +02:00
Ladislau Szomoru 44b97e05b7
Merge branch 'lszomoru/extensionSupportCompletionProvider' 2021-05-02 10:34:08 +02:00
Ladislau Szomoru b7b095cdf6
Cleanup code 2021-05-02 09:42:27 +02:00
Matt Bierner c8bd5b211a
Enable infer function return type for 4.3+
Fixes #122781
2021-05-01 00:06:23 -07:00
rebornix c63564b531
fix #122589 2021-04-30 14:42:10 -07:00
Johannes Rieken 1ed6862c3e
more insights when execution integration tests fail 2021-04-30 14:16:00 +02:00
rebornix 78577aa18d
Merge branch 'notebook/dev' into main 2021-04-29 14:09:08 -07:00
Eric Amodio 8dcc489fa1 Re-enables Git extension for virtual workspaces 2021-04-29 15:18:15 -04:00
Johannes Rieken ed52d777ef
fix integration tests 2021-04-29 18:33:32 +02:00
Ladislau Szomoru 0bc066daef
Add extension support completion provider to core 2021-04-29 13:43:41 +02:00
Matt Bierner 3915fcfe49
Add some links and small cleanup for JS/TS settings 2021-04-28 17:31:18 -07:00
Matt Bierner e8eb44523e
Improve auto-fetch setting display
- Use markdown
- Use link
2021-04-28 17:25:41 -07:00
Matt Bierner a4fdb2c3ad
Make adding overrides an preferred quick fix 2021-04-28 16:43:52 -07:00
Andrew Branch 033f6aac86
Fix missed Previewer.plain call due to adjacent @ts-expect-error (#121975) 2021-04-28 14:04:29 -07:00
Matt Bierner 7770708545
Reapply markup renderers change
Rewriting how we do replacements in the webviewPreloads function to hopefully handle optimization better
2021-04-28 10:44:25 -07:00
Eric Amodio c8c96aae9d Fixes # 122567: regex included .git in capture 2021-04-28 13:27:51 -04:00
João Moreno 87a33e998d
disable edu telemetry on nocors 2021-04-27 16:03:57 +02:00
Johannes Rieken 1f8e11079e
Revert "Comment out failing integration tests (#122269)"
This reverts commit 9a4d524f90.
2021-04-27 09:07:28 +02:00
Johannes Rieken 26cf2a5d62
fix https://github.com/microsoft/vscode/issues/122269 2021-04-27 08:35:09 +02:00
Alex Dima 9a4d524f90
Comment out failing integration tests (#122269) 2021-04-27 07:54:10 +02:00
Matt Bierner fe7c5aba01
Revert "Better notebook markup renderer api (#121882)"
This reverts commit 4cb27d2ec7.
2021-04-26 19:43:16 -07:00
Matt Bierner 4cb27d2ec7
Better notebook markup renderer api (#121882)
* Better notebook markup renderer api

For #121256

- Use js modules for notebook output renderers
- Rename apis from `markdown` to `markup`
- Use imports and exports for apis instead of globals for apis
- Use esbuild instead of webpack so we can emit js modules
- Clearly split top level markup renderes from renderers that extend other renderers

* Use constant instead of comment for replacement
2021-04-26 16:30:34 -07:00
Martin Aeschlimann 8b15a01d8e
[json] update service 2021-04-27 00:09:54 +02:00
Martin Aeschlimann 553d92817b Word selection is incomplete for C++ identifiers containing certain allowed characters. Fixes #121343 2021-04-26 22:08:38 +02:00
Martin Aeschlimann 25d716f900
[html/css/json] update dependencies 2021-04-24 14:52:34 +02:00
SteVen Batten b2c250faeb fix build 2021-04-23 11:46:52 -07:00
SteVen Batten 6c747e75da
Workspace Trust Prop Changes (#121779)
* update wording for dialog

* remove soft request prompts

* tweak wording

* use origin

* clean up language for choice prompt
2021-04-23 10:14:09 -07:00
Alex Ross 876dd2782a
Don't allow multiple tasks runs to start at once
Fixes #118238
2021-04-23 17:03:31 +02:00
Ladislau Szomoru 118c41150c
Move extension settings for workspace trust 2021-04-23 15:09:27 +02:00
Alex Ross d40139dd63
Make typescript problem matcher even more general
Fixes #121672
2021-04-23 14:19:29 +02:00
Sandeep Somavarapu ac151b40a5
enable virtual workspace capability 2021-04-23 10:20:23 +02:00
Matt Bierner 36591a96a0
Rename 2021-04-22 14:57:27 -07:00
rebornix 274565432c
Merge branch 'notebook/dev' into main 2021-04-22 13:55:06 -07:00
Martin Aeschlimann 94f28728f7
remoteIndicator menu point: double digit order number. For #121180 2021-04-22 22:04:43 +02:00
Martin Aeschlimann 214a1581b7
Make window indicator menu contribution point stable. Fixes #121180 2021-04-22 21:54:38 +02:00
Rob Lourens 2f077172cb Add php.validate.executablePath to restrictedConfigurations 2021-04-22 11:49:37 -07:00
Sandeep Somavarapu 2130042ca4
disable github extension in virtual workspace as it depends on git 2021-04-22 17:44:51 +02:00
Alex Ross f38f90dfe1
Improve package.json file check
Fixes #120279
2021-04-22 17:35:45 +02:00
Sandeep Somavarapu 68bed01970
adopt virtual workspaces - not supported 2021-04-22 16:54:06 +02:00
SteVen Batten ed16789225 localise workspace trust strings for exts 2021-04-22 07:44:24 -07:00
Johannes Rieken 5390ec0e7c
remove isPreferred as instance property, replace selector with only viewType, allow controller to set a notebook priority instead 2021-04-22 16:13:42 +02:00
Sandeep Somavarapu 70c5e1e00c
fix compilation 2021-04-22 15:50:01 +02:00
Paul Teng 7d2da4ea7c Add pattern matching 'in' 2021-04-22 09:29:46 -04:00
Sandeep Somavarapu 90c5c7a0d2
Merge branch 'main' into capabilities 2021-04-22 14:29:13 +02:00
Eric Amodio 79033ef7a1 Adds code lens on vfs files 2021-04-22 03:29:20 -04:00
rebornix 264ccd16d4
Merge branch 'notebook/dev' into main 2021-04-21 15:15:59 -07:00
Matt Bierner 731402dce2
async override -> override async 2021-04-21 13:40:44 -07:00
SteVen Batten f9fc28d47d update ext manifest schema validation and built-in exts 2021-04-21 11:54:42 -07:00