We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Autocomplete doesn't work for enum instances' methods or associated values.
I suspect this is due to the lack of special handling similar to that of structs in the enum branch of isCompletingAChain, below.
isCompletingAChain
c3-lsp/server/internal/lsp/search/search_completion_list.go
Lines 277 to 289 in 904e095
To Reproduce Steps to reproduce the behavior:
CoolEnum
ENUM_A
fn int CoolEnum.give(self)
CoolEnum.ENUM_A.g
enum CoolEnum : (int name)
ENUM_A = 5
CoolEnum.ENUM_A.nam
Expected behavior Should have suggested the give method and the name fields respectively
give
name
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
This will also be more easy to fix/implement in the next version ;)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
Autocomplete doesn't work for enum instances' methods or associated values.
I suspect this is due to the lack of special handling similar to that of structs in the enum branch of
isCompletingAChain
, below.c3-lsp/server/internal/lsp/search/search_completion_list.go
Lines 277 to 289 in 904e095
To Reproduce
Steps to reproduce the behavior:
CoolEnum
with a constantENUM_A
, and a method, sayfn int CoolEnum.give(self)
CoolEnum.ENUM_A.g
somewhereenum CoolEnum : (int name)
and thenENUM_A = 5
CoolEnum.ENUM_A.nam
Expected behavior
Should have suggested the
give
method and thename
fields respectivelyScreenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: