-
-
Notifications
You must be signed in to change notification settings - Fork 371
Closed
Labels
as designedFunctioning as intended, will not be modifiedFunctioning as intended, will not be modifiedquestionUser has a questionUser has a question
Description
Describe the bug
The way parameter information is displayed is inconsistent across different scenarios, when using the object-oriented notation.
To Reproduce
- For a function declaration with a self argument, type ':' on an object. The auto-completion documentation shows the function declaration with the self argument.
- The self argument is shown on hover, but not in the parameter information (CTRL+SHIFT+SPACE).
- For a method declaration, type '.' on the table name. The auto-completion documentation shows the method declaration without the self argument.
- Complete the function call. A hover over the method name shows the method declaration without the self argument.
Expected behavior
The parameter information is presented in a consistent way.
The way the parameter information is presented depends on the used notation
e.g. someObject:reset
-> someObject:reset(param2: Test)
e.g. someObject.store
-> someObject.store(self: Test2, param2: Test)
Environment (please complete the following information):
- OS: Windows 10
- Client: VSCode
- VSCode version: 1.56.2
- Extension version: 1.21.1
Metadata
Metadata
Assignees
Labels
as designedFunctioning as intended, will not be modifiedFunctioning as intended, will not be modifiedquestionUser has a questionUser has a question