Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fields from inherited classes are not suggested #660

Closed
GrandpaScout opened this issue Aug 21, 2021 · 0 comments
Closed

Fields from inherited classes are not suggested #660

GrandpaScout opened this issue Aug 21, 2021 · 0 comments
Labels
bug Something isn't working feat/LuaCats Annotations Related to Lua Language Server Annotations (LuaCats)
Milestone

Comments

@GrandpaScout
Copy link

GrandpaScout commented Aug 21, 2021

Describe the Bug
Fields from inherited classes are not suggested while typing them out.
Instead of showing both the fields of the current class and fields from inherited classes, it only shows fields from the current class.
image

If the full field is typed out, it does show that it is a real field.
image

To Reproduce
Steps to reproduce the behavior:

  1. Create class
  2. Create another class that inherits from the first class
  3. Add a field to the first class
  4. Attempt to index that field in the second class on a new line and see that it will not automatically suggest it.

Expected behavior
The fields from the first class would show up as a suggestion.

Environment (please complete the following information):

  • OS: Windows
  • Is WSL remote? No
  • Client: VSCode

Additional context
This problem does not happen in version 2.3.6 and below of the extension.
Nothing else has changed besides the version of the extension used.

Provide logs
file_d%3A_Repositories_Figura-VSCode-Documentation.log

@sumneko sumneko added bug Something isn't working feat/LuaCats Annotations Related to Lua Language Server Annotations (LuaCats) labels Aug 21, 2021
@GrandpaScout GrandpaScout changed the title Fields from inherited methods are not suggested Fields from inherited classes are not suggested Aug 21, 2021
@sumneko sumneko added this to the 2.4.0 milestone Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feat/LuaCats Annotations Related to Lua Language Server Annotations (LuaCats)
Projects
None yet
Development

No branches or pull requests

2 participants