Commit graph

183 commits

Author SHA1 Message Date
Alex Dima 57f34ad851 monaco-editor-core@0.16.0 2019-03-02 02:35:13 +01:00
Alex Dima afded16b6f Fix Microsoft/monaco-editor#1297 2019-03-02 02:35:12 +01:00
Alex Dima b4445a9f73 Move away from deprecated gulp-util 2019-02-05 22:21:05 +01:00
Alex Dima add9437982 WorkbenchAsyncDataTree implements IThemable 2019-02-05 18:18:18 +01:00
Alex Dima ec4652f1cc Use also mtime to validate source file cache 2019-01-07 11:58:40 +01:00
Matt Bierner 967eef771b Also update monaco d.ts recipe for requiring explicit argument for fire 2019-01-03 17:39:12 -08:00
Alex Dima e4b1db51cc Fixes #65040 2018-12-17 15:43:09 +01:00
Johannes Rieken 37327f7070 remove invalid promise references #65040 2018-12-14 09:50:27 +01:00
Johannes Rieken a99079f13a remove winjs-based polyfill promse #53526 2018-12-13 10:14:42 +01:00
Johannes Rieken 5c948589f4 debt - more no tpromise in monaco.d.ts #53526 2018-12-12 17:00:26 +01:00
Alex Dima 6e465986a7 Fix editor publishing scripts (on Windows) 2018-11-13 15:31:28 +01:00
Alex Dima f21c227349 Make sure to always write with normalized line endings 2018-10-24 16:28:42 +02:00
Alex Dima 4823e0e2da Use yellow for monaco.d.ts errors 2018-10-24 16:22:32 +02:00
Alex Dima 072eef20ac Show monaco.d.ts output only when something has changed 2018-10-24 16:11:48 +02:00
Alex Dima 9deb8d4a42 Read monaco.d.ts.recipe files as needed (don't prepare them up front) 2018-10-24 16:11:48 +02:00
Alex Dima c88064a3ad Make sure standaloneEnums have consistent line endings 2018-10-24 16:11:48 +02:00
Alex Dima baf8b88b1d Add versioning to monaco.d.ts generation 2018-10-24 16:11:48 +02:00
Alex Dima 67eacaa4a8 Use const enums (and generate non-const ones for standalone editor) 2018-10-22 09:59:30 +02:00
Alex Dima 4b8f928808 Faster monaco.d.ts generation 2018-10-17 23:19:20 +02:00
Alex Dima 4f09f1aa4a Cache TS source files between runs of generator 2018-10-17 16:54:45 +02:00
Alex Dima 238440b738 Change how monaco.d.ts is generated:
- do not use the .d.ts files coming in from gulp-tsb
- remove the generation of .d.ts files
- run before compilation starts
- install file watchers directly
2018-10-17 16:54:45 +02:00
Matt Bierner 3fcb671444
Use es2017 as target for build scripts (#60707)
Upgrades our build scripts to target ES2017 since they are run on modern versions of node

This allows us to remove shims for es6 features such as `Object.assign`, and also remove a few extra typings packages
2018-10-12 11:24:15 -07:00
Alex Dima d729e50521 Fix standalone editor gulp scripts.
Tree Shaking:
- do not proceed with tree shaking when there are compilation errors
- load .d.ts files in the language service
- adopt TS 3.1.1 in symbol resolution
- use the real tsconfig.json / with "node" resolution

Bundling:
- fix issue where files were being looked for in out-build instead of out-editor-build
2018-10-10 11:09:29 +02:00
Alex Dima fdf2dec52d Remove usage of TPromise from public editor API (#53526) 2018-10-09 09:46:54 +02:00
Johannes Rieken 005858ed7c add missing compile 2018-10-08 10:23:06 +02:00
Douglas Gabriel 414da9bf7e Removing dead code from 2018-10-05 10:24:19 -03:00
Matt Bierner e8475ad59f Enable noUnusedParameters in build scripts 2018-10-03 17:26:47 -07:00
Matt Bierner 5de9c9bf8b Compile build in strict mode 2018-10-03 17:26:47 -07:00
Matt Bierner 38fbec9568 Converting some require imports to import from imports
This ensures we pick up the correct typings for these imports
2018-10-03 14:18:36 -07:00
Matt Bierner 56a161042c Fix strict null errors in api 2018-10-03 10:47:32 -07:00
Alex Dima c4ea51ab7e Remove TValueCallback from monaco.d.ts 2018-09-06 11:19:57 +02:00
Alex Dima f6cf2af556 Add workaround for #56151 2018-08-12 15:48:25 +02:00
Alex Dima dd2a752c09 Don't ship unnecessary files in /esm/ 2018-08-12 15:48:15 +02:00
Alex Dima 1241118728 Fix compilation errors 2018-08-12 15:48:06 +02:00
Alex Dima 399a80f42a Remove unnecessary declarations 2018-08-12 15:47:52 +02:00
Joao Moreno b972256770 Merge branch 'master' into remove-ppromise 2018-08-06 12:42:00 +02:00
Alex Dima 09ec2eb1e4 Use the new optimize-editor task 2018-07-20 11:26:32 +02:00
Alex Dima 8d9db1808e Add ability to generate standalone editor usages file 2018-07-19 15:19:42 +02:00
Joao Moreno a25aaa711f remove ProgressCallback from monaco d ts recipe 2018-07-04 11:53:04 +02:00
Martin Aeschlimann 1f79465e8c monaco tokenize API polish 2018-06-22 16:34:56 +02:00
Martin Aeschlimann 940ad8198f tokenizer2 APIs for monaco 2018-06-22 16:34:56 +02:00
Matt Bierner 8bb27cd255
Add unused diagnostic subtype (#49646)
* Add unused diagnostic subtype

Fixes #15710

Adds a new `DiagnosticTag` class that provide additional information about a diagnostic. Introduce `DiagnosticTag.Unnecessary` to mark when a diagnostic is for unused / unnecessary code

The design comes from Rosyln's diagnostic object and allows us to modify how a diagnostic is rendered without changing its serverity.

Hooks up JS and TS to use this new tag. This is controlled by the `javascript.showUnused.enabled` setting which is enabled by default

- Introduce a new diagnostic severity for unused.

    However, using this approach, if a user sets `noUnusedLocals` in their `tsconfig.json`, the resulting diagnostic could only show the squiggly OR be grayed out. Using `customTags` allows us to support both graying out and showing the squiggly

- Custom JS/TS implementation using decorators

    Not themable. We want a standard experience across languages.

* - Move to proposed
- Use numeric enum
2018-05-17 15:43:59 -07:00
Alex Dima 97524812b8 Ship monaco-editor-core 2018-04-12 09:50:09 +02:00
Alex Dima c9662f4278 Fixes Microsoft/monaco-editor#770 2018-04-12 09:49:56 +02:00
Alex Dima 7c849cb6d2 Editor release 2018-03-19 12:27:48 +01:00
Alex Dima 42c2387eb0 More fixes to monaco.d.ts 2018-03-15 14:54:17 +01:00
Alex Dima 3eb8bdcbad New editor release 2018-03-15 14:54:11 +01:00
Alex Dima ce0cf14a2b Slight changes to the shape of monaco.d.ts 2018-03-15 14:53:43 +01:00
Alex Dima 739e59c08a Release editor 2018-03-15 14:52:41 +01:00
Alex Dima bc8ed2c80a Bump editor version 2018-03-15 14:52:27 +01:00