Commit graph

9633 commits

Author SHA1 Message Date
Alex Ross 5cd1eff604 Update grammars 2020-09-07 16:47:30 +02:00
João Moreno d93e07f5d4
Merge pull request #104339 from amazingcaio/master
associate *.c++ & *.h++ files with c++
2020-09-07 15:05:20 +02:00
Martin Aeschlimann f0dea5ec85 improvements 2020-09-07 10:09:15 +02:00
Rafał Chłodnicki 896dc31762 [json-language-features] Fix json/schemaAssociations parameters documentation
The `json/schemaAssociations` documentation is not accurate in stating
that the only supported parameter is an object in `{ pattern: uri }`
format. It also supports the structure defined by `SchemaConfiguration`
interface from "vscode-json-languageservice".

Also updated the server code to match that.

Resolves #106060
2020-09-03 19:57:02 +02:00
Sandeep Somavarapu 23c359da9c Fix #105414 2020-09-03 17:26:59 +02:00
João Moreno f06943f3cd
fixes #105708 2020-09-03 11:27:42 +02:00
Nicolas Vuillamy 602baedf1c
Add .nf extension to Groovy file extensions
Closes #106017 : https://github.com/microsoft/vscode/issues/106017
2020-09-03 10:25:57 +02:00
Martin Aeschlimann 8aa9dbc29b Rename on Type: linked edit mode is terminated when the tag becomes empty. Fixes #105860 2020-09-02 23:20:10 +02:00
Rachel Macfarlane 8eb9cdaba9 Fix #105955, make sure auth provider registration completes when getSession is called 2020-09-02 11:51:59 -07:00
Matt Bierner 3dc43cb7b3 Exclude pr schemed files from js/ts language features
Fixes #105842
2020-09-02 10:36:24 -07:00
João Moreno ab8a3f3c44
fixes #105129 2020-09-02 14:42:16 +02:00
Rachel Macfarlane c7c6c5cde1 Fix #105503 2020-09-01 17:31:05 -07:00
Matt Bierner b8e4718a12 Disable js/ts features for the private scheme
This scheme is used internally by VS Code for features such as search/replace preview
2020-09-01 15:07:05 -07:00
Matt Bierner e6b0f45556 Use containerName if it exists 2020-09-01 14:10:15 -07:00
Matt Bierner 5e9a412cd9 Remove experimental typings
These typings are now in TS 4.0
2020-09-01 14:02:58 -07:00
Connor Peet fef3e22ca7
fix: refresh env vars when auto attach settings change
Fixes https://github.com/microsoft/vscode-js-debug/issues/731
2020-09-01 08:54:50 -07:00
Pranav Senthilnathan fb80351278
prune the refactor not applicable reasons if there are too many (#103203)
* prune the refactor not applicable reasons if there are too many

* Add in appendInvalidActions for older TS versions

Co-authored-by: Matt Bierner <matb@microsoft.com>
2020-08-31 15:37:02 -07:00
Jean Pierre 8b1aca7255
Fixes #105202 (#105664) 2020-08-31 14:54:51 -07:00
Martin Aeschlimann 1cf826c7f6
Merge branch 'master' into master 2020-08-31 13:32:36 -07:00
Martin Aeschlimann bdcf7e10cd update seti theme 2020-08-31 22:25:47 +02:00
Martin Aeschlimann 9b6d13d298 update services 2020-08-31 22:18:06 +02:00
rebornix d3cfbddde1 fix tests. 2020-08-31 12:16:35 -07:00
Martin Aeschlimann 747d667946 add file associations for ".c++" and ".h++" file extensions. Fixes #104320 2020-08-31 20:09:27 +02:00
João Moreno b6071d2204
Merge pull request #105228 from marvinruder/master
Changed description of “Commit Signing” configuration label to include X.509.
2020-08-31 16:52:42 +02:00
Christof Marti d08e158b8d Investigate #104554 2020-08-31 16:30:58 +02:00
João Moreno 6aafc4b7aa
fixes #104762 2020-08-31 15:21:15 +02:00
Johannes Rieken f1e7a02f8a
Merge pull request #105585 from microsoft/joh/useExtUri
Use extensionUri and joinPath instead of asAbsolutePath
2020-08-31 09:51:28 +02:00
Johannes Rieken 807eb37826 make sure replaceOutput updates the extension host side, update tests https://github.com/microsoft/vscode/issues/105283 2020-08-28 17:59:10 +02:00
Johannes Rieken a3f414cf5a add some integration tests for notebook editing, https://github.com/microsoft/vscode/issues/105283 2020-08-28 17:59:10 +02:00
Sandeep Somavarapu a8603d43ac Fix #102823 2020-08-28 16:40:55 +02:00
Johannes Rieken 5b8aeeb1f0 copy paste is hard... 2020-08-28 15:00:52 +02:00
Johannes Rieken bc3b0defe0 use extensionUri and joinPath instead of asAbsolutePath 2020-08-28 14:57:20 +02:00
Rachel Macfarlane 650197b991 Add authentication contribution point, #103507 2020-08-27 11:51:18 -07:00
rebornix 883749806b support revert notebook cell metadata in diff view. 2020-08-27 11:26:01 -07:00
Alex Ross 0de8d51904 Finalize task detail API
Fixes #69785
2020-08-27 11:08:48 +02:00
Rachel Macfarlane a6103e8faa Fix Buffer reference in browser for ms auth 2020-08-26 15:20:45 -07:00
Rachel Macfarlane 8871a28963 Make github-authentication a UI extension again 2020-08-26 09:01:42 -07:00
Ladislau Szomoru bbb9784d8b PoliCheck 💄 2020-08-26 14:42:39 +02:00
Martin Aeschlimann 31a985b92f
Merge pull request #105326 from jonatan-ivanov/jenkinsfile-extension-support
Support for .jenkinsfile extension and Jenkinsfile.* filename pattern
2020-08-26 08:53:59 +02:00
Connor Peet 8817251691
debug: provide positive ack to js-debug bootloader on auto attach 2020-08-25 09:44:18 -07:00
Sandeep Somavarapu 81204145b5 Fix #104610 2020-08-25 16:36:44 +02:00
Martin Aeschlimann 8981e5e24c
Merge pull request #105304 from ZainChen/zain/markdown-themes
Update markdown themes
2020-08-25 14:32:17 +02:00
Jonatan Ivanov 96324f4c07 Merge branch 'master' into jenkinsfile-extension-support 2020-08-24 21:45:40 -07:00
Jonatan Ivanov 1efd647d37 Adding support for .jenkinsfile extension and Jenkinsfile.* filename pattern
So that it will be consistent with the support of Dockerfile.

The file is using tabs AND spaces for indentation, this commit follows the formatting rules defined in .editorconfig (2 spaces).
2020-08-24 21:36:11 -07:00
Matt Bierner 8ba70d8bdc Revert "Make github-authentication a UI extension again"
This reverts commit cd55420e7e.

This change seems to have caused issues activating extensions
2020-08-24 20:19:58 -07:00
Rachel Macfarlane cd55420e7e Make github-authentication a UI extension again 2020-08-24 18:44:14 -07:00
ZainChen 494064e6d0 update markdown themes 2020-08-25 02:18:43 +08:00
Rachel Macfarlane 3f392ec5a3 Revert github-authentication extensionKind 2020-08-24 10:45:39 -07:00
Martin Aeschlimann 88664e267a npm: avoid invalid lookups 2020-08-24 16:58:36 +02:00
Benjamin Pasero 1689304b52 Allow to configure workbench.editor.restoreViewState per language (fix #101110) 2020-08-24 07:58:05 +02:00
Marvin A. Ruder 8d2ff254c1
Changed description of “Commit Signing” setting label to include X.509. 2020-08-22 21:52:04 +02:00
Connor Peet ad40702857
debug: bump js-debug and use its auto attach by default once more 2020-08-21 18:47:20 -07:00
Rob OLeary 0bb98bf686
Add more snippets for basic syntax (#105174) 2020-08-21 11:07:24 -07:00
Connor Peet d4f6fe3227
notebooks: deprecate viewType for renderers, prefer renderer ID 2020-08-21 10:09:04 -07:00
Connor Peet d20e086afc
Merge branch 'connor4312/rm-old-renderer-api' 2020-08-21 09:12:08 -07:00
Ladislau Szomoru 06730e3e29
Azure DevOps pipeline - generate unique test result names (#105148)
* Set suite name based on environment variable
2020-08-21 15:05:15 +02:00
Martin Aeschlimann fae07df7c3 onTypeRename: wordPattern (for #104823) 2020-08-21 13:54:43 +02:00
Martin Aeschlimann 7c314b0623 [css] property suggestions not correctly ordered. Fixes #105039 2020-08-21 10:44:45 +02:00
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
Caio 6d520b812f remove .h++-specific icons 2020-08-13 08:04:42 -03: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
Caio 2416082d2d revert seti-ui update but leave h++-specific icons 2020-08-12 19:41:41 -03: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 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
Caio 425da67728 treat .c++ & .h++ files as c++, & update icon theme 2020-08-09 19:05:57 -03: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
Rachel Macfarlane 1961260ef3 Update github token input prompt 2020-08-05 13:37:06 -07:00
Matt Bierner 4193455a6f Observe the new createAutoImportProviderProgramDurationMs property added by TS 4.0
Adds this property to our completion telemetry
2020-08-05 12:28:44 -07:00
Sandeep Somavarapu 530e947fe5 Fix #103970 2020-08-05 13:51:51 +02:00
João Moreno 2f2ba0d764
fixes #102455 2020-08-05 12:09:17 +02:00
João Moreno db514242e4
fixes #102303 2020-08-05 12:03:52 +02:00
João Moreno b18015d0f8
fixes #101795 2020-08-05 11:40:28 +02:00
Matt Bierner 4430401028 Include server id in telemetry and in user issue reports
From https://github.com/microsoft/TypeScript/issues/39795#issuecomment-668250348
2020-08-03 16:03:34 -07:00
Matt Bierner 358cc674a7 Add more exclaimation points 2020-08-03 16:03:34 -07:00
Matt Bierner 0009a0b424 Fallback to bundled version if selected TS version is invalid
Fixes #103213

This restores some logic that we removed during the web refactoring
2020-08-03 15:08:28 -07:00
Andrew Branch 4a206a33e5
Change includePackageJsonAutoImports options (#103732) 2020-08-03 14:16:28 -07:00
dependabot[bot] 0b773db915
Bump elliptic in /extensions/markdown-language-features (#103658)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.4.0 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.4.0...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-03 14:01:25 -07:00
Christof Marti ad2f35f020 Add userEnvProbe (microsoft/vscode-remote-release#3224) 2020-08-03 22:22:50 +02:00
Matt Bierner bd11c7f95a Don't use negative margins for spacing in markdown preview 2020-08-03 12:27:57 -07:00
Rob Lourens 518523fc7f let -> const, settings 2020-08-03 08:54:14 -07:00
Rob Lourens 635b397e2d let -> const, notebooks 2020-08-03 08:54:14 -07:00
João Moreno 532c7b1c78 cleaner git submenus 2020-08-03 14:11:14 +02:00
Alex Ross fe35d8c97a Add 'Gulpfile.js' as valid gulpfile name
Fixes #103794
2020-08-03 11:15:31 +02:00
Martin Aeschlimann d5327bca82 update css/json services 2020-08-02 21:53:34 +02:00
Eric Amodio 8d51d4a419 Hides timeline view if no providers registered
Helps first-run experience, see here:
https://github.com/microsoft/vscode/issues/98614#issuecomment-665693078
2020-07-31 18:37:15 -04:00
rebornix 98dd195b91 hook native undo/redo with notebook 2020-07-31 10:43:58 -07:00
João Moreno 22ff86bac3 fixes #102109 2020-07-31 15:38:16 +02:00
Alex Ross 2344987359 Add task test back in 2020-07-31 10:15:05 +02:00
Aman Gupta d9b4226acc empty-line-wrap-fix 2020-07-31 11:53:44 +05:30
adfnekc fd75556c52
fix unicode download url error (#103460)
unicode downloadurl change
2020-07-30 20:47:34 -07:00
Rob Lourens 4bd3ba6f33 Fix notebook smoke test
Fix #102113
2020-07-30 09:08:51 -07:00
Alex Ross ae245c9b1f Fix onDidStart and End task test 2020-07-30 16:19:22 +02:00
isidor 15ada625f2 skip moree tests 2020-07-30 16:11:05 +02:00
João Moreno 7f43164ae4 fixes #101404 2020-07-30 15:53:22 +02:00
isidor d7ed2f5382 skip more tests 2020-07-30 15:23:53 +02:00
isidor f3e4ff9196 skip failing tests 2020-07-30 14:39:52 +02:00
Alex Ross c8b5be4801 Add wait wait in tasks test for execute to return 2020-07-30 13:38:20 +02:00
Alex Ross e39d21e318 Remove hack in terminal task system to delay disposal
This is no longer needed because #92868 is fixed

This reverts commit d6354443f4.
2020-07-30 11:59:18 +02:00
João Moreno 211fe2fcff
Merge pull request #103326 from NotWearingPants/patch-2
Treat all files with `git{config,attributes,modules}`/`editorconfig` extensions as properties files
2020-07-30 10:46:15 +02:00
Sandeep Somavarapu cc20a1f02a #103544 Skip another failing test 2020-07-30 10:05:34 +02:00
Vitaliy Gulyy 3944e56699
Allow syntax highlighting for Dockerfile.*, Containerfile.* (fixes #102897)
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
2020-07-30 09:50:39 +02:00
Jackson Kearl 9c525f3cf2 Enable search-editor in serverless.
Closes microsoft/vscode-internalbacklog/issues/1208
2020-07-29 21:24:57 -07:00
Eric Amodio ea63321bc6 Removes internal gh browser & adds external 2020-07-29 23:49:17 -04:00
Jackson Kearl c2224dab6c Allow for non-file uri's in search editor 2020-07-29 17:08:41 -07:00
Jean Pierre f732547a3d
Fixes #103076 (#103578) 2020-07-29 15:31:50 -07:00