-
Notifications
You must be signed in to change notification settings - Fork 513
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
Can SQLDelight show up in new directory dialog? #3215
Comments
Don't know if it is a bug but I am able to add it with this code: project.plugins.withId("org.jetbrains.kotlin.jvm") {
val srcSet = project.extensions.findByType(SourceSetContainer::class.java)!!.getByName("main")
val kotlin = srcSet.extensions.getByName("kotlin") as SourceDirectorySet
kotlin.srcDir(outputFolder.dir("kotlin"))
} |
I don't see it in your list, but adding it to the main source set isn't really what I had in mind as a solution here since that feels somewhat more like a hack. |
I mean the first line, it comes from my compiler and its gradle plugin. I was just surprised my custom folder is visible in the dialog. Are you sure it is a hack/bug and not a feature? |
Showing the list of all source set directories is a feature, sure. Using that to get an unrelated folder to show up in the list seems like a hack. Our directories are not Kotlin source folders. |
How does the Kotlin IntelliJ plugin populate this dialog with the Kotlin source sets? That's the mechanism that we need to hook into from our IDE plugin. |
Description
The text was updated successfully, but these errors were encountered: