have div/mul/add/sub operations, will I need to import that into every single file where I use Number? Or can I make it a global builtin
y
Youssef Shoaib [MOD]
05/04/2024, 2:01 PM
You'll need to import it yes, but Intellij is pretty smart about this and should auto-import them when needed
➕ 2
a
Adam S
05/04/2024, 2:27 PM
when I have a lot of functions in a single package I find it helps to manually add that package to "Packages to Use Import with '*'" in IJ, then when you import one you get the rest as well
Settings | Editor | Code Style | Kotlin