Commit Graph

1662 Commits

Author SHA1 Message Date
Alexandru Dima 339c3a9b60 Fixes #150176: Extract code related to encoded token attributes to a separate file (#150275) 2022-05-24 13:51:23 +00:00
Alexandru Dima c77e9a64e9 Fixes #149412: Validate that semantic tokens edits reference valid offsets (#149448) 2022-05-13 13:10:19 +02:00
Johannes aa706918c1 only match against notebook uri when document selector specificies notebook type, fixes https://github.com/microsoft/vscode/issues/149363 2022-05-13 09:29:57 +02:00
Alexandru Dima 9a1e8d12fb Fixes #148256: \t should jump to next indent tab stop and not just add the tab width (#149164) 2022-05-10 16:18:43 +02:00
Alexandru Dima ca48cde75b Fix inefficient regular expression (#149099) 2022-05-09 15:46:00 +00:00
Alexandru Dima 1494660693 Merge pull request #148772 from microsoft/alex/148651
More strict validation for semantic tokens
2022-05-05 16:00:02 +02:00
Johannes d699e3ca6a add test 2022-05-05 09:58:11 +02:00
Alex Dima 0f12650f38 Fixes #148651: More strict validation for semantic tokens 2022-05-05 09:24:08 +02:00
Alex Dima 39b924d01e Use simple regex for unit test 2022-05-03 09:15:37 +02:00
Alex Dima 5ee2eed5af Fixes #147944 2022-04-28 17:53:27 +02:00
Johannes 5931aa8ed6 fix two issues with notebookType and document selectors, (1) make sure that notebookType: * matches only when a notebook is around, (2) include notebookType-property when converting from extHost type to renderer type, fyi @dbaeumer 2022-04-20 09:47:13 +02:00
Matt Bierner cc74238173 Update to build VS Code using latest TS nightly (#146933)
* Fixing line height if drop into prompt wraps

* Use keybinding style for `shift` in overlay

* Update to build VS Code using latest TS nightly

* Fix compile error

* Bump TS

* Add constraint
2022-04-14 13:58:26 -07:00
Henning Dieterichs 2b14c47234 Fixes test failures. 2022-04-12 12:22:10 +02:00
Henning Dieterichs e78ca55def Adopts bracket pair AST for bracket pair matching when AST is available. Implements #132536. 2022-04-11 16:03:31 +02:00
Alex Dima 9fe7dabbdb Adopt vscode-textmate@7.0.0 2022-04-07 16:38:21 +02:00
Alex Dima 786f16633a Merge remote-tracking branch 'origin/main' into hediet/tokenization 2022-04-05 21:35:06 +02:00
Alex Dima b99fd99594 Use word related methods always through ITextModel 2022-04-05 21:16:20 +02:00
Alex Dima 5be7b62068 Fixes #99589: Do not render whitespace in tokens that contain RTL text (except for line leading and trailing whitespace) 2022-04-05 19:52:43 +02:00
Alex Dima 8c89686017 Fixes #146354: Use style="unicode-bidi:isolate" instead of dir="auto" for parts containing RTL 2022-04-05 14:51:50 +02:00
Alex Dima ccbe4d40e9 Avoid using ModesRegistry.registerLanguage in tests 2022-04-05 14:10:18 +02:00
Henning Dieterichs 6e1e0b1d89 Moves tokenization logic from text model to its own text model part. 2022-04-01 17:37:52 +02:00
Alex Dima 4fcd637613 Reduce usages of ModesRegistry.registerLanguage 2022-04-01 12:12:21 +02:00
Alex Dima 8c9663f461 Remove the static LanguageConfigurationRegistry 2022-03-31 16:25:57 +02:00
Alex Dima 944b0d4561 Reduce usages of LanguageConfigurationRegistry 2022-03-31 15:22:53 +02:00
Alex Dima 0feba95f4c Reduce usages of LanguageConfigurationRegistry.register 2022-03-30 22:02:38 +02:00
Alex Dima 558a572ad3 Reduce readers of LanguageConfigurationRegistry 2022-03-30 19:16:34 +02:00
Alex Dima 5eb302c438 Do not overwrite new settings (#141026) 2022-03-30 17:31:47 +02:00
Alex Dima 410bd84502 Represent each option migration as an EditorSettingMigration 2022-03-30 17:31:47 +02:00
Alex Dima 72ffb4689f Add tests for migrateOptions 2022-03-30 17:31:46 +02:00
Alex Dima 60eef49719 Reduce usage of LanguageConfigurationRegistry 2022-03-30 17:31:46 +02:00
Alexandru Dima b57db0fc49 Merge pull request #146209 from microsoft/alex/shared-emitter-delivery-queue
Deliver all outgoing editor events in order
2022-03-29 22:29:46 +02:00
Alex Dima 557c620c8d Deliver all outgoing editor events in order (#146174) 2022-03-28 17:51:36 +02:00
Henning Dieterichs a07e730cbf Fixes #144041 by introducing PositionAffinity.{Left,Right}OfInjectedText 2022-03-28 10:05:16 +02:00
Alex Dima 63f82f60b0 Fixes microsoft/monaco-editor#2774: Emit content change events before cursor state change events during undo, redo, or recovery from markers 2022-03-23 16:29:29 +01:00
Alex Dima 00b43acca3 Fixes #145872: Emit model events using the view model outgoing queue 2022-03-23 15:58:57 +01:00
Johannes b0af153944 add on, inline, off options to quickSuggest setting, remove/migrate boolean short hand for the whole setting but leave, use CompletionModel for inline completions, enforce always some prefix, use ugly tricks to brigde editors into single-provider-world 2022-03-18 11:29:24 +01:00
Alex Dima 495cd3742d Fixes #144693: Execute surround selection only at the end composition 2022-03-17 16:13:02 +01:00
Martin Aeschlimann 02e8bd149c Merge pull request #144759 from microsoft/aeschli/hcLightThemeKind
Add high contrast light theme kind
2022-03-16 16:41:22 +01:00
Alex Dima 8fd8c14efb Fixes #144690: Improve how the last inserted character is deduced when doing composition and allow overtyping during composition 2022-03-16 00:16:59 +01:00
Martin Aeschlimann 596181cb26 Merge branch 'main' into aeschli/hcLightThemeKind 2022-03-15 14:20:31 +01:00
Johannes afcebfa6ae change how scheme and pattern are interpreted when notebookType is present on DocumentFilter 2022-03-15 08:47:05 +01:00
Martin Aeschlimann 069f2085d8 fix tests 2022-03-09 15:20:15 +01:00
Alex Dima 2bdcde0e12 Fixes #143644: Use strict in TestInstantiationService 2022-03-02 16:52:21 +01:00
Alex Dima ed57930901 Debt: replace ViewLinesChangedEvent.toLineNumber with .count 2022-03-02 16:19:15 +01:00
Alex Dima d958cba374 Fixes #137036: Use dir="auto" on <span> elements containing RTL text 2022-03-02 12:01:28 +01:00
Alex Dima ba0fbbbd01 Fixes #138390: Have two distinct registration/clearing functions for language associations registered by the platform or by configuration 2022-02-24 12:57:36 +01:00
Alex Dima 2e5a296773 Be sure to define more services when creating a test code editor 2022-02-21 17:24:54 +01:00
Alex Dima 71882d3c30 Fixes #143183: Improve rendering of overview ruler entries for deleted or modified chunks in the inline diff editor with word wrapping enabled 2022-02-18 14:49:39 +01:00
Alex Dima a9002ffa96 Remove unused events 2022-02-17 22:01:12 +01:00
Alex Dima 43cf81a93d Fixes #143048: Avoid having events leave the text model before all the text model parts have reacted and reflect a coherent state (by using explicit calls to deliver events to the text model parts) 2022-02-16 00:11:55 +01:00