Commit graph

261 commits

Author SHA1 Message Date
Henning Dieterichs aa88e727da
Implements initial version of moved code detection. (#184336)
* Implements initial version of moved code detection.

* Fixes monaco.d.ts

* Fixes tests.
2023-06-05 08:50:55 -07:00
Alex Dima 1331522372
Avoid using types defined in @types/trusted-types 2023-06-02 12:32:46 +02:00
Alexandru Dima 828118d55e
Allow embedders to intercept trustedTypes.createPolicy calls (#184093) 2023-06-01 15:20:10 -07:00
Henning Dieterichs b816a3ffaf Fixes CI 2023-04-26 23:31:20 +02:00
Sebastian Pahnke 107a4809df Expose EditorZoom in the monaco API 2023-03-14 10:02:19 +01:00
Henning Dieterichs 2a290b6a72
Move lineRange to editor/common/core and adds editor.experimental.asyncTokenizationLogging (#176408)
* Move lineRange to editor/common/core and adds editor.experimental.asyncTokenizationLogging

* Fixes CI
2023-03-07 18:00:08 +01:00
Martin Aeschlimann d4237bd8d5
merge ThemeIcon and CSSIcon (#171279) 2023-01-13 20:15:16 +01:00
Henning Dieterichs 3e19ba91ff
Allows to pass in a custom diffing algorithm when instantiating the monaco diff editor. (#165179)
* Allows to pass in a custom diffing algorithm when instantiating the monaco diff editor.

* Undo launch.json change
2022-11-16 08:48:39 +01:00
Matt Bierner 0c6cc3a886
Let markdown strings specify a list of commands that they allow (#163915)
* Let markdown strings specify a list of commands that they allow

Fixes #163913

* Fix name
2022-10-24 14:15:44 -07:00
Henning Dieterichs 516f0d1246
Introduces diffing infrastructure & experimental diffing algorithm. (#157646)
* Introduces diffing infrastructure & experimental diffing algorithm.

* Fixes CI

* Fixes unit test

* Fixes CI tests.
2022-08-09 18:03:26 +02:00
Johannes b9cbee9fac
only allow primitive values in context keys 2022-04-22 16:20:43 +02:00
Alexandru Dima 071578a215
Merge pull request #143610 from CodinGame/replace-languageid-by-languageselector 2022-02-22 15:20:34 +01:00
Loïc Mangeonjean ea15f61429 Allow getWorker function to return a promise 2022-02-22 13:52:41 +01:00
Loïc Mangeonjean 7a0a128dfc Replace languageId by languageSelector in all language feature registration functions 2022-02-22 13:40:30 +01:00
Matt Bierner 356d29fbf1
Remove most SyncDescriptorN forms (#141976)
* Remove most SyncDescriptorX forms

From what I can tell, `SyncDescriptor0` is the only one of these types still being used. In order to speed up TS's type checking around `createInstance`, I think it makes sense to remove the unused forms

* Remove `SyncDescriptorN` from tree shaker usages

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-02-02 13:45:05 -08:00
Alex Dima 67f1f74cd2
Fix monaco.d.ts.recipe 2022-01-31 12:40:35 +01:00
Alex Dima 7a0a293b38
Move more interfaces up to editor/common/ (#141174) 2022-01-31 11:33:58 +01:00
Alex Dima 6ef782af54
Remove dependencies to /languages/ in languages.ts (#141174) 2022-01-21 23:32:44 +01:00
Alex Dima d2fb5e2364
Fix recipe file 2022-01-21 23:06:19 +01:00
Alex Dima d48b3d3360
Extract IDimension to /core/ (#141174) 2022-01-21 22:30:58 +01:00
Alex Dima 298441a007
Move wordHelper.ts and extract EDITOR_MODEL_DEFAULTS to /core/ (#141174) 2022-01-21 22:10:48 +01:00
Alex Dima bf1e923356
Move IEditorConstructionOptions to /config/ (#141174) 2022-01-21 21:52:42 +01:00
Alex Dima d60d6bb136
Move editor base api to /services/ (#141174) 2022-01-21 20:57:00 +01:00
Alex Dima 01f9704460
Rename editor/common/controller to editor/common/cursor (#141174) 2022-01-21 20:35:36 +01:00
Alex Dima 2661e7a3ad
Move token.ts to /languages/ (#141174) 2022-01-21 20:35:36 +01:00
Alex Dima d8ca757f2b
Move ISingleEditOperation to /core/ (#141174) 2022-01-21 20:35:35 +01:00
Alex Dima df551b856e
Move change interfaces to diffComputer (#141174) 2022-01-21 19:58:00 +01:00
Alex Dima d018132104
Move defaultWorkerFactory.ts to /browser/ (#140857) 2022-01-17 17:23:31 +01:00
Raymond Zhao e794a5444b
Remove some "here" links to be more descriptive
Ref #140059
2022-01-03 15:03:38 -08:00
Alex Dima 973684056e
Rename modes to languages 2021-12-30 18:52:15 +01:00
Alex Dima c8e2fd7bae
Renames 2021-12-29 00:37:35 +01:00
Alex Dima 36a0800b17
Better names 2021-12-28 22:33:44 +01:00
Alex Dima a34f0d7ef0
Group together standalone service implementation and registration 2021-12-28 22:24:17 +01:00
Alex Dima 4bc25f7394
Set monaco-editor-core version to 0.0.0 2021-12-10 15:30:43 +01:00
Alex Dima 91b97cec91
Debt: Rename IModeService to ILanguageService 2021-12-08 14:36:18 +01:00
Alex Dima 955fc38aed
bump version 2021-11-22 23:31:38 +01:00
Alex Dima 7bd792a094
monaco-editor-core@0.30.0 2021-11-09 18:20:34 +01:00
Alex Dima 11862795ea
Remove LanguageIdentifier and ensure tests dispose instantiated LanguagesRegistry objects 2021-10-18 10:29:16 +02:00
Alex Dima 7d441890e2
bump version 2021-10-11 15:59:26 +02:00
Alex Dima a75121a74c
Update ThirdPartyNotices.txt 2021-10-08 09:22:35 +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
Johannes Rieken a3e07245ee
Revert "Revert "Merge pull request #127874 from microsoft/joh/webpack5""
This reverts commit c5f12c7226.
2021-07-08 10:28:33 +02:00
Johannes Rieken c5f12c7226
Revert "Merge pull request #127874 from microsoft/joh/webpack5"
This reverts commit 1f5b688e9c, reversing
changes made to 6efcb92e34.
2021-07-07 18:04:11 +02:00
Johannes Rieken 81e4075936
maxModules has been removed 2021-07-02 17:40:24 +02:00
Alexandru Dima 166efae366
Fix --noImplicitOverride problems (#120675) 2021-04-22 14:50:51 +02:00
Alexandru Dima 49b5e3ba0a
bump version 2021-03-05 16:54:23 +01:00
João Moreno 980becda8d main rename
fixes #116341
2021-02-14 20:10:24 +01:00
Alexandru Dima 38783a261a
update version 2021-01-29 00:00:24 +01: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