chore(idea): add ktfmt and code completion tweaks

This commit is contained in:
Harsh Shandilya 2022-09-06 11:10:06 +05:30
parent ed8402034e
commit 4451e426d4
No known key found for this signature in database
3 changed files with 44 additions and 10 deletions

26
.gitignore vendored
View File

@ -1,4 +1,3 @@
# Created by https://www.toptal.com/developers/gitignore/api/android,intellij
# Edit at https://www.toptal.com/developers/gitignore?templates=android,intellij
@ -43,7 +42,7 @@ captures/
# IntelliJ
*.iml
.idea/
!.idea/codeInsightSettings.xml
# Keystore files
# Uncomment the following lines if you do not want to check your keystore files in.
@ -99,6 +98,7 @@ output.json
# Generated files
.idea/**/contentModel.xml
.idea/artifacts/**
# Sensitive or high-churn files
.idea/**/dataSources/
@ -117,14 +117,14 @@ output.json
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr
.idea/artifacts
.idea/compiler.xml
.idea/jarRepositories.xml
.idea/modules.xml
.idea/*.iml
.idea/modules
*.iml
*.ipr
# CMake
cmake-build-*/
@ -188,4 +188,10 @@ fabric.properties
# https://plugins.jetbrains.com/plugin/12206-codestream
.idea/codestream.xml
.idea/misc.xml
.idea/kotlinc.xml
.idea/ghactions-toolbar.xml
.idea/codeStyles/**
.idea/.name
# End of https://www.toptal.com/developers/gitignore/api/android,intellij

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaProjectCodeInsightSettings">
<excluded-names>
<name>android.app.LauncherActivity.ListItem</name>
<name>android.graphics.Color</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.view.RoundedCorner</name>
<name>android.view.Surface</name>
<name>android.widget.GridLayout.Alignment</name>
<name>java.lang.reflect.Modifier</name>
<name>java.nio.file.WatchEvent.Modifier</name>
<name>java.time.format.TextStyle</name>
<name>java.util.Observable</name>
<name>org.w3c.dom.Text</name>
</excluded-names>
</component>
</project>

7
.idea/ktfmt.xml Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="KtfmtSettings">
<option name="enabled" value="true" />
<option name="uiFormatterStyle" value="Google (internal)" />
</component>
</project>