Commit Graph

153 Commits

Author SHA1 Message Date
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
Alex Dima
7c09398e38 Update .d.ts shape 2018-03-15 14:52:14 +01:00
Alex Dima
3ea352cde0 Remove edcore.main 2018-03-15 14:45:11 +01:00
Alex Dima
0b00685d81 Publish standalone editor 2018-03-15 14:45:04 +01:00
Alex Dima
3cde6c2f26 Align standalone editor CompletionItem 2018-03-15 14:44:47 +01:00
Alex Dima
d0eaa02c0a Better support for ESM workers 2018-03-15 14:44:36 +01:00
Johannes Rieken
185630f925 add MarkerSeverity, #44141 2018-03-14 13:23:09 +01:00
Johannes Rieken
8a156e1d95 adding IRelatedInformation to the marker model, #260 2018-03-14 11:39:00 +01:00
Matt Bierner
82be8c8b01 Build with TS 2.7 (#45348)
* Pick up TS 2.7

* Fix formatter in build script

* Fix build error for ts 2.7

* Pick up new ts format and tslint versions

* Update lock

* use 2.7.2 for build

* Formatting
2018-03-08 16:58:32 -08:00
Joao Moreno
f11c13d8ae endl monaco.d.ts 2018-03-07 08:35:58 +01:00
Joao Moreno
8ba5faed36 fix line endings 2018-03-06 15:29:40 +01:00
Joao Moreno
12ab70d329 fix line endings 2018-03-05 12:47:11 +01:00
Alex Dima
54e7055c12 Rename IModel to ITextModel 2018-01-04 16:44:40 +02:00
Alex Dima
0721df783d Extract model types out of editorCommon.ts 2018-01-04 16:27:58 +02:00
Alex Dima
7b0a1cd3b2 Eliminate extraneuous model interfaces 2018-01-04 12:08:25 +02:00
Joao Moreno
5e5ebf5c1f Merge branch 'master' into yarn 2017-11-14 18:46:07 +01:00
Alex Dima
73dea41439 Remove old/unused scripts 2017-11-14 17:38:30 +01:00
Joao Moreno
b088da1783 build/monaco/yarn.lock 2017-11-14 10:29:56 +01:00
Alex Dima
82b13bc9e3 Remove ICommonCodeEditor (#37834) 2017-11-10 20:47:29 +01:00
Matt Bierner
be88547c66 Prototyping new CodeAction API (#36316)
* Add CodeAction Type

Adds skeleton on a new CodeActionType and allows codeActionProvider to return either `Command`s or `CodeAction`s

Move proposed CodeAction API to proposed and try using it in TS

Split CodeAction into quickfix and refactoring classes

Update proposed interface

Update for new API

Adding basic docs

* Support workspace edits and text edits in codeactions

* Remove placeholders

* Resolving conflicts and making PR suggested changes

* Fix quick fix test

* Revert change to only use `CodeAction` instead of `CodeAction | Command` in modes since this will break `vscode.executeCodeActionProvider`
2017-11-08 16:07:34 -08:00
Matt Bierner
f048c5ea63 Adopt ts 2.6.1 for building vscode. Fixes #37719 2017-11-06 09:28:27 -08:00
Johannes Rieken
bcfc11acc0 uri - export UriComponents 2017-10-18 15:14:56 +02:00
Matt Bierner
0bd33bbd96 Use strict versions for @types. Fixes #35561 2017-10-09 11:21:00 -07:00
Matt Bierner
69afce7650 Build using TS 2.5 (#33705)
* Build using TS 2.5

Fixes #33704

* Remove explicit return type
2017-09-01 13:52:42 -07:00
Johannes Rieken
9791d58701 replace MarkedString with object-type IMarkdownString, #29076 2017-08-23 15:53:39 +02:00
Ron Buckton
066a2bb141 Update Promise definition (#30268)
* Update definition of Promise in winjs.base.d.ts.

* Update to new Promise declaration

* Fix remaining errors.
2017-08-18 00:02:57 -07:00
rsafronov
53a0e27cc2 Fixed comments from @jrieken 2017-07-20 19:59:11 -04:00
Matt Bierner
5da27baff3 Build VSCode using TS 2.4 (#30473)
* Build VSCode using TS 2.4.1

Fixes #28643

a

* Reformat a few files for 2.4

* Fix compile errors in jsoneditingservice
2017-07-12 11:28:47 -07:00
Alex Dima
630109944f monaco-editor-core - 0.9.0 2017-06-30 18:06:28 +02:00
Alex Dima
875144b25b Move standaloneThemeService to vs/editor/standalone 2017-06-20 09:04:21 +02:00
Alex Dima
28b5300aaa Move most of the standalone editor specific code to vs/editor/standalone 2017-06-20 08:45:47 +02:00