Commit Graph

1511 Commits

Author SHA1 Message Date
Matt Bierner
c79433c9de Fix import and use clearer file name 2025-10-30 08:57:26 -07:00
Matt Bierner
883485b3b5 Pick up esbuild target from tsconfig files 2025-10-30 08:53:24 -07:00
Kyle Cutler
38a44e89ce Support GitHub-style alert syntax in MarkdownStrings (#272228)
* Support GitHub-style alerts in MarkdownStrings

* PR feedback, mark internal

* Rename to `supportAlertSyntax`

* Update snapshots

* Fix lower case tags

* Remove title="" from span

* Marked extension

* New theme variables

* Fix test

* Update variable names
2025-10-29 21:00:10 +00:00
Matt Bierner
fe8fc75455 Pick up latest TS native preview
Fixes the emit for copyright headers
2025-10-28 09:18:27 -07:00
Copilot
908f34c37d Fix scrollbar background color customization issue (#273399)
* Initial plan

* Add scrollbar.background color customization

Co-authored-by: alexdima <5047891+alexdima@users.noreply.github.com>

* Update known variables

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexdima <5047891+alexdima@users.noreply.github.com>
Co-authored-by: Alex Dima <alexdima@microsoft.com>
2025-10-27 07:18:37 +00:00
João Moreno
5e4cf386d9 Revert "feat: reenable asar support" (#272935)
Revert "feat: reenable asar support (#272552)"

This reverts commit ff891375f4.
2025-10-23 15:50:48 +00:00
Henning Dieterichs
5e18e088a9 Fixes treeshaking on windows (#272899) 2025-10-23 13:38:06 +00:00
Copilot
8fd821a0c7 Remove experimental badge from prompt file support (#272541)
* Initial plan

* Remove chat.promptFiles setting and experimental tags from prompt file settings

Co-authored-by: digitarald <8599+digitarald@users.noreply.github.com>

* Fix compilation errors - remove unused imports and fix variable references

Co-authored-by: digitarald <8599+digitarald@users.noreply.github.com>

* Update policy data file to remove chat.promptFiles entry

Co-authored-by: digitarald <8599+digitarald@users.noreply.github.com>

* remove unused collectAgentInstructionsOnly

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: digitarald <8599+digitarald@users.noreply.github.com>
Co-authored-by: Harald Kirschner <hkirschner@microsoft.com>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2025-10-23 10:22:25 +02:00
Robo
ff891375f4 feat: reenable asar support (#272552) 2025-10-23 07:37:46 +02:00
Paul
e81696f60d Add policy support for linux (#272579) 2025-10-22 16:01:59 -07:00
Paul
0ea6a23376 Modularize the policy generation script (#272332) 2025-10-22 00:08:32 +00:00
Paul
d72d6a2424 Generate policy data as JSON (#272368) 2025-10-21 12:48:33 -07:00
Paul
6025703c6a Revert "Generate policy data as JSON" (#272362) 2025-10-20 16:12:10 -07:00
Paul
99c299e880 Generate policy data as JSON (#272018) 2025-10-20 14:38:48 -07:00
Piotr Rajnisz
fb41f69a94 i18n: add missing localizations for monaco-editor (#268038)
Add missing localizations
2025-10-15 11:19:51 +00:00
Matt Bierner
052d769933 Small cleanup 2025-10-13 08:16:58 -07:00
Matt Bierner
cc51a6897a Fix lint error 2025-10-12 23:54:53 -07:00
Matt Bierner
6c42761e58 Copy out marked and dompurify too 2025-10-12 23:46:42 -07:00
Matt Bierner
51d83e06c3 Fix compile 2025-10-12 22:21:14 -07:00
Matt Bierner
1eee7ae230 Switch monaco to off of moduleResolution: classic
Fixes #270408

Trying to move some of the monaco related checks/tconfigs off of `moduleResolution: classic`. This legacy config is causing a lot of pain while trying to update the trusted-types typings, which is itself blocking picking up the latest dompurify

I initially tried a more scoped change but just could not get it working. So instead I ended up trying to rework our `LanguageServiceHost` to be more standard
2025-10-10 16:02:03 -07:00
Matt Bierner
e656b3edce Merge pull request #270412 from mjbvz/dev/mjbvz/pregnant-gibbon
Re-use `TypeScriptLanguageServiceHost` for monaco and treeshaker build steps
2025-10-09 08:24:13 -07:00
Matt Bierner
77ed219366 Convert some any -> unknown in build scripts 2025-10-08 10:22:21 -07:00
Matt Bierner
383842fe0d Re-use TypeScriptLanguageServiceHostfor monaco and treeshaker build steps
For #270408

There are currently duplicated `LanguageServiceHost` definitions in our build folder. As far as I can tell they are the same except for the default lib name

As part of #270408 I'll have to touch the service hosts and having a single definition will make this easier
2025-10-08 10:12:47 -07:00
João Moreno
f4c2700d45 cleanup any casts (#270371)
related to #269213
cc @mjbvz @jrieken
2025-10-08 14:05:31 +00:00
Matt Bierner
68fb92d6e0 Use real maps for monaco-api/treeshaking
Working on understanding this code and trying to modernize it a little
2025-10-07 16:56:14 -07:00
Rob Lourens
f16892aa45 Fix quick chat (#270280)
Fix quick chat (#270097)

Fix #270087
2025-10-07 23:11:48 +00:00
Matt Bierner
d64b163281 Merge branch 'main' into dev/mjbvz/pale-tick 2025-10-07 09:25:02 -07:00
Johannes Rieken
aabd4ec6a7 no more any-casts in propertyInitOrderChecker, https://github.com/microsoft/vscode/issues/269213 (#270198) 2025-10-07 10:42:38 -04:00
Johannes Rieken
626370b3f7 no more any-casts in tsb land, https://github.com/microsoft/vscode/issues/269213 (#270192) 2025-10-07 15:07:24 +02:00
Matt Bierner
b3a6e6ea16 Merge branch 'main' into dev/mjbvz/pale-tick 2025-10-06 22:14:10 -07:00
Matt Bierner
b0f6eb2835 Pick up more editor compile settings from tsconfig.monaco
Right now for editor builds,  we have the `target` defined in `tsconfig.monaco` and overrides in `standalone.js`. This second one is really easy to miss

I think all of target/environment settings should be taking from the normal `tsconfig.monaco.json` instead
2025-10-06 17:38:43 -07:00
Robo
fd10f9c207 chore: reduce any usage in build/ (#270109) 2025-10-06 22:56:36 +00:00
Benjamin Pasero
daf6052959 lint - report layer issues in CSS (#269671) 2025-10-03 10:50:20 +00:00
Matt Bierner
1174f9b951 Compile build scripts too 2025-10-02 23:46:45 -07:00
Matt Bierner
360c9fd134 Add lint rule for as any and bulk ignore all existing breaks
For #269213

This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks

Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Matt Bierner
14ffffb14d Run test-documentation 2025-10-02 15:31:13 -07:00
Johannes Rieken
3f527562bb Fix cyclic dependency reporting in chat module (#269095)
* fix cyclic dependency in chat land

* make sure cyclic dependencies are correctly reported when running  complie-client task
2025-09-30 15:09:13 +00:00
Matt Bierner
b07db7a40a Update build dir 2025-09-10 18:31:55 -07:00
Matt Bierner
c7e7a779e8 Add basic mermaid rendering support in core
For #257761

Ports over extension sample + a few improvements to core
2025-09-10 18:22:39 -07:00
Ladislau Szomoru
1e270afce2 Chat - fix chat layout in floating window (#265158) 2025-09-04 14:49:17 +00:00
Sandeep Somavarapu
c98fe1d202 update color variables (#265151) 2025-09-04 14:14:01 +00:00
Ladislau Szomoru
69faf86588 Chat - adopt fontSize setting for UI elements (#263455) 2025-08-26 19:00:48 +00:00
Ladislau Szomoru
09f91777e4 Chat - add fontSize and fontFamily settings (#263299)
* Chat - add fontSize and fontFamily settings

* Chat - add fontSize and fontFamily settings
2025-08-25 19:50:23 +00:00
Matt Bierner
e4e8f2ad79 Update build TS versions 2025-08-25 10:32:36 -07:00
Matt Bierner
0b4691fe56 Fix compile of the github extension
All of our webpack scripts are modules now
2025-08-13 10:09:04 -07:00
Matt Bierner
2c749892ad Merge pull request #260466 from mjbvz/sick-marmoset
Convert esbuild scripts to modules
2025-08-07 21:57:27 -07:00
Matt Bierner
e4f9730eae Also update gulp 2025-08-07 20:15:04 -07:00
Matt Bierner
bad96b4abb Also update desktop webpack gulp 2025-08-07 19:40:47 -07:00
Matt Bierner
ed71020bfc Convert extension webpack scripts to modules 2025-08-07 17:20:22 -07:00
Matt Bierner
d865a99c49 Clean up some typings in build
- Adding ts-check in a few more js files
- Switching to use `@types` for a few more packages
- Remove some unused code
2025-08-07 09:38:52 -07:00