-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Enhancement ✨Improvement to a componentImprovement to a component
Milestone
Description
The error ranges for Class
and Function
nodes should be improved. At the moment they span the whole length of the corresponding block which isn't ideal, especially once error range support in VSCode is added.
Ideally, those should only highlight the actual class or function name.
def func2():
return
class SomeCls:
def __init__(self):
""""""
pass
def some_decorator_function():
"""some docstring"""
class invalid_class_name:
pass
@some_decorator_function()
def invalidFunctionName():
pass
Pierre-Sassoulas, bersbersbers, orn688, Avasam, alkatar21 and 4 more
Metadata
Metadata
Assignees
Labels
Enhancement ✨Improvement to a componentImprovement to a component