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

Add code completion for enum entries #5

Closed
wants to merge 4 commits into from
Closed

Conversation

h0tk3y
Copy link
Member

@h0tk3y h0tk3y commented Nov 12, 2024

Fixes #3

@h0tk3y h0tk3y changed the title Update Gradle libs; handle a new error kind Add code completion for enum entries Nov 12, 2024
is DataType.BooleanDataType -> "\${$index|true,false|}"
is EnumClass -> "\${$index|${resolvedType.entryNames.joinToString(",")}|}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⭐ I am amazed that this is only what we need to change to have full enum support essentially. Nice job!

@h0tk3y h0tk3y changed the base branch from sigushkin/settings-gradle-kts-or-none to main November 13, 2024 17:29
@h0tk3y
Copy link
Member Author

h0tk3y commented Nov 14, 2024

Closed as merged in #7

@h0tk3y h0tk3y closed this Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support enum-based property completions
2 participants