Hey there! I am using IntelliJ IDEA 2023.2.3 and I...
# getting-started
w
Hey there! I am using IntelliJ IDEA 2023.2.3 and I am simply trying to add project files to an existing Gitlab repository with a single .md file in it. It's very easy to create a new Kotlin project with everything you need but I am struggling to figure out how one goes about adding project files to an empty project. Do I have to do it all manually?
not kotlin but kotlin colored 1
c
What kind of file do you want to add?
w
I want to add a Kotlin project using gradle as you would normally do when using the new project wizard
c
Use the new project wizard and select that directory
w
IntelliJ doesn't allow you to do that. It only lets you add a nested project into the current directory. The only way I can do this is by copy and pasting the files from another project into the other project.
j
From my experience, the wizard never generates up-to-date contents, so I never use it. Moreover, there are likely files that are only relevant at the top-level (e.g. gitattributes, gitignore, settings.gradle.kts, the gradle wrapper dir, etc.), and thus wouldn't be relevant for a sub-project of an existing project. (EDIT: sorry I missed the fact that your project is currently empty and you would like to generate top-level stuff). What's the list of files you're actually interested in generating?
🐛 1
youtrack 1
w
I just wanted to generate the top level files without having to do it manually