Skip to content

Use java dir instead of kotlin dir for initial project generation #739

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

Closed
wants to merge 1 commit into from

Conversation

chippmann
Copy link
Contributor

Resolves #578

@CedNaru
Copy link
Member

CedNaru commented Nov 3, 2024

Why do we have to create our Kotlin scripts in a Java directory now ? So far, it has been working perfectly fine to have each language in its own directory. This feels like a terrible and nonsensical change.
Isn't that just up to the users to create their java files in the correct directory ? We don't have any responsability regarding that.
If we want to improve the IDE plugin to help people making less mistake, I'd rather just add an option in the setup wizard to generate a template script, not only for Kotlin, but also for Java. And they would be both directly created in their respective directory.

@chippmann
Copy link
Contributor Author

closing; as discussed on discord, this is not really something we should do. Now that we soon will support scala as well, it does not make sense just generating the sample code in a java dir
i was a bit misguided by the default android project setup.
But the convention is to have a dir per language

hence we either leave that up to the user, or we provide a setting in the project wizard where one can select all the languages one want's to have in the project. I'll have a look at that as part of #776

@chippmann chippmann closed this Apr 9, 2025
@CedNaru CedNaru deleted the feature/use-java-dir-for-generated-project branch April 9, 2025 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change kotlin folder to java folder in IDEA project wizard
2 participants