https://kotlinlang.org logo
m

mbonnin

11/24/2021, 9:55 AM
How does IntelliJ decides the title of the main window? Sometimes it's
rootProject.name
from settings.gradle.kts but sometimes it's the name of a random file in the repo. I haven't really found a pattern
(I'm on MacOS)
And I have multiple directory with different branches of my repo so ideally I'd like to be able to easily distinguish between them
I found https://youtrack.jetbrains.com/issue/IDEA-129821 but it doesn't really say how
ProjectName
is computed
j

Javier

11/24/2021, 10:57 AM
settings in my case but I am defining it always
not sure if I leave it blank
rootProject.name = providers.gradleProperty("project.name").forUseAtConfigurationTime().get()
I am doing that in settings file
if it is blank and there is no root project, it should take the original folder name I guess
m

mbonnin

11/24/2021, 11:05 AM
I define it always too but sometimes looks like that's not working
5 Views