Commit graph

11125 commits

Author SHA1 Message Date
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
SteVen Batten aec0921e5c first pass to update workspace trust to capabilities 2021-04-21 10:40:56 -07:00
João Moreno 034157dea8
gh auth: back to prod auth 2021-04-21 15:00:24 +02:00
Johannes Rieken 7194c24dad
use serializer in NB integration test 2021-04-21 11:50:02 +02:00
Johannes Rieken 9af75c08c5
remove ability to alter notebook output via WorkspaceEdit or NotebookEditorEdit 2021-04-21 11:42:58 +02:00
João Moreno d60dbbf646
gh auth: fetch json 2021-04-21 10:48:01 +02:00
João Moreno 3668a573ad
gh auth: fix staging server selection 2021-04-21 10:06:26 +02:00
João Moreno 820e70a460
gh auth: don't reach out to product.json 2021-04-21 09:31:06 +02:00
Miguel Solorio 23a2409675
Update debug-auto-attach ext icon (refs #81760) 2021-04-20 21:58:33 -07:00
Rob Lourens 27cf6a3807 Implement workspace trust for php-language-features 2021-04-20 19:52:34 -07:00
Rob Lourens 643756788f Allow running builtin php validation with a relative path configured to the php binary.
This was previously allowed, but the fix to use 'which' was too strict
2021-04-20 19:52:33 -07:00
Rachel Macfarlane c67ac5d083
Remove path from github-authentication 2021-04-20 16:49:23 -07:00
Matt Bierner 3b20d95b3a
Consider updateOpen as signalling that project loading as completed
Fixes #119268
2021-04-20 14:23:39 -07:00
Miguel Solorio 0642a7c299
Update debug server ready ext icon 2021-04-20 14:15:46 -07:00
rebornix 61f646674b
Merge branch 'notebook/dev' into main 2021-04-20 13:27:44 -07:00
João Moreno 7b23ff442e
more staging detection (#121769)
* more staging detection

* check for scheme
2021-04-20 13:19:06 -07:00
João Moreno ad3e7ea1c0
gh auth: look at staging query param (#121768) 2021-04-20 13:04:56 -07:00
Mike Lee efe612365f
feat: add support for additional surrounding pairs for markdown (#119982) (#121698) 2021-04-20 12:19:33 -07:00
Miguel Solorio ac48f78dd6
Add icons for built-in extensions (fixes #81760) 2021-04-20 12:09:24 -07:00
Matt Bierner 1764fc81a8
Add requiredForConfigurations for TS 2021-04-20 11:37:54 -07:00
Matt Bierner ae24966cce
Localize workspaceTrust 2021-04-20 11:35:02 -07:00
Rob Lourens cc850ade50 Cell statusbar test 2021-04-20 10:55:30 -07:00
Rob Lourens b286729f35 Test cleanup 2021-04-20 10:55:30 -07:00
Rachel Macfarlane 94589129a2
Add experimentation service to github auth extension 2021-04-20 09:25:01 -07:00
Johannes Rieken 454b741257
restore integration test 2021-04-20 15:10:50 +02:00
Johannes Rieken 3abadabac8
Merge branch 'main' into notebook/dev 2021-04-20 11:38:33 +02:00
Johannes Rieken b06388f501
Merge branch 'joh/clean-kernel' into notebook/dev 2021-04-20 11:33:41 +02:00
Joao Moreno b4816cfd1f
fix tests 2021-04-20 09:10:47 +02:00
rebornix 1f9e039a11
💄 2021-04-19 22:48:42 -07:00
Sang e5c466f587
markdown-language-features: Fix Windows Preview Link Uri (#120090)
* markdown-language-features: fix windows file uri

* refactor: use Uri.joinPath instead
2021-04-19 17:31:07 -07:00
Connor Peet 3a3864174e
trust: onboard debug land to workspace trust 2021-04-19 11:08:24 -07:00
Eric Amodio 6836261663 Adds workspace trust setting 2021-04-19 11:53:57 -04:00
Johannes Rieken 11c3ba58af
remove NotebookKernelProvider API and its implementation 2021-04-19 16:19:23 +02:00
João Moreno 47231d090d adopt trust in github 2021-04-19 11:58:10 +02:00
Benjamin Pasero 14981ce89d tests - enable colors for windows (CI supports it and the new Windows terminal too) 2021-04-19 09:29:20 +02:00
Ladislau Szomoru e5d6ff4c06
jschardet 2.2.1 -> 2.3.0 (#121575) 2021-04-18 09:21:14 +00:00
meganrogge d7f5575367
skip failing test 2021-04-16 16:54:44 -07:00
Alexandru Dima 30ae7bde85
Respect resolver's trust options 2021-04-16 17:15:09 +02:00
rebornix 155df27d8d
💄 2021-04-15 14:49:11 -07:00
rebornix d531f3b054
Merge branch 'notebook/dev' into main 2021-04-15 14:00:38 -07:00
rebornix ebb0a7165b
update integration test. 2021-04-15 12:39:19 -07:00
rebornix 060d417505
remove editable and breakpointMargin. 2021-04-15 11:32:45 -07:00
Rachel Macfarlane 296c417c07
Add workspace trust property to auth extensions 2021-04-15 09:22:15 -07:00
Yongming Lai 151c7d5dff
Recognise commonly sourced files as shellscript (#121373)
Added files commonly sourced by display managers.

- `.xsession` and its variants referenced in `/etc/X11/Xsession`
- `.xprofile` referenced in `/etc/gdm3/Xsession`

This PR fixes #121372.
2021-04-15 16:32:02 +02:00
Johannes Rieken f9ca74adc4
Merge branch 'main' into notebook/dev 2021-04-15 09:10:06 +02:00
Matt Bierner e870a6d700
Update js/ts grammar 2021-04-14 20:42:41 -07:00
Matt Bierner a5d656cd3f
Configure workspace trust for simple browser and image preview 2021-04-14 20:37:01 -07:00
Matt Bierner 293061802c
Add workspace trust for markdown extension 2021-04-14 20:33:20 -07:00
Rob Lourens edbdd6fe09 Fix test, fix cell data startTime and duration visibility 2021-04-14 17:59:49 -07:00
Matt Bierner 2881355f37
Use es2020 as the default target for js/ts implicit projects
Fixes https://github.com/microsoft/TypeScript/issues/43596

For users targetting browsers, this should be a reasonable default. We'd like more feedback during insiders for users targetting other environments
2021-04-14 17:26:55 -07:00
Eric Amodio 7f2bcc1530 Fixes #119032 - changes to support settings UI 2021-04-14 19:04:27 -04:00
Andrew Branch fa56f6ea3d
Add telemetry for import statement completions (#121243) 2021-04-14 09:59:08 -07:00
Andre Weinand ec579a2c21
Mark server ready extension trusted 2021-04-14 16:12:45 +02:00
Alex Ross 5371ac58c4
Include virtual workspace check for task type enablment 2021-04-14 15:04:06 +02:00
Martin Aeschlimann 3d276ed5cc
vscode API - env. Fixes #121261 2021-04-14 10:46:38 +02:00
João Moreno a09d640311
github auth: improve test env detection
cc @RMacfarlane
2021-04-14 08:59:55 +02:00
Eric Amodio c8d5c905bf Fixes git rename on windows 2021-04-14 00:16:03 -04:00
rebornix d13a914bd6
Merge branch 'notebook/dev' into main 2021-04-13 14:12:11 -07:00
SteVen Batten c5fab4faa3
Boolean Trust State (#121141)
* move to boolean-based trust state

* update api based on feedback
2021-04-13 12:54:52 -07:00
Christof Marti 75f2ce9735 Adopt workspaceTrust 2021-04-13 21:42:54 +02:00
Christof Marti 40a6563f9b Remove git-ui extension 2021-04-13 21:38:53 +02:00
Martin Aeschlimann c826e9aabd
Explicit remote CLI commands (#121212) 2021-04-13 19:49:13 +02:00
Rob Lourens 7104353752
php: use which (#121210) 2021-04-13 19:38:55 +02:00
Martin Aeschlimann f0a344a76e
npm: use which (#121209) 2021-04-13 19:34:43 +02:00
Martin Aeschlimann 6725bd3933
[json] fix for workspaceTrust 2021-04-13 14:41:04 +02:00
Martin Aeschlimann 8e8621c137 [css/json/html] add workspaceTrust property 2021-04-13 14:26:26 +02:00
Johannes Rieken 0788b3fd68
Merge branch 'main' into notebook/dev 2021-04-13 09:17:03 +02:00
Ladislau Szomoru 0c555419fe
Extension workspace trust request using product/settings files (#121021)
* Extension workspace trust request using product/settings files
2021-04-13 08:17:48 +02:00
Matt Bierner 119581fc2a
Use more standard name for shared extension tsconfig
This enables Intellisense in the `tsconfig.base` file
2021-04-12 15:58:38 -07:00
Matt Bierner 98bbcddec3
Enable noImplicitOverride for extensions 2021-04-12 15:54:18 -07:00
Matt Bierner d5f4e119e0
Use Array.from's map directly instead of a second call to map 2021-04-12 14:42:39 -07:00
rebornix 9a00c870b9
remove NotebookEditor#selection. 2021-04-12 14:33:45 -07:00
Martin Aeschlimann 318fe9ff80 improve TestResolver command names 2021-04-12 16:08:07 +02:00
Sandeep Somavarapu 219270a10c
adopt to workspace trust 2021-04-12 16:00:22 +02:00
Martin Aeschlimann 1b26a6d322
Merge pull request #120938 from bourdakos1/update-seti-icons
Update seti icons
2021-04-12 05:15:27 -07:00
Martin Aeschlimann 66c78c9031
Merge pull request #120841 from CanadaHonk/patch-3
[themes] Fix JSON formatting in High Contrast Black default theme (3)
2021-04-12 03:15:24 -07:00
Jackson Kearl 532a0b3a99
Onboard search-result to workspace trust. 2021-04-09 11:49:42 -07:00
Alex Ross 2894338f38
Add all valid hosts to simple browser (#120929)
and pass sourceUri not targetUri
2021-04-09 16:54:31 +02:00
Nick Bourdakos 243f4660ba Update seti icons 2021-04-09 10:31:51 -04:00
Alex Ross 50fe76ba29
Onboard task extension to workspace trust 2021-04-09 14:29:13 +02:00
Matt Bierner 13944bac07
Pick up new katex version 2021-04-08 22:06:22 -07:00
Matt Bierner 3c89afbbc4
Pull in newer markdown-it katex version 2021-04-08 21:27:45 -07:00
Matt Bierner 9c9e188aa0
Don't use 'self' for image editor csp
On desktop, we now serve webview resources from a different origin than the webview itself. This means we no longer can use `'self'` in our CSP as shorthand and instead should always use the provided `cspSource`
2021-04-08 17:08:08 -07:00
Matt Bierner 84391165c3
Pass in correct project root for notebook cells 2021-04-08 16:49:04 -07:00
Raymond Zhao f689971195
Mark Emmet trusted 2021-04-08 13:07:25 -07:00
Matt Bierner 604b950f0d
Reapply badclient commit
Fixes #120781

Add second file this time
2021-04-08 09:09:25 -07:00
CanadaHonk 13452d7fd6
Fix JSON formatting in High Contrast Black default theme (3) 2021-04-08 15:54:02 +01:00
Alex Ross ffde5985b2
Update color for port wtih running process
Part of microsoft/vscode-remote-release#4826
2021-04-08 14:29:39 +02:00
CanadaHonk 936219d314
Fix JSON formatting in High Contrast Black default theme (2) 2021-04-08 11:37:22 +01:00
Martin Aeschlimann eadff843e8
Merge pull request #120761 from CanadaHonk/patch-1
Fix JSON formatting in High Contrast Black default theme
2021-04-08 12:31:00 +02:00
Benjamin Pasero de3aca7a53
Revert "Add badclient telemetry property"
This reverts commit e5ef9895b6.
2021-04-08 08:03:54 +02:00
Matt Bierner e5ef9895b6
Add badclient telemetry property
TS will now notify us if it thinks the error was caused by the client instead of by a server error
2021-04-07 18:49:06 -07:00
Matt Bierner 5207b98402
Update JS/TS grammars 2021-04-07 17:45:59 -07:00
CanadaHonk 4f55d8181b
Fix JSON formatting in High Contrast Black default theme 2021-04-07 22:08:21 +01:00
Matt Bierner c19bae2dfc
Pick up TS 4.2.4 2021-04-07 12:58:43 -07:00
Matt Bierner 73ae56b82b
Build with latest TS nightly (#120690)
* Pick up new TS 4.3

Also tests adding override keywords for extensions as part of #120675

* Update to daily TS and workaround TS 4.3 issue

Works around https://github.com/microsoft/TypeScript/issues/43578
2021-04-07 12:19:05 -07:00
Matt Bierner 05b52df98a Update JS/TS grammar 2021-04-06 17:17:43 -07:00
Jean Pierre 8117fec7df
Fixes #120036 (#120275) 2021-04-06 15:29:36 -07:00
Raymond Zhao bbcaac9693
Fix output.selfClosingStyle, fixes #120417 2021-04-06 14:37:43 -07:00
rebornix 3efdebb1e7
Merge branch 'notebook/dev' into main 2021-04-06 14:03:18 -07:00
Raymond Zhao 551daf412e
Polish and fix #120245 2021-04-06 10:57:48 -07:00
Martin Aeschlimann e7e15984bc package.json completion: fetch on every key (always incomplete) 2021-04-06 19:26:35 +02:00
SteVen Batten c7faaf0ea0
update wt static declarations (#120443)
* update wt static declarations

* add description

* fix hygiene
2021-04-06 09:27:15 -07:00
Martin Aeschlimann 05de36649f
Merge pull request #120317 from Jolg42/npm-ext-use-npm-only
Refactor npm extension to only use npm
2021-04-06 17:05:13 +02:00
Johannes Rieken 2f62eb0906
ignore focus dependent test also on GHA, fixes https://github.com/microsoft/vscode/issues/120355 2021-04-06 16:08:25 +02:00
Martin Aeschlimann ee4b092ef2
Merge pull request #120362 from andrewbranch/ts-4.3-update
[html-language-features] Update TS language service call for 4.3 protocol
2021-04-06 15:06:58 +02:00
Benjamin Pasero def8fc7b0d integration tests - revert changes for commands test 2021-04-06 12:04:50 +02:00
Johannes Rieken fca1144d00
remove NotebookDocument#cells in favor of cellsAt, getCells, and cellCount 2021-04-06 11:50:48 +02:00
Alex Ross e637ff1bf7
Update perl grammar
Fixes https://github.com/microsoft/vscode/issues/120466
2021-04-06 11:30:47 +02:00
Benjamin Pasero 82c180bf34
tests - easy on the timeout
//cc @mjbvz
2021-04-06 11:04:14 +02:00
Benjamin Pasero 8de3791477
integration tests - use async test (#120225) 2021-04-06 10:34:08 +02:00
Liao Jinyuan 80f11080c1
fix get embedded css util (#120480) 2021-04-05 09:11:31 -07:00
Rob Lourens 1c04d9f2df
Update PHP grammar (#120339) 2021-04-05 07:59:14 -07:00
Miguel Solorio e7805ded7e
Merge pull request #119468 from anthony-c-martin/update_vscode_icons 2021-04-04 20:20:56 -07:00
Eric Amodio 874d19930e Calls new fork repo command in a codespace 2021-04-03 13:21:49 -04:00
Raymond Zhao b88f1ede0e
Emmet polish and updateExtensionsPath changes
Fixes #117515, fixes #120435
2021-04-02 13:11:29 -07:00
Raymond Zhao 8fcdb2035a
Improve descriptions, fixes #117516, fixes #117518 2021-04-02 10:01:16 -07:00
rebornix ef1e9bfa2c
Merge remote-tracking branch 'origin/main' into notebook/dev 2021-04-01 12:27:15 -07:00
Eric Amodio 1fd558ab2f Fixes #117513 - deals with very old git 2021-04-01 13:50:22 -04:00
Andrew Branch 8426ff6475
Update language service call for 4.3 protocol 2021-04-01 10:21:34 -07:00
Raymond Zhao f3f8d3d870
Fix tests for #120356 2021-04-01 17:11:53 +00:00
Raymond Zhao 083bf90204
JSX self-closing style should default to XHTML, fixes #120356 2021-04-01 16:20:24 +00:00
Daniel Imms d0c8b51a83
Merge branch 'main' into hbibkrim/114898_terminal_name_change_event 2021-04-01 08:13:12 -07:00
vinku a56afa9033
Emmet: Select next/previous item does not work with script tag. (#118842)
Co-authored-by: Vinay Kumar Sharma <vinakum@microsoft.com>
2021-04-01 08:12:12 -07:00
Sang 595a894b21
Add emmet self closing abbrev support (#120311) 2021-04-01 08:11:15 -07:00
Daniel Imms 6751472731
Merge remote-tracking branch 'origin/main' into pr/habibkarim/115276 2021-04-01 07:18:36 -07:00
Ladislau Szomoru 648ea3d1e0
Refactor requireWorkspaceTrust to requestWorkspaceTrust 2021-04-01 15:59:04 +02:00
KapitanOczywisty 50ce190203
Update PHP grammar 2021-04-01 13:35:07 +02:00
Alex Ross 65a763bdf8
Remove long cpp colorizer test
Fixes #120095
2021-04-01 12:11:37 +02:00
Joël 13e5c93740 refactor npm extension to only use npm 2021-04-01 10:06:12 +02:00
Rob Lourens b41213c573
Enable setTextDocumentLanguage (#119429)
Change cell TextModel handling, fix #117936
2021-03-31 17:04:10 -07:00
rebornix aefafa019d
Merge remote-tracking branch 'origin/notebook/dev' into main 2021-03-31 14:38:25 -07:00
Johannes Rieken 407a0e3723
assert that we have static view columns
https://github.com/microsoft/vscode/issues/115704
2021-03-31 17:51:15 +02:00
Daniel Imms 4c76edff2b
Revert "skip failing terminal tests."
This reverts commit 2d5f0e4953.
2021-03-31 05:07:32 -07:00
Christof Marti 5c79571610 Add next/prev conflicts (#97613) 2021-03-31 10:46:11 +02:00
Wenlu Wang 96d0dc4154
Add next/prev conflicts (#97613) 2021-03-31 10:45:21 +02:00
Johannes Rieken 4fd610fc71
try bigger timeout awaiting events 2021-03-31 08:45:17 +02:00
Johannes Rieken 38abcf09ad
Merge branch 'main' into notebook/dev 2021-03-31 08:14:39 +02:00
Jackson Kearl c18893214c
Fix #120215 2021-03-30 20:06:09 -07:00
rebornix 2d5f0e4953
skip failing terminal tests. 2021-03-30 18:26:57 -07:00
Matt Bierner 9ab80019bf Use forked markdown-it-katex version 2021-03-30 16:08:34 -07:00
Matt Bierner d4412e708a
Render markdown preview cells inside a shadow dom (#120137)
* Render markdown preview cells inside a shadow dom

Fixes #119971

This moves all markdown previews into shadow doms. This lets us prevent styles from outside the preview leak into the preview, and also prevents styles from the preview leak out into the rest of the notebook

* Use composedPath for handling events in webviews

This lets us handle clicks triggered inside of a shadow dom
2021-03-30 14:17:15 -07:00
Matt Bierner 795f44ea6a Build VS Code with latest TS nightly 2021-03-30 13:30:09 -07:00
Raymond Zhao c0ed513633
Add output.inlineBreak parameter, fixes #119088 2021-03-30 12:51:40 -07:00
Raymond Zhao 1f5ff0f17a
Bump dependencies, affects #119088 2021-03-30 12:51:39 -07:00
Raymond Zhao 6e07fb24ee
Remove unnecessary condition, fixes #119120 2021-03-30 11:45:06 -07:00
rebornix 588c2f6c78
skip showNotebookDocment. 2021-03-30 11:32:00 -07:00
Raymond Zhao 9b091c7d22
💄 Emmet tests 2021-03-30 11:30:32 -07:00
Ladislau Szomoru 849a2db25b
Update markdown-it (#120161) 2021-03-30 05:34:25 -07:00
Johannes Rieken 29a1cfddcd
make sure dirty state of notebooks from simple content provider is reflected in extension host, add integration test 2021-03-30 11:50:20 +02:00
Pooya Vakeely 95420b39f2
Add cuda-cpp lang id, grammar and problem matchers (#119444)
* Adding a language ID for CUDA

* Adding aliases for CUDA C++

* Add problem matcher for cuda-cpp based on nvcc output

* Adding a grammar for cuda-cpp

* Adding a language configuration file for cuda-cpp

* Adding a colorizer test for cuda-cpp

* Update the update-grammars.js to pick up cuda-cpp.tmLanguage.json

* Add cgmanifest entry for cuda grammar

Co-authored-by: Alex Ross <alros@microsoft.com>
2021-03-30 11:18:48 +02:00
Matt Bierner 3499f63dc1
Exploration: Better transferring of TypedArrays used in Webview.postMessage (#115664)
* Improve passing of ArrayBuffers to and from webviews

Fixes #115807

* Serialize and restore typed arrays too

This also makes it so that if you pass the same ArrayBuffer twice in an object, we use a single object on the receiver side too

* Fix spelling

* Require VS Code 1.56+
2021-03-30 06:49:34 +00:00
meganrogge 9fd5f25ec5 rendererType -> gpuAcceleration 2021-03-29 18:35:07 -07:00
Daniel Imms 0ff1928a3b
Merge pull request #120002 from microsoft/tyriar/terminal_sandbox
electron-sandbox refactors for terminal
2021-03-29 16:47:00 -07:00
Daniel Imms 182d40c07c
Fix test 2021-03-29 15:34:22 -07:00
Daniel Imms da94e122d1
Merge remote-tracking branch 'origin/main' into tyriar/gpuaccel 2021-03-29 14:40:17 -07:00
Daniel Imms 06ce7bd297
Fix hygiene 2021-03-29 14:40:01 -07:00
rebornix 06a451d815
Merge branch 'notebook/dev' into main 2021-03-29 14:39:40 -07:00
Daniel Imms 7d67641ef3
Merge remote-tracking branch 'origin/main' into tyriar/gpuaccel 2021-03-29 14:23:56 -07:00
Daniel Imms dcb7f7c853
Skip environmentVariableCollection suite
Part of #119826
2021-03-29 14:23:48 -07:00
William Desgardin 30ccdf6b6c
feat: add typographer option for markdown preview (#119641)
Co-authored-by: Matt Bierner <matb@microsoft.com>
2021-03-29 14:18:59 -07:00
Daniel Imms f02e4853c3
Change rendererType to gpuAcceleration
Fixes #106202
2021-03-29 14:15:45 -07:00
rebornix 14373a5fc5
Merge remote-tracking branch 'origin/main' into notebook/dev 2021-03-29 14:09:27 -07:00
Andrew Branch 29ca249959
[typescript-language-features] Support import statement completions for TypeScript 4.3 (#119009)
* Support import statement completions for TypeScript 4.3

* Fix forgotten argument

* Add snippet preference

Co-authored-by: Matt Bierner <matb@microsoft.com>
2021-03-29 11:38:22 -07:00
Matt Bierner a39120ddd1
Add support for JSDoc link tags (#119358)
* Add support for JSDoc @link tags

Fixes #119357

* Fix unresolved links not rendering
2021-03-29 11:29:52 -07:00
arnobl 1c3c96b4b9
fix(notebook): redo cell creation does not re-select the cell 2021-03-29 10:59:41 -07:00
Peng Lyu a573d500d0
Merge pull request #120086 from arnobl/fix-notebook-redo-selection
fix(notebook): redo cell creation does not re-select the cell
2021-03-29 10:59:04 -07:00
Raymond Zhao a5f7945b3b
Update git test for integration tests, fixes #120116 2021-03-29 09:39:39 -07:00
Martin Aeschlimann 3e16e9151b
update typescript-vscode-sh-plugin. For #120103 2021-03-29 16:42:37 +02:00
Alex Ross 17e7a257ff
Update grammars 2021-03-29 15:16:24 +02:00
Johannes Rieken d13f3b4a2f
remove NotebookContentProvider#resolveNotebook 2021-03-29 12:21:45 +02:00
Benjamin Pasero 7f36af1c92
debt - improve emmet integration tests
- properly close all editors
- disable minimap to prevent spammy output
2021-03-29 09:20:49 +02:00
Ladislau Szomoru 5d2e7aceda
Remove code that is not needed (#120005) 2021-03-29 09:20:47 +02:00
Benjamin Pasero b19f50e016
debt - improve emmet integration tests
- properly close all editors
- disable minimap to prevent spammy output
2021-03-29 08:31:14 +02:00
arnobl 7fbddb5522 fix(notebook): redo cell creation does not re-select the cell 2021-03-28 23:15:28 +02:00
Ladislau Szomoru 6aa528024b
Remove code that is not needed (#120005) 2021-03-27 07:52:29 +00:00
Eric Amodio 99c8eb6994 Fixes regex - codespaces remotes are missing .git 2021-03-25 18:24:41 -04:00
Greg Van Liew 64256f22d6
Merge pull request #119895 from gregvanl/settingTypos
Setting descriptions typos and formatting
2021-03-25 11:44:25 -07:00
gregvanl 975115a2cb Setting descriptions typos and formatting 2021-03-25 10:17:31 -07:00
Connor Peet 05ce54df77
testing: remove unused contributions 2021-03-24 21:12:12 -07:00
Rob Lourens 1a425eacb8 Accept single outputs or arrays in execution task output edit methods
Fix #119601
2021-03-24 17:48:26 -07:00
meganrogge b63cfb3a8b skip test and remove unused code 2021-03-24 15:27:24 -07:00
Jackson Kearl 8d6c2a2388
Make drop shadow much more subtle
Closes #119633
2021-03-24 15:21:09 -07:00
Johannes Rieken 22212f5de8 use APIs over commands, fixes (?) https://github.com/microsoft/vscode/issues/119437 2021-03-24 15:01:36 -07:00
Eric Amodio 38160c823c Fixes codespaces fork on push
Codespaces might not have a push url on the remote, so use the fetch url
2021-03-24 17:11:24 -04:00
Matt Bierner e3e7fb0b2a Set explicit mode for markdown preview code
Fixes #119813
2021-03-24 12:30:37 -07:00
Matt Bierner addf2d6d9e Fix spelling for gitignore 2021-03-24 12:29:08 -07:00
Matt Bierner f8c1ffbb0c Build simple-browser media during watch
Fixes #119795

This lets us avoid having these files checked in
2021-03-24 12:27:30 -07:00
Martin Aeschlimann 8d3d8e0cd0 html: add vscode-languageserver-textdocument as dependency 2021-03-23 19:32:55 +01:00
Martin Aeschlimann 8c7a3d8f6c
html: fix compile errors 2021-03-23 19:30:46 +01:00
Martin Aeschlimann 4eb625f0cf [html] update service 2021-03-23 15:41:42 +01:00
Alex Ross 64381abea9
unconfiguredPortsAttributes -> otherPortsAttributes
Fixes microsoft/vscode-remote-release#4732
2021-03-23 15:06:04 +01:00
Rob Lourens 194c37b4cf Fix test for latestExecutionSummary init 2021-03-22 18:45:32 -07:00
SteVen Batten 9fa49ba941 ignore optional dependencies when webpacking 2021-03-22 18:31:21 -07:00
SteVen Batten 9c00242866 updating telemetry module for built-in exts 2021-03-22 16:28:08 -07:00
Rob Lourens f201f7bc68 Fix notebook test 2021-03-22 14:15:47 -07:00
rebornix 7e719d3f04
Merge branch 'notebook/dev' into main 2021-03-22 14:00:59 -07:00
Raymond Zhao 0089ba3ae1 Bump vscode-emmet-helper, fixes #112675 2021-03-22 19:01:11 +00:00
Jean Pierre c95389a7b2
Fix emmet completions in scss (#118666)
Part of #112675
2021-03-22 11:42:06 -07:00
Rob Lourens 7b96cc4c8b
Implement Execution API (#116416)
Implement new execution task API
#106744
Fix #105847
2021-03-22 11:27:00 -07:00
Eric Amodio 4b0118871f Adds codespaces lookup via command for desktop 2021-03-22 13:35:19 -04:00