Commit Graph

32 Commits

Author SHA1 Message Date
Matt Bierner
2a8374597e Merge branch 'main' into fix/parameter-hints-word-wrap 2026-03-11 10:24:21 -07:00
mrleemurray
a6e427ed1f refactor: update box-shadow styles across various components to use new shadow variables
- Replaced hardcoded box-shadow values with new CSS variables for consistency and improved theming.
- Updated styles in postEditWidget, findOptionsWidget, findWidget, floatingMenu, hover, parameterHints, peekViewWidget, renameWidget, stickyScroll, suggest, actionWidget, hover, quickInput, agentFeedback components, and more.
- Introduced new shadow variables: --vscode-shadow-sm, --vscode-shadow-md, --vscode-shadow-lg, --vscode-shadow-xl, and --vscode-shadow-hover for better control over shadow effects.

Co-authored-by: Copilot <copilot@github.com>
2026-03-03 10:47:14 +00:00
mrleemurray
c95a898747 style(parameter-hints): update border-radius to use theme variable for consistency 2026-03-02 10:48:46 +00:00
Murat Aslan
e76d9c9ee3 fix: wrap long docstrings in parameter hints widget
Add overflow-wrap and word-break to the parameter hints docs section
so that long docstrings wrap instead of displaying on a single line
with horizontal scroll. Also add min-width: 0 for proper flexbox
sizing and max-width: 100% for markdown content.

Fixes #142888

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-02 11:33:56 +03:00
Matt Bierner
4caa46afc4 Fix font family fallback in parameter hints (#221737)
Fixes #211714
2024-07-15 11:39:33 -07:00
Martin Aeschlimann
780b2f5758 add linter for css variable names (#176769) 2023-03-10 07:33:02 -08:00
Matt Bierner
8ed4dc537c Fix css var name for active parameter hints (#168505)
Fixes #168403
2022-12-08 20:46:26 +01:00
Matt Bierner
23ce9daef8 Adopt css colors in parameter hints widget (#168234)
* Adopt css colors in parameter hints widget

For #165169

* Add opacity to borders
2022-12-06 14:47:55 -08:00
100paperkite
93d5dd8b68 Change a clickable cursor into a pointer on hint widget (#146449)
Fixes #146305
2022-03-31 10:09:39 -07:00
Matt Bierner
43e6992d9f Preserve whitespace inside parameter hints code blocks
Fixes #142446

This matches what we already do for hovers
2022-02-07 15:48:30 -08:00
Daniel Imms
99816b1873 Ensure parameter hints z-index is lower than suggest
Terminal screen element's z-index is 31

Fixes #141947
2022-02-01 15:12:06 -08:00
Leonardo
8fc944bb20 Increased opacity in overload counter tooltip (#141828)
* Increased opacity in overload counter tooltip
This improves its readability, in particular with the default dark theme.

* Opacity removed
2022-01-30 21:04:06 -08:00
Daniel Imms
165788bc6f Match z-index on parameter hints to the hover
Fixes #140761
2022-01-27 07:04:10 -08:00
Alex Dima
1498d0f340 Add explicit layers for editor contributions (fixes #140995) 2022-01-21 10:29:55 +01:00
Alex Dima
8a79656f6a vs/editor/contrib is /browser/ by convention (#37834) 2017-11-08 22:54:31 +01:00
Matt Bierner
a627a95c4d Use consistent style for inline code in hover/suggest/parameter hints
Fixes #35813
2017-10-10 18:13:47 -07:00
Matt Bierner
3cfc1b6e55 Make sure we use old pre-wrap settings for non markdown docs 2017-09-13 17:16:26 -07:00
Matt Bierner
30dc54af7e Only apply pre-wrap inside of code blocks for suggest and parameter hints 2017-09-11 11:50:06 -07:00
Martin Aeschlimann
ba9df68878 Allow theming of parameter hints #26671 2017-05-15 21:44:26 +02:00
Matt Bierner
f2b9e43a0e Preserve newlines in signature help display
Fixes #26346

**Bug**
Signature help currently handles newlines differently than completion item providers. This results in inconsistent looking documentation

**fix**
Use `pre-wrap` for the signature help documentation the same way we do for completion items
2017-05-09 21:30:24 -07:00
rebornix
d96e547ec5 Fix height issue for function overload hint 2017-02-06 08:21:43 -08:00
rebornix
e73faed9f1 fix flexbox height issue for parameter hint on IE and Safari 2017-02-03 15:15:35 -08:00
Joao Moreno
608309dc4a fixes #13636 2016-10-26 15:22:58 +02:00
Joao Moreno
77d8f8b5f4 fix fonts in suggest, parameter hints 2016-09-12 12:51:06 +02:00
Joao Moreno
e928e758b6 parameter hints: scroll 2016-09-12 12:51:06 +02:00
Joao Moreno
4db0daca15 parameter hints: first steps
related to #2330
2016-09-12 12:51:06 +02:00
Joao Moreno
89a490b1a5 typo 2016-09-05 18:05:11 +02:00
Alex Dima
d436ded577 Collapse some equivalent rules to reference files only once 2016-06-07 18:46:56 +02:00
Joao Moreno
da3a793f9b align parameter hints with suggest
fixes #6170
2016-06-02 16:17:28 +02:00
Benjamin Pasero
161bc8dd23 update font-family ordering (for #5260) 2016-04-22 13:50:53 +02:00
Benjamin Pasero
0718b12cc1 Use proper font family for East Asian languages (CJK) (fixes #5260) 2016-04-19 17:46:10 +01:00
Erich Gamma
8f35cc4768 Hello Code 2015-11-13 14:39:38 +01:00