Commit Graph

100 Commits

Author SHA1 Message Date
Rob Lourens
c717237d7c Reenable a couple notebook smoketests (#159521)
* Remove vscode-notebook-tests in favor of an .ipynb in vscode-smoketest-express

* Update build folder

* Add build task to correct platform

* Build for smoke tests on other platforms

* Fix repo url and remove comment

* Just -media?

* Update darwin/win32 as well
2022-09-14 13:22:16 -07:00
Johannes
d6f5727021 also use SWC for extensions transpile 2022-09-07 11:18:53 +02:00
Connor Peet
ca48c64699 build: cache built-in extensions to avoid rate limiting (#156918) 2022-08-03 00:27:16 +02:00
Matt Bierner
ad9675f099 Scaffold out basic markdown language server (#154293)
* Scaffold out basic markdown lsp

This scaffolds out a new markdown language server and then uses it to implement document symbols. After the change, the markdown extension will have the following structure:

- languageService — Where all the LSP language stuff will eventually land
- server — The actual language server. Consumes ` languageService`
- src — The current extension that launches the server and implements VS Code specific functions

* Adding build scripts

* a

* Use language service from github

* Remove ls build scripts

* Bump versions

* Only build ext

* Enable for web

* Fixing for browser
2022-07-06 16:03:24 -07:00
Matt Bierner
bbe7b54cf4 Remove custom editor tests (#152777)
These tests are not actively being run or maintained. Removing them for now
2022-06-21 15:37:19 -04:00
Johannes Rieken
9e21aff42e joh/ts transpile (#152199)
transpile-only tasks for client and extensions

* extract transpile into its own file
* add transpile-client task, polish transpiler
* add transpile-extensions, improve transpile logic
* move declaration of "const enum" above it usage so that it can be used with const-enum-inlining
* (ugly) make d.ts transpilation configurable because it is needed for extensions but a problem for client
* hack my way around so that `getOwnEmitOutputFilePath` is reusable by our transpile
* honor `noEmit` flag
2022-06-15 16:52:48 +02:00
Johannes
eda80f2065 Merge branch 'main' into joh/voluminous-lobster 2022-06-09 16:47:09 +02:00
Johannes
ba66d68c76 add transpile only stream to tsb, using ts.transpile.
https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-simple-transform-function
2022-06-09 15:00:55 +02:00
Johannes
0656d21d11 auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Johannes
c13d581bce move gulp-tsb into the build/lib remove as dependency 2022-05-05 11:35:33 +02:00
Johannes
d3e6eb992b move references-viewlet into extensions/-folder 2022-05-03 16:46:13 +02:00
Connor Peet
5e86e40fab extensions: pull from github in OSS build (#146863)
* extensions: pull from github in OSS build

* fixup! address pr comment
2022-04-10 22:36:12 -07:00
Matt Bierner
f71bd27ec9 Adding type annotations 2022-02-28 14:32:12 -08:00
Tyler James Leonhardt
f67a8b753f Use device flow over PAT when we are running in a server full environment but not in a supported uri (#139255)
* initial attempt

* use github-authentication instead

* rework error handling

* update copy

* explain why Workspace
2021-12-15 22:07:49 -05:00
Ladislau Szomoru
bfad20be9d Extract remote source provider registry into the vscode.git-base extension (#137656) 2021-11-24 20:48:44 +01:00
Jean Pierre
556ce85c82 Fixes #137568 (#137570) 2021-11-24 04:42:44 -08:00
Rob Lourens
5793ae026a Rename serializer extension and set up build scripts 2021-07-21 15:03:24 -07:00
Connor Peet
6cc4e560f7 testing: remove unused testing-editor-contributions
Fixes #127691
2021-07-07 15:38:27 -07:00
Matt Bierner
0a57fd87b1 Enable math in markdown preview
Fixes #124783
2021-06-08 09:58:54 -07:00
João Moreno
d0d80ec337 fix build 2021-05-27 11:50:04 +02:00
João Moreno
d777991656 move buildExtensionMedia to lib 2021-05-26 20:38:28 +02: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
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
Matt Bierner
9bacf617b2 Use clearer variable names 2021-04-21 00:21:48 -07:00
Christof Marti
40a6563f9b Remove git-ui extension 2021-04-13 21:38:53 +02: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
Matt Bierner
c0885dd0c4 Add task to build extension media (#119294)
This lets us avoid checking in the compiled js files that are used inside webviews and notebooks
2021-03-18 19:15:59 -07:00
Alexandru Dima
2d5f7fd072 Move onEnterRules to language-configuration.json 2021-01-20 12:20:27 +01: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
5e673678eb Merge branch 'joao/build/single-compile-job' 2021-01-07 10:59:12 +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
João Moreno
af6d164f73 single compile job 2021-01-06 20:37:33 +01: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
c1eb24b027 Load expensive node modules lazily 2020-12-22 19:55:56 +01:00
Martin Aeschlimann
542a82754c yarn watch: save errors in separate files, make error regex multiline aware 2020-11-20 14:06:42 +01:00
Alex Dima
5ba8591765 Align build scripts 2020-07-27 13:18:17 +02:00
Martin Aeschlimann
4f1997dcc7 fix windows path issues in yarn watch-web 2020-06-26 11:15:27 +02:00
Martin Aeschlimann
24f7393beb add yarn watch-web 2020-06-25 17:34:12 +02:00
Joao Moreno
05e62bb847 fix extensions watch build: should also copy non-ts files 2019-11-20 12:40:00 +01:00
Rob Lourens
bb02180904 Delay gulp-watch read so watch task isn't broken on slower disks.
vscode writes files non-atomically. This is useful on an azure devbox over ssh.
2019-09-09 14:39:13 -07:00
Johannes Rieken
f8daa9eac4 use project-src() to compile what tsconfig-defines 2019-09-06 18:16:12 +02:00
Johannes Rieken
2b46fe4c30 adopt gulp-tsb 4.0.0, remove postinstall hacks 2019-09-06 17:21:36 +02:00
Joao Moreno
b4add9fcaa remove gulp sequence 2019-07-05 16:11:50 +02:00
Joao Moreno
1478853bd8 bring back legacy extensions compilation 2019-07-04 15:51:45 +02:00
Joao Moreno
399ff1a2fe gulp ci build task 2019-07-01 12:24:33 +02:00
Joao Moreno
0678cb9ed3 build: remove old extensions build task, split extensions into gulp task 2019-07-01 11:54:36 +02:00