Commit Graph

440 Commits

Author SHA1 Message Date
Matt Bierner
f0df384358 Reduce ....args: any[] usage
For #269213
2026-03-10 00:02:22 -07:00
Henning Dieterichs
a335d51f66 Adds hot reload launch config (#277123)
* Adds hot reload launch config

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-11-21 11:18:47 +01:00
Matt Bierner
ab54a72364 Pick up latest @types/trusted-types
Should unblock #270041
2025-10-13 12:01:48 -07:00
Rob Lourens
724a2fd959 Fix formatting issue (#260649)
Blocking hygiene in vscode-copilot-chat, I don't know why it wasn't an issue in this repo
2025-08-08 12:21:24 -07:00
Benjamin Pasero
5535b4579f debt - more powerful layer checker with TS support (#250752) 2025-06-06 08:56:50 +02:00
Benjamin Pasero
2984f68510 debt - avoid any for timeout/interval (#249348) 2025-05-20 20:08:25 +02:00
Matt Bierner
ed04bd431f Merge branch 'main' into hidden-spider 2025-02-26 14:30:21 -08:00
Aiday Marlen Kyzy
3ff1dceedf Enable edit context (#237497)
* Revert "Revert Enablement of EditContext on Insiders (#235062)"

This reverts commit 45385e1c6f.

* adding product import

* adding som code

* removing console logs

* make sure editor selection is observed after keybinding dispatches

Co-authored-with: Aiday Mar <amarlenkyzy@microsoft.com>

* removing empty lines

---------

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2025-01-13 09:47:32 +01:00
Aiday Marlen Kyzy
be5c64a3df Revert "Enable edit context" (#237468)
Revert "Enable edit context (#235386)"

This reverts commit 3958e26f65.
2025-01-08 11:43:30 +01:00
Johannes Rieken
8ad5ac54b3 debt - add crypto.d.ts file defining the crypto-global that's shared between nodejs and browsers (#237465) 2025-01-08 10:32:33 +01:00
Aiday Marlen Kyzy
3958e26f65 Enable edit context (#235386)
* Revert "Revert Enablement of EditContext on Insiders (#235062)"

This reverts commit 45385e1c6f.

* adding product import
2025-01-07 10:00:03 +01:00
Aiday Marlen Kyzy
45385e1c6f Revert Enablement of EditContext on Insiders (#235062)
Revert "Reenabling EditContext by default on Insiders (#234888)"

This reverts commit a47f407e38.
2024-12-03 08:37:57 +01:00
Aiday Marlen Kyzy
a47f407e38 Reenabling EditContext by default on Insiders (#234888)
Revert "Revert "Smoke test failure - changing selectors depending on app qual…"

This reverts commit b8d5339e04.
2024-11-29 11:49:50 +01:00
Aiday Marlen Kyzy
b8d5339e04 Revert "Smoke test failure - changing selectors depending on app quality" (#234638)
Revert "Smoke test failure - changing selectors depending on app quality (#23…"

This reverts commit b69589ce38.
2024-11-26 09:17:31 +01:00
Aiday Marlen Kyzy
b69589ce38 Smoke test failure - changing selectors depending on app quality (#234181)
* changing selector depending on app quality smoke test

* using correct selector

* resetting to just insiders

* focusing if not focused after event

* removing dom node focus
2024-11-21 11:58:33 +01:00
Aiday Marlen Kyzy
8d1d1373cd Reverting EditContext changes (#234247)
reverting changes
2024-11-20 10:18:20 +01:00
Aiday Marlen Kyzy
d649101bec Turning on experimental edit context on Insiders (#234071)
* turning on experimental edit context on insiders

* fixing smoke test

* resetting the search input to use the textarea
2024-11-19 10:19:00 +01:00
Aiday Marlen Kyzy
83e44613e4 Adding check that EditContext is supported before using it (#230400)
* add check against edit context

* adding code

* choosing dom node of the overflow guard container

* DebugEditContext no longer implements EditContext
2024-10-04 10:25:18 +02:00
Benjamin Pasero
1f7e13965c esm - remove require.d.ts (#230203) 2024-10-01 19:24:01 +02:00
Benjamin Pasero
a47002fe93 esm - reduce scope of require.d.ts 2024-09-27 08:04:42 +02:00
Henning Dieterichs
0deacd4b60 Introduce editContext.d.ts and renames isInputElement to isEditableElement to consider elements with an edit context. (#227596)
* Introduce editContext.d.ts and renames isInputElement to isEditableElement to consider elements with an edit context.

* Fixes CI
2024-09-04 18:48:54 +02:00
Benjamin Pasero
d60295dc0e ESM: revisit need for _VSCODE_NODE_MODULES (fix #226453) (#227427) 2024-09-03 15:18:08 +02:00
Matt Bierner
0e63f138bb Merge branch 'main' into hidden-spider 2024-08-26 14:30:43 -07:00
Aiday Marlen Kyzy
b8e4e034b6 Extracting the global NLS variables into functions (#226078)
* extracting the constants

* exporting from the specific file
2024-08-22 06:16:22 -07:00
Benjamin Pasero
c2fbe28324 esm - make TTP pluggable (#226179) (#226231) 2024-08-22 12:32:57 +02:00
Matt Bierner
e330e67e16 Also allow *.css
Used for monaco build
2024-08-08 11:56:08 -07:00
Matt Bierner
8baabefe85 Enable noUncheckedSideEffectImports
This catches errors such as:

```ts
import 'vs/editor/noSuchFile';
```

Previously these were unreported
2024-08-08 09:17:36 -07:00
Benjamin Pasero
16654e6126 esm - reduce diff to branch (#221154) 2024-07-09 08:08:56 +02:00
Benjamin Pasero
f6f90e0163 Implement NLS without AMD loader (#214588) 2024-06-28 11:55:48 +02:00
Johannes Rieken
f80875f681 fix https://github.com/microsoft/vscode/issues/213526 (#213527) 2024-05-27 09:51:09 +02:00
Simon Siefke
a9e0dbdfc5 feature: enable isolated modules 2024-05-16 18:22:58 +02:00
Johannes Rieken
dff4173df4 Add WindowIdleValue and GlobalIdleValue, likewise runWhenGlobalIdle and runWhenWindowIdle. (#197721)
* Add WindowIdleValue and GlobalIdleValue, likewise runWhenGlobalIdle and runWhenWindowIdle.

Define window things inside dom.ts for more clarity and more correct layering.

Duplicate API definition for idle so that things compile standalone

fixes https://github.com/microsoft/vscode/issues/197661

* fix compile errors

* make treeshaker happy, use correct types
2023-11-08 15:20:40 +01:00
Matt Bierner
2c52e4ca35 Alias Thenable to PromiseLike (#192456)
Fixes #192385

This fixes some typing issues with `Thenable` that were hiding potential bugs
2023-09-13 10:50:40 -07:00
Johannes Rieken
69cd1439e5 from ESM land bring over amdX-util and bring over one of its usages (#186748)
* from ESM land bring over amdX-util and bring over one of its usages

* fix tsec violation

* one more exemption

* grrrr

* last try, fingers crossed
2023-06-30 09:05:06 -07:00
Raymond Zhao
13e7d80fcd Bump windows-process-tree (#184759)
Fixes https://github.com/microsoft/vscode/issues/179697
2023-06-12 11:36:56 -07:00
Raymond Zhao
d81ca6dfca Bump windows-registry to 1.1.0 (#184741) 2023-06-09 13:02:58 -07:00
Raymond Zhao
06ae4b61c2 Bump windows-mutex to 0.4.4 (#184366)
Also adds OS-specific .moduleignore files
2023-06-09 09:40:10 -07:00
Raymond Zhao
22ed59eb3d Bump windows-process-tree with workaround for typings (#179649) 2023-04-11 10:05:56 -07:00
Raymond Zhao
84ac780186 Revert "Bump windows-process-tree" (#179508)
Revert "Bump windows-process-tree (#179176)"

This reverts commit 15cb6b36f8.
2023-04-08 00:47:57 +01:00
Raymond Zhao
15cb6b36f8 Bump windows-process-tree (#179176)
* Bump windows-process-tree

* Fix compile error

* Add explanation to source

* Add that the types package has been deprecated
2023-04-05 20:51:26 +02:00
Raymond Zhao
226690c6af Explain separate windows-mutex typings file (#179291) 2023-04-05 10:58:54 -07:00
Raymond Zhao
a1694a8628 Bump windows-mutex (#179196) 2023-04-04 23:36:05 +02:00
João Moreno
5f9bbf37c1 Revert "adopt new module locations (#177472)"
This reverts commit 5b6cd9c3c7.
2023-03-17 18:55:13 +01:00
João Moreno
5b6cd9c3c7 adopt new module locations (#177472)
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-03-17 15:34:17 +01:00
Johannes
380ac1ef48 have two files to declare globals, allow monaco-edt to see one of them 2022-11-18 09:42:05 +01:00
Johannes
bcffe19e5e deprecate and scrary message for __$__nodeRequire 2022-11-18 09:41:58 +01:00
Johannes
8dd8d214d8 don't use __$__nodeRequire to fetch product configuration 2022-11-18 09:41:51 +01:00
Johannes
2d6ad4be88 * add global for node_modules access
* remove most usages of require.__$__nodeRequire
* stop using require.nodeRequire
2022-11-18 09:41:43 +01:00
Raymond Zhao
9feaed8f51 Revert "joh/representative canidae" (#166641) 2022-11-17 13:53:17 -08:00
Johannes
a0f314404e have two files to declare globals, allow monaco-edt to see one of them 2022-11-17 16:10:52 +01:00