forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Description
From @caijunyi on October 26, 2017 6:11
Environment data
VS Code version: 1.17.2
Python Extension version: 0.7.0
Python Version: 3.6.3
OS and version: Win10
Actual behavior
no tooltip for the members of Enum class under the condition below
Expected behavior
pop-up auto-complete for the members of Enum class
Steps to reproduce:
"""problem of enum class auto-complete"""
# -*- coding: utf-8 -*-
from enum import Enum, unique
@unique
class TaskConfParams(Enum):
project_name = 0
project_path = 1
data_path = 2
output_path = 3
scenarios_path = 4
@unique
class TaskParams(Enum):
task_conf = TaskConfParams
def main():
task_conf = TaskParams.task_conf.value
task_conf.
if __name__ == '__main__':
main()
Copied from original issue: DonJayamanne/pythonVSCode#1340
Metadata
Metadata
Assignees
Labels
area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
