shorcut.
I failed because it adds the dependency for androidx preview
Copy code
@androidx.compose.ui.tooling.preview.Preview
@androidx.compose.runtime.Composable
private fun $NAME$() {
$END$
}
I thought of creating my own group and named it ComposeMultiplatformPreview, then I added a new template for
prev
with the jetbrains Preview path
Copy code
@org.jetbrains.compose.ui.tooling.preview.Preview
@androidx.compose.runtime.Composable
private fun $NAME$() {
$END$
}
this worked but it is being used everywhere even in android only projects.
I know that i can change the abbrevation to something else but isn't there a solution for that? I'm so used to using these templates