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

[Feature] Fill class constructor (only mandatory values) #103

Open
theapache64 opened this issue Jun 10, 2023 · 1 comment
Open

[Feature] Fill class constructor (only mandatory values) #103

theapache64 opened this issue Jun 10, 2023 · 1 comment

Comments

@theapache64
Copy link
Contributor

Option to fill mandatory values (values doesn't have default arg)

@oboenikui
Copy link
Collaborator

oboenikui commented Jul 19, 2023

Is the Do not fill default arguments option different from what you want?
Enabling the option yields the following results.

fun foo(s: String, i: Int = 0)

fun main() {
    foo(<caret>)
}

fun foo(s: String, i: Int = 0)

fun main() {
    foo(s = "")
}

I am wondering if I should rename the option because I sometimes get confused with it and the Fill arguments without default values option.

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

No branches or pull requests

2 participants