Commit Graph

87 Commits

Author SHA1 Message Date
Alex Dima
91b97cec91 Debt: Rename IModeService to ILanguageService 2021-12-08 14:36:18 +01:00
Alex Dima
11862795ea Remove LanguageIdentifier and ensure tests dispose instantiated LanguagesRegistry objects 2021-10-18 10:29:16 +02:00
Alex Dima
7b23c5479c Clean up diff editor options and add diffEditor.maxFileSize 2021-09-14 12:34:08 +02:00
Alex Dima
8ef3beee63 Move extra monaco.d.ts content to the recipe file 2021-08-20 10:21:29 +02:00
Alexandru Dima
166efae366 Fix --noImplicitOverride problems (#120675) 2021-04-22 14:50:51 +02:00
Alexandru Dima
3a287ee1ea Fixes microsoft/monaco-editor#2302: Only define global monaco if asked to do so or if using AMD 2021-01-28 13:51:17 +01:00
Alex Dima
65fee79198 Add types for MonacoEnvironment (microsoft/monaco-editor#1795) 2020-02-04 18:39:04 +01:00
Alexandru Dima
b4a79d682a Add getters for computed editor options (Fixes microsoft/monaco-editor#1734) 2020-01-14 16:31:16 +01:00
Alexandru Dima
5418a56423 Fixes microsoft/monaco-editor#1746: Add typings for all possible options, even the global ones 2020-01-06 13:34:15 +01:00
Alex Dima
dfd849b915 Remove unused types from monaco.d.ts 2019-12-12 21:59:11 +01:00
Alexandru Dima
27770ed1b5 Make type relationships more explicit to help the tree shaker 2019-11-13 11:15:37 +01:00
Alexandru Dima
29f0d108bf Fixes microsoft/monaco-editor#1553 2019-09-30 15:53:45 +02:00
Alex Dima
363b976941 Convert more editor options 2019-09-02 23:05:00 +02:00
Kamran Ayub
edf8024989 Add generated warning to monaco 2019-07-22 13:08:21 -05:00
Matt Bierner
967eef771b Also update monaco d.ts recipe for requiring explicit argument for fire 2019-01-03 17:39:12 -08:00
Johannes Rieken
5c948589f4 debt - more no tpromise in monaco.d.ts #53526 2018-12-12 17:00:26 +01: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
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
c4ea51ab7e Remove TValueCallback from monaco.d.ts 2018-09-06 11:19:57 +02:00
Alex Dima
399a80f42a Remove unnecessary declarations 2018-08-12 15:47:52 +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
42c2387eb0 More fixes to monaco.d.ts 2018-03-15 14:54:17 +01:00
Alex Dima
ce0cf14a2b Slight changes to the shape of monaco.d.ts 2018-03-15 14:53:43 +01:00
Alex Dima
7c09398e38 Update .d.ts shape 2018-03-15 14:52:14 +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
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
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
Johannes Rieken
bcfc11acc0 uri - export UriComponents 2017-10-18 15:14:56 +02: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
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
Alex Dima
1171b53005 Move standalone editor specific code to vs/editor/standalone 2017-06-20 08:45:47 +02:00
Alex Dima
d7577d52e8 Move monarch code to vs/editor/common/standalone 2017-06-19 16:31:57 +02:00
Alex Dima
4e25d35572 Fixes #28886: Layer breaker in vs/platform/statusbar/common/statusbar.ts 2017-06-19 10:51:40 +02:00
Johannes Rieken
c5801bd87c update monaco.d.ts (copyright, whitespace) 2017-04-26 17:59:30 +02:00
Alex Dima
a29c3e1c71 Move cursor events out of editorCommon 2017-04-19 15:17:34 +03:00
Alex Dima
4807f83348 Move ISelection out of editorCommon 2017-04-18 18:16:26 +03:00
Alex Dima
f3be941164 Move IRange out of editorCommon 2017-04-18 17:33:22 +03:00
Alex Dima
8a3f8985fa Move IPosition out of editorCommon 2017-04-18 16:53:33 +03:00