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

UI. Code generation language. Set default to the analyzed class language #500

Closed
alisevych opened this issue Jul 12, 2022 · 0 comments · Fixed by #507
Closed

UI. Code generation language. Set default to the analyzed class language #500

alisevych opened this issue Jul 12, 2022 · 0 comments · Fixed by #507
Assignees
Labels
ctg-enhancement New feature, improvement or change request

Comments

@alisevych
Copy link
Member

alisevych commented Jul 12, 2022

Description

Suggestion: Set default Code generation language to the language on which the analyzed class is written.

Expected behavior

If Test generation is called for a Java class or a Java package - set default Code generation language to Java.
If Test generation is called for a Kotlin class or a Kotlin package - set default Code generation language to Kotlin.
Other language is also available.

Environment

IntelliJ IDEA
Projects with Kotlin and Java classes

Potential alternatives

Now the default Code generation language is Java.

We can remember the previous User's choice and suggest it.

@alisevych alisevych changed the title Dialog. Code generation language => defaulted to Java??? or must be defaulted to the class language ??? UI. Code generation language. Set default to the analyzed class language Jul 12, 2022
@alisevych alisevych added the ctg-enhancement New feature, improvement or change request label Jul 12, 2022
EgorkaKulikov added a commit that referenced this issue Jul 13, 2022
…#499 #500 (#507)

* Default value of codegen language and test framework is improved in UI #499 #500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ctg-enhancement New feature, improvement or change request
Projects
Archived in project
2 participants