Skip to content

Instantly share code, notes, and snippets.

@vinaygaba
Last active October 12, 2022 01:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinaygaba/be01af528266e006c8cbbed5cbaf4a93 to your computer and use it in GitHub Desktop.
Save vinaygaba/be01af528266e006c8cbbed5cbaf4a93 to your computer and use it in GitHub Desktop.
Configuration setting that makes Jetpack Compose development more efficient by removing the noise from auto complete. More information in this article - https://www.jetpackcompose.app/articles/productivity-hack-to-save-tens-of-engineering-hours-when-working-with-Jetpack-Compose
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaProjectCodeInsightSettings">
<excluded-names>
<name>android.app.LauncherActivity.ListItem</name>
<name>android.graphics.drawable.Icon</name>
<name>android.graphics.fonts.FontFamily</name>
<name>android.inputmethodservice.Keyboard.Row</name>
<name>android.text.layout.Alignment</name>
<name>android.widget.GridLayout.Alignment</name>
<name>android.view.RoundedCorner</name>
<name>android.view.Surface</name>
<name>java.lang.reflect.Modifier</name>
<name>java.nio.file.WatchEvent.Modifier</name>
<name>java.time.format.TextStyle</name>
<name>org.w3c.dom.Text</name>
<!-- Optional: If you have your own design system and don't want to promote Material
Design usage within your team -->
<name>androidx.compose.material.*</name>
<!-- Optional: I think Compose is a much better fit for any custom Views, so hide the
Canvas API from the classic android view system to nudge developers to use Jetpack
Compose instead -->
<name>android.graphics.Canvas</name>
<!-- Optional: Just for demonstration purposes for the use case where you have created
your own variant of the Text composable and don't want developers to not use the ones provided
by Compose by default -->
<name>androidx.compose.foundation.text.BasicText</name>
<name>androidx.compose.material.Text</name>
</excluded-names>
</component>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment