Skip to content

[FR] smarter enum value suggestion #12432

Closed as not planned
Closed as not planned

Description

Type: Feature Request

When I try to assign to an enum variable the suggestion hint doesn't pririatioze the actual enum values first.

typedef enum
{
  BOOT_REAS_PWR,
  BOOT_REAS_SLP
} tBootReas;

static tBootReas bootCause;

//I start typing this
bootCause=    

but the hints it shows are irrelevant:
image

Might be true for other limited value variables too.

Extension version: 1.17.5
VS Code version: Code 1.73.1 (6261075646f055b99068d3688932416f2346dd3b, 2022-11-09T04:27:29.066Z)
OS version: Windows_NT x64 10.0.19045
Modes: Unsupported
Sandboxed: No

Activity

  1. added
    more votes needed
    on Jul 8, 2024
  2. browntarik commented on Jul 8, 2024

    @browntarik
    Contributor

    Thank you for your suggestion. We will let you know when we begin work on this. Getting more upvotes on this request may increase its priority.

  3. bobbrow commented on Jul 10, 2024

    @bobbrow
    Contributor

    I believe this issue is a duplicate of #5798. Can you please click the 👍 in that issue to add your vote for it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: Auto-completeLanguage Serviceenhancementmore votes needed

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions