Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 23, 2025

The documentation for python.analysis.inlayHints.callArgumentNames incorrectly described it as a boolean setting with true/false values, but this setting was changed to an enum in VS Code v1.83.

Problem

Users were seeing inaccurate documentation that showed:

| inlayHints.callArgumentNames | false | Whether to display inlay hints for call argument names. Accepted values are `true` or `false`. |

However, according to the v1.83 release notes, this setting now accepts three enum values for more granular control.

Solution

Updated the documentation to accurately reflect the current behavior:

  • Default value: Changed from false to off
  • Available values: Now correctly shows off, partial, and all instead of boolean values
  • Description: Added detailed explanations for each enum value:
    • off: No inlay hints are shown
    • partial: Hints are disabled for positional-only and keyword-only parameters
    • all: Hints are shown for all parameters

The updated documentation follows the established pattern used by other enum settings in the same file and provides users with accurate information about this Pylance feature.

Fixes the issue reported where the documentation didn't match the actual setting behavior.

Fixes #8920


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

…o enum

Co-authored-by: luabud <45497113+luabud@users.noreply.github.com>
Copilot AI changed the title [WIP] Documentation incorrect for inlayHints.callArgumentNames Fix inlayHints.callArgumentNames documentation: update from boolean to enum Sep 23, 2025
Copilot AI requested a review from luabud September 23, 2025 23:39
Copilot finished work on behalf of luabud September 23, 2025 23:39
@luabud luabud marked this pull request as ready for review September 23, 2025 23:46
@vs-code-engineering vs-code-engineering bot added this to the September 2025 milestone Sep 23, 2025
@luabud luabud enabled auto-merge September 23, 2025 23:51
@luabud luabud merged commit 4df59b7 into main Sep 24, 2025
4 checks passed
@luabud luabud deleted the copilot/fix-0faf0fec-eadd-4f65-afaf-1633106f7885 branch September 24, 2025 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation incorrect for inlayHints.callArgumentNames

6 participants