Not sure if right channel, but related to MP and the IDE.
I really like when I got a file called Foo open from two different source-sets in the tab it is shown as “jvmMain/…/Foo.kt” and “commonMain/…/Foo.kt”.
When I close one of the two source-sets it shows just “Foo.kt”.
I personally would prefer that it’d show the sourcesSet/…/ prefix at all times, even if I only got one of them open, instead of me having to look at the breadcrumbs or somewhere else to figure out where I am.
If this is not something that is currently available, I will make a feature request, but asking here first to see if someone else has thought of it or if this setting exists already and I haven’t found it.
➕ 1
🙏 1
l
Landry Norris
07/13/2022, 2:04 PM
One thing JB does that I’ve started doing is putting the platform in the name. They’d write Foo.android.kt, Foo.jvm.kt, Foo.ios.kt
Landry Norris
07/13/2022, 2:05 PM
Note that when you create the file, choose the ‘File’ option, since ‘class’ likes to create a Foo/android.kt file
Interesting with the file name, I guess that works since adding ‘.’ to a file name is not a problem, therefore it’s read as a valid name? Have never thought of doing it that way, but maybe that helps even when looking at the files outside of the context of the IDE, like on a git diff on GitHub. Kinda radical though to change every file name 😄
Just tested out the plugin and I guess yes, this is exactly what I had in mind! Removing the “Reduce dir names” in its settings produces what I hoped it would, that’s awesome thanks!