* Run our build scripts directly as typescript #277567
Follow up on #276864
For #277526
* Remove a few more ts-node references
* Fix linux and script reference
* Remove `_build-script` ref
* Fix script missing closing quote
* use type only import
* Fix export
* Make sure to run copy-policy-dto
* Make sure we run the copy-policy-dto script
* Enable `verbatimModuleSyntax`
* Pipelines fixes
* Try adding explicit ext to path
* Fix bad edit
* Revert extra `--`
---------
Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
* 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>
* edit previous requests
* some small cleanup
* second pass with some moderate cleanup, all working
* another pass, more cleanup
* some cleanup and gated behind chat.editRequests setting
* some more cleanup
* add custom hover colors
* simplify some logic
* actually use helper function i added
* address some comments, cleanup
* fix flickering on click
* remove unused import
* fix context key, keybindings, layouts, and cleanup
* update colors for icon labels to meet accessibility color contrast requirements
* - update colors for added and removed labels to pass color contrast requirements
- added the used tokens to vscode-known-variables
* fixing margin-left
* update editor gutter colors for added and deleted resources, removed the previously added gitDecoration tokens from known variables
* update editor gutter colors for added and deleted lines in dark_modern and updated the fallback colors for editorGutterDeletedBackground
* undoing changes to editorGutterAddedBackground and editorGutterDeletedBackground
* add foreground colors for added and deleted lines in chat code blocks in chatColors.ts
* add chat foreground colors for added and deleted lines in vscode-known-variables.json
* rename chat color variables for added and removed lines in chat code block pill
---------
Co-authored-by: Justin Chen <54879025+justschen@users.noreply.github.com>
* chat style update
* add back css accidentally deleted
* both in text bubbles
* with border and right aligned
* better css for bubbles
* better logic using toggle
* make margins better
* better css
* better scenarios for showing bubbles
* remove unused import
* better code blocks
* move some stuff around
* chat blocks but on right side only
* fix chat rendering code blocks
* pass on no bubbles in inline
* handle bubbles in not inline chat
* add new variables for chat bubbles
* cleanup
* first cut
* change schema and types
* show mcp servers in extensions view
* implement install and uninstall mcp server
* move imports
* fix layer check
* WIP - initial implementation
* Add stagedQuickDiffProvider API
* Reduce the usage of `isSCM`
* Make unstage feel snappier
* Deduplicate diffs between primary and secondary
* Fix unstage selected ranges to work from the editor
* WIP - saving my work
* Fixed deduplication and commands
* Add pattern colors
* Rework the colors, and fix deleted glyph
* Got unstage commands working
* Update provider name
* Some improvements
* Cleaned up CSS
* Tweak decoration colors
* Update proposed API naming
* Contributed decorations will use the primary colors for the time being
* More cleanup