Commit Graph

5963 Commits

Author SHA1 Message Date
Raymond Zhao
18d828e5d5 chore: suppress node warnings (#274905)
* chore: suppress node CFG warnings

* Add lines from gdnsuppress
2025-11-04 12:45:30 +09:00
Paul
c2ad003d43 Enable Linux policy generation step in CI (#274847) 2025-11-03 13:06:54 -08:00
Josh Spicer
b118b3054e bump copyright (#274806)
* bump copyright

* compile build folder
2025-11-03 11:29:36 -08:00
BeniBenj
12f4872e2d Revert "Issue #210694 add hoverforeground and hoverbackground to activity bars (#263146)"
This reverts commit 619c243e4d.
2025-11-03 12:10:17 +01:00
Amin Sajedian
619c243e4d Issue #210694 add hoverforeground and hoverbackground to activity bars (#263146)
* Add hover colors for side/top/bottom activity bar in theme and styles

Modified Files Summary

1. Theme Color Definition
[src/vs/workbench/common/theme.ts]
- Define new theme color tokens:
  - `ACTIVITY_BAR_HOVER_FOREGROUND`
  - `ACTIVITY_BAR_HOVER_BACKGROUND`
  - `ACTIVITY_BAR_TOP_HOVER_FOREGROUND`
  - `ACTIVITY_BAR_TOP_HOVER_BACKGROUND`

2. Activity Bar: Theming + Wiring
[src/vs/workbench/browser/parts/activitybar/activitybarPart.ts]
- Register new hover tokens in theme registry
- Map hover tokens to CSS variables for stylesheet consumption
- Wire hover colors into composite bar configuration

3. Activity Bar CSS (Hover Styles)
[src/vs/workbench/browser/parts/activitybar/media/activityaction.css]
- Apply hover styles using new CSS variables:
  - `--vscode-activityBar-hoverForeground`
  - `--vscode-activityBar-hoverBackground`
- Integrate hover states with existing active/focus styling

4. Sidebar: Theming Integration
[src/vs/workbench/browser/parts/sidebar/sidebarPart.ts]
- Reference top-position hover tokens for consistency:
  - `ACTIVITY_BAR_TOP_HOVER_FOREGROUND`
  - `ACTIVITY_BAR_TOP_HOVER_BACKGROUND`
- Ensure sidebar hover behavior aligns with activity bar when positioned at top or bottom

5. Sidebar CSS (Hover Styles)
`src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css`
- Apply hover styling using activity bar CSS variables
- Maintain visual consistency between sidebar and activity bar hover states

6. Stylelint Allowlist
[build/lib/stylelint/vscode-known-variables.json]
- Add CSS custom properties to prevent lint errors:
  - `--vscode-activityBar-hoverForeground`
  - `--vscode-activityBar-hoverBackground`

Usage

settings.json
{
  "workbench.activityBar.location": "default", // "top"
  "workbench.colorCustomizations": {
    // Left Activity Bar
    "activityBar.hoverForeground": "#ff0000",
    "activityBar.hoverBackground": "#00ff00",

    // Top Activity Bar
    "activityBarTop.hoverForeground": "#0000ff",
    "activityBarTop.hoverBackground": "#ffff00"
  }
}

* refactor: move default colors to theme.ts and remove CSS fallbacks in activityaction.css and sidebarpart.css, per feedback.

---------

Co-authored-by: Benjamin Christopher Simmonds <44439583+benibenj@users.noreply.github.com>
2025-11-02 22:41:56 +00:00
Christof Marti
470d7704a6 Support loading system certificates with Node 2025-11-02 23:19:00 +01:00
Raymond Zhao
ea01b7e2bb chore: fix SBOM names (#274460) 2025-11-02 14:35:48 +01:00
Paul
2b76aa1113 Add build folder tests to CI (#272564) 2025-10-31 09:23:04 +01:00
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
Benjamin Pasero
4df8d67121 build - update tsconfig lib to ES2024 for layers checker (#274115) 2025-10-30 14:18:38 +00: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
Daniel Imms
541428d63c Merge pull request #272942 from microsoft/tyriar/wasm
Include powershell and bash grammars in bundle
2025-10-23 09:11:45 -07:00
Daniel Imms
281f94f487 Include powershell and bash grammars in bundle
Fixes #272852
2025-10-23 08:58:55 -07: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
sinsincp
9b59d31df2 Fix AppUserModelID for code-workspace association (#272753) 2025-10-23 21:05:14 +09: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
Robo
e0f4b8926e chore: bump electron@37.7.0 (#272157)
* chore: bump electron@37.7.0

* chore: update node.js build

* chore: bump distro
2025-10-19 19:19:05 +00:00
Ladislau Szomoru
c5b9423298 Engineering - add debug messages to verify that the SUID flag is removed from a file (#272175) 2025-10-19 11:21:05 -07:00
Piotr Rajnisz
fb41f69a94 i18n: add missing localizations for monaco-editor (#268038)
Add missing localizations
2025-10-15 11:19:51 +00:00
Benjamin Pasero
56d04418cc chore - update @vscode/iconv-lite-umd to 0.7.1 (#271472)
* chore - update `@vscode/iconv-lite-umd` to `0.7.1`

* fix ci
2025-10-15 09:33:44 +00:00
Ladislau Szomoru
a72525b82a Engineering - use sudo to remove the SUID bit (#271483) 2025-10-15 09:33:05 +00:00
Ladislau Szomoru
472fe20604 Engineering - fix hard link error during SBOM generation (#271469) 2025-10-15 08:32:15 +00:00
Robo
179cd04f2a ci: upload logs from azure test pipeline (#270843) 2025-10-15 09:10:40 +02:00
Matt Bierner
a801b6ac78 Merge branch 'main' into dev/mjbvz/popular-pigeon 2025-10-13 14:22:07 -07:00
Matt Bierner
d2af782f2e Fix terminal-suggest not running npm install 2025-10-13 13:31:58 -07: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
Robo
6e16d95fd4 chore: retry entitlement signing failure (#270324) 2025-10-09 10:06:47 +02: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