Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>VSCode Enum Hover To ValueNew to Visual Studio Code? Get it now.
VSCode Enum Hover To Value

VSCode Enum Hover To Value

Fahid Latheef

|
1 install
| (0) | Free
Shows Python Enum values when hovering over members (like PyCharm or other Jetbrains Product)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Enum Hover To Value

Shows Python Enum values when hovering over enum members (similar to JetBrains IDEs).

Why?

If your project has a lot of enums, it can be annoying to go to the enum definition to see the value of the enum member. This extension shows the enum value in the hover popup without changing to the enum definition File.

Usage

  • Open any Python file that uses enums, e.g.
    from enum import Enum
    
    class Color(Enum):
         RED = "red"
         GREEN = "green"
         BLUE = "blue"
    
    x = Color.RED
    
  • Hover over Color.RED. The extension will show the enum value in a hover popup.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft