Commit Graph

137 Commits (e70ba206ff5b7b6fe54a7abda6ddb97ca3658758)

Author SHA1 Message Date
Matt Bierner 35f855796b
Add support for markdown notebook renderers (#115191)
* Use shared webpack version instead of installing locally for simple-browser

* Use npm for building markdown preview

* render markdown in webview.

* update markdown preview height and offset

* Add basic custom notebook renderer point

* update css

* style update.

* update markdown header padding left

* Add example of loading katex to extend the markdown-it renderer

* Rename global to make clear it only applies to markdown-in

* hide/remove markdown preview

* Add wait for initial markdown preview rendering before showing notebook

* Add double click to switch to editing mode

* Fix markdown cells not getting updated after editing

* style polish

* notebook.experimental.useMarkdownRenderer

* switch render strategy.

* Adding very intial drag drop support for notebook markdown cells

* Implement drag/drop stubs for test classes

* Revert unrelated file changes

* Move markdown notebook math to own extension

* Add missing imports

Co-authored-by: rebornix <penn.lv@gmail.com>
2021-02-10 16:41:53 -08:00
João Moreno c3b556727e
fix update-grammars script 2021-02-02 12:30:08 +01:00
Raymond Zhao 74f31a6859
Fix #111299 (#114441)
* Fix #111299

* Apply review comments

* Update build/npm/preinstall.js

Co-authored-by: Robo <hop2deep@gmail.com>

Co-authored-by: Robo <hop2deep@gmail.com>
2021-01-19 10:52:50 -08:00
João Moreno 0e7f3d0d8c
Revert "remove colorize-tests extension usage"
This reverts commit d577c4b18d.
2021-01-19 11:39:39 +01:00
João Moreno d577c4b18d
remove colorize-tests extension usage 2021-01-15 12:59:42 +01:00
João Moreno 6525b42f47
remove unused file 2021-01-14 20:22:28 +01:00
Connor Peet 01089c0a50
testing: fix unit tests 2021-01-06 15:35:20 -08:00
Connor Peet e2c9137841
testing: fix unit tests 2021-01-06 15:32:50 -08:00
Connor Peet 5909115757
testing: code lens and diagnostic information for tests 2021-01-06 15:22:49 -08:00
Matt Bierner 3ed300eb9d
Add simple browser extension (#109276)
* Add support for TS's Hierarchical refactorings API

https://github.com/microsoft/TypeScript/pull/41975

* Add simple browser extension

This change adds a new 'simple browser' extension. This extension uses a webview to render webpages directly in VS Code. We plan on using it for optionally previewing local servers in both desktop and codespaces

The browser itself has a number of limitations due to the security around iframes:

- It traps keyboard focus
- We can't detect if a page fails to load
- We can't track the current url of the iframe

* Add experimental alert when the iframe is focused

* Disable events on focus warning

* Hooking up simple browser to opener
2021-01-04 19:06:53 -08:00
Alexandru Dima 9945754a62
Add editor smoke test (ported from `monaco-editor`) 2020-12-28 21:44:42 +01:00
Alexandru Dima 76c974bfeb
Have a clear list of directories where yarn should be executed 2020-12-23 11:28:32 +01:00
Alexandru Dima 90f9a7de88
Execute `yarn --ignore-engines` for extensions 2020-12-18 10:26:13 +01:00
Alexandru Dima 1141224b80
Remove debug console log 2020-12-18 10:26:13 +01:00
João Moreno fd85ae4f4a
Avoid recompiling remote native node modules (#112644)
* avoid recompiling remote native node modules

fixes #112320

* fix build

* update cache

* empty

* chore: remove rebuild step

* chore: update salt

* product compile should use same CC CXX

Co-authored-by: deepak1556 <hop2deep@gmail.com>
2020-12-17 02:16:32 -08:00
Johannes Rieken ac9e250cce support node 15 2020-11-27 09:55:08 +01:00
Johannes Rieken a5bda3ee95 support later node for building 2020-11-26 17:11:07 +01:00
João Moreno 908503ee89 ignore remote and web when yarn in arm64 2020-07-13 15:23:54 +02:00
João Moreno 6968ef84a0 force rebase when pulling 2020-07-01 20:34:22 +02:00
João Moreno 04be06ff6f fix skip remote 2020-05-20 15:23:10 +02:00
João Moreno d424ff23ca skip remote for win32 arm64 2020-05-20 15:18:21 +02:00
Martin Aeschlimann 5712574281 'Please use yarn to install dependencies.' when using yarn. Fixes #93119 2020-03-21 14:12:08 +01:00
Joao Moreno 56cd2882a1 fix env in postinstall 2020-02-21 16:39:59 +01:00
Benjamin Pasero 4be3cc8846 test - convert web integration to TS 2020-02-07 12:41:12 +01:00
Rachel Macfarlane 06a48362f3 Replace typings file for windows-process-tree with @types module 2019-11-12 16:00:33 -08:00
Benjamin Pasero 14c3b2e486
Update build to use node.js 12.x (#83967)
* build - update to node.js 12x for building

* fix it

* adopt vscode-gulp-watch
2019-11-05 09:53:15 +01:00
Rob Lourens 1b5a3ac156 Delete module version check that is now redundant with similar check in hygiene 2019-10-24 09:23:53 -07:00
Joao Moreno b53811e67e fix npm postinstall step, remove xterm from version matching 2019-10-24 08:20:25 +02:00
Robo 029e9929ae chore: Update to Electron 6.x (#75802) 2019-09-13 14:53:56 +02:00
Jason Ginchereau 3d08742789 Add automation to root postinstall script 2019-09-09 09:30:34 -07:00
Johannes Rieken 2b46fe4c30 adopt gulp-tsb 4.0.0, remove postinstall hacks 2019-09-06 17:21:36 +02:00
Matt Bierner cf446b9233 Build VS Code using TS 3.6
Fixes #80079

Updates our build to use TS 3.6. Fixes a few changes to dom apis and adds a monkey patch for the node typings break in 3.6
2019-09-02 21:27:52 -06:00
Rob Lourens a726cef3c3 Check that modules in both the base package.json and remote/ have the same version installed 2019-08-12 14:51:47 -07:00
Alex Ross 91da8dc700 Update C++ grammar for insiders to get hang fix
Fixes #78769
2019-08-12 15:01:26 +02:00
Benjamin Pasero 1648e1dcf8 web - add build 2019-07-14 13:12:54 +02:00
Alex Ross 922ab6db62 Update grammar script to include option path for version
Update C grammars to get macro fix
2019-07-09 10:47:13 +02:00
Joao Moreno 1a254a3a8d yarn update-distro 2019-07-02 10:19:55 +02:00
Joao Moreno f15e5a706b use yarn --frozen-lockfile for builds 2019-06-26 11:17:31 +02:00
Martin Aeschlimann b8914bcfc7 move install-server 2019-06-19 12:55:52 +02:00
Martin Aeschlimann 466b29a0ae install server: use distro commit 2019-06-14 10:47:52 +02:00
Alex Dima 8b08ad7e8a Add /remote/ 2019-05-22 15:59:37 +02:00
Keyi Xie 172a32d5c6
fix mispell 2019-04-09 13:21:46 +08:00
Alex Dima 0c203ce857 Respect usage of yarn with --ignore-optional 2019-03-19 16:53:41 +01:00
Alex Dima 693673bed1 Use node 10.15.1 on build machine 2019-02-07 13:05:45 +01:00
Alex Ross b0b6dc6c2e Update grammars to pick up make changes
and fix hashes.
2019-02-06 15:16:49 +01:00
Segev Finer ba41bffa99 Print a message before installing dependencies in npm post install
Should make it easier to see what it's doing and debugging failures.
2019-01-23 23:40:46 +02:00
Alex Ross 6c6cd0aab4 Update grammars 2018-12-12 17:25:07 +01:00
Dirk Bäumer 8b86554f3a Support updating localization extensions from files on disk 2018-11-22 23:36:35 +01:00
Matt Bierner cf4e17cd4b Remove windows-process-tree types if they get installed
These typings cause duplicate identifier errors on windows tsc builds
2018-11-08 17:49:45 -08:00
Alex Ross fd8d4b09e1 Update grammars 2018-10-23 16:13:27 +02:00