Commit Graph
9521 Commits
Author SHA1 Message Date
Matt Bierner c85c46579e Pick up TS 4.0.2 2020-08-20 16:45:45 -07:00
Connor Peet dc0150c61a debug: make auto attach apply state transition in new workspaces
Previous there was a case:

1. Auto attach was enabled in user settings and workspace A was open
2. Switch to workspace B, and then turn auto attach off in user settings
3. Switching back to workspace A, environment variables were not cleared

Now, the last state is stored in the workspace settings so that
we can tear down the previous state if necessary.
2020-08-20 16:06:18 -07:00
Matt Bierner 61f799f53b Add proposed webview view API (#104601)
Add proposed webview view API

For #46585

This adds a new `WebviewView` proposed api to VS Code that lets webview be used inside views. Webview views can be contributed using a contribution point such as :

```json
    "views": {
      "explorer": [
        {
          "type": "webview",
          "id": "cats.cat",
          "name": "Cats",
          "visibility": "visible"
        }
      ]
    },
```

* Use proper activation event

* Transparent background

* Fix resize observer

* Adding documentation

* Move webview view to new directory under workbench

* Remove resolver

By moving the webviews view into their own fodler, I was able to avoid the cycle the resolver was originally introduced for

* Use enum in more places

* Hook up title and visible properties for webview views

* Remove test view

* Prefer Thenable

* Add unknown view type error to collector
2020-08-20 13:59:22 -07:00
Matt Bierner 64d126cafb Add new TSS_REMOTE_DEBUG flags that are only active in remote cases
Fixes https://github.com/microsoft/vscode-remote-release/issues/3546
2020-08-19 17:07:13 -07:00
Connor Peet 24b712d7c2 notebooks: remove impure renderer API
This removes the initial notebook renderer API and keeps the 'pure'
renderer API described in #102644 and hacked-in previously.

Remaining work in this area, in no particular order:

- Add messaging context to postMessage as requested by Don (API proposal TBA)
- Cleanups around how state is managed internally in the backLayerWebView
- Deprecate the renderer `viewType` in favor of calling it the `id` or `rendererId`

Q: I kept around some of the "transform" functions since the mime type
picking happens there, not sure if there's a better place for this
to happen now, or whether these methods should simply be renamed.
2020-08-19 15:47:02 -07:00
Jack Works 5d9647d4bc Improve typescript.code-snippets for async (#99544)
* Update typescript.code-snippets

* Update typescript.code-snippets

* Update typescript.code-snippets

* Update typescript.code-snippets
2020-08-19 12:07:13 -07:00
Alex Ross 893314330c Update grammars 2020-08-19 16:00:28 +02:00
Ladislau Szomoru b2efcbf687 Add process.arch into the test results file name (#104946) 2020-08-19 07:48:37 +02:00
Matt Bierner f694b07825 Make sure we do not enable JS/TS language features on live share clients
For #104180
2020-08-18 16:48:16 -07:00
Matt Bierner c709fd3aa2 Pick up new TS insiders 2020-08-18 16:28:55 -07:00
Jackson Kearl a14a7e0b61 Treat more extensions as C++
Reduce duplicated repository entries in search editor tmgrammar
Closes #104887.
2020-08-18 16:13:27 -07:00
Connor Peet bb284a4943 debug: enable opt-in js-debug auto attach 2020-08-18 12:31:31 -07:00
Benjamin Pasero 4491427ac7 web - move playground out of sources
We will consume the playground from https://github.com/microsoft/vscode-web-playground going forward.
2020-08-18 09:18:23 +02:00
Duc Nghiem Xuan 63c711deef Don't include this function types in completeFunctionCalls (#104479) 2020-08-17 17:52:26 -07:00
Matt Bierner 650f7688f3 Add (loading...) prefix to hovers while TS Server is starting up
Fixes #104859
2020-08-17 17:48:26 -07:00
Rachel Macfarlane cc29a81447 Update github authentication extension kind 2020-08-14 10:12:59 -07:00
Martin Aeschlimann 6f5ebbaafb use vscode-emmet-helper isnetad of vscode-emmet-helper2 2020-08-14 13:56:34 +02:00
Alex Ross bb3c233e97 Fix when NPM view is shown
#104591
2020-08-14 11:33:53 +02:00
Matt Bierner d8463db6b9 Pick up TS insiders 2020-08-13 15:51:28 -07:00
Johannes Rieken 4398a424d5 fix compile error 2020-08-13 12:49:55 +02:00
Benjamin Pasero ad415a08c6 web - remove shell_exec from php sample 2020-08-13 10:39:46 +02:00
Daniel Imms f7f05dee53 Don't require creationOptions to be the same object
Fixes #102950
2020-08-12 17:02:40 -07:00
Daniel Imms 9a2696d391 Don't fire onDidChangeTerminalDimensions when cols/rows is 0
Fixes #83778
2020-08-12 16:33:55 -07:00
Eric Amodio 467f014634 Removes rogue onFileSystem activation 2020-08-12 16:57:40 -04:00
Martin Aeschlimann 57cb7024d7 Merge pull request #104468 from orionlee/theme_dimmed-monokai_markdown_styling
Dimmed Monokai theme - improve markdown support
2020-08-12 11:30:42 -07:00
Martin Aeschlimann edd867f141 Merge pull request #103677 from amagupta-collab/empty-line-wrap-fix
empty-line-wrap-fix
2020-08-12 08:59:13 -07:00
Martin Aeschlimann 4899592904 npm.fetchOnlinePackageInfo is not respected in latest build. Fixes #103540 2020-08-12 11:59:56 +02:00
Johannes Rieken a50209c882 Merge branch 'master' into joh/celldocs 2020-08-12 09:29:07 +02:00
orionlee 12ff038548 Dimmed Monokai theme - improve markdown support
- redner bold/italic , link title color
2020-08-11 21:01:51 -07:00
kieferrm c17b4c2488 fix GDPR annotations 2020-08-12 00:47:16 +00:00
kieferrm ce508a8214 fix GDPR annotation 2020-08-12 00:44:36 +00:00
Matt Bierner b84660fa86 Add more specific checks for being on TS 4.0.1
Fixes #104456
2020-08-11 15:23:56 -07:00
Martin Aeschlimann bfa257c1ac Merge pull request #103560 from AlexxNB/patch-1
Add *.xht file extension
2020-08-11 23:23:10 +02:00
Martin Aeschlimann 14dabea7c2 playground/mem.fs: avoid windows defender warning 2020-08-11 12:59:36 +02:00
Johannes Rieken 0a03053724 Merge branch 'master' into joh/celldocs 2020-08-11 12:23:11 +02:00
Andrew MaustandAndrew Maust 2f61d0037c fixes #104059 (#104193)
Co-authored-by: Andrew Maust <69081050+Andrew884@users.noreply.github.com>
2020-08-10 20:46:14 -07:00
Eric Piacentini 7e4fd71ad8 Removed lines requiring Typescript version < 3.0 (#104211) 2020-08-10 20:45:11 -07:00
Matt Bierner 3bcac20a69 Fix html folding test for TS bug 2020-08-10 20:10:17 -07:00
Matt Bierner 6d0ac47022 Fix RC version 2020-08-10 20:06:06 -07:00
Connor Peet 85b70cc872 npm: enable debugging all scripts
Fixes https://github.com/microsoft/vscode/issues/104403
Fixes https://github.com/microsoft/vscode/issues/102847
2020-08-10 16:24:39 -07:00
Matt Bierner a3e37dc103 Remove expect error 2020-08-10 14:33:10 -07:00
Matt Bierner d21ff5b1c3 Remove expect error for TS 4.0 2020-08-10 14:31:25 -07:00
Matt Bierner 7819af28ae Pick up TS 4.0 rc for insiders 2020-08-10 13:36:19 -07:00
Matt Bierner 6dd0a9a64d Remove any casts 2020-08-10 13:36:19 -07:00
Johannes Rieken 6458962368 update integration tests 2020-08-10 18:28:58 +02:00
Johannes Rieken 5fe144cf97 Merge branch 'master' into joh/celldocs 2020-08-10 18:24:01 +02:00
João Moreno 4d7ee02205 fixes #104248 2020-08-07 20:04:41 +02:00
Alex Ross 924ccf2b63 Include weird timestamp pattern in tsc-watch problem matcher
Fixes #104157
2020-08-07 11:00:41 +02:00
Milo Moisson d213eb2d07 Fix JS snippets trailing commas. (#104153)
Fix JS snippets trailing commas, introduced by #100657 and observed by #104141.
2020-08-06 11:42:47 -07:00
Daniel Rosenwasser 54a38a2ee9 Add check to ensure RC and forward use '--serverMode'. (#104123) 2020-08-05 15:26:59 -07:00