File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "java.configuration.updateBuildConfiguration" : " automatic" ,
3+
4+ // Kotlin formatting - align with Spotless/ktlint
5+ "[kotlin]" : {
6+ "editor.tabSize" : 4 ,
7+ "editor.insertSpaces" : true ,
8+ "editor.formatOnSave" : false ,
9+ "editor.rulers" : [120 ]
10+ },
11+
12+ // Gradle
13+ "[gradle]" : {
14+ "editor.tabSize" : 4 ,
15+ "editor.insertSpaces" : true
16+ },
17+
18+ // XML (Android layouts/manifests)
19+ "[xml]" : {
20+ "editor.tabSize" : 4 ,
21+ "editor.insertSpaces" : true
22+ },
23+
24+ // Exclude build artifacts from search and file watching
25+ "files.exclude" : {
26+ "**/.gradle" : true ,
27+ "**/build" : true ,
28+ "**/.kotlin" : true
29+ },
30+ "search.exclude" : {
31+ "**/build" : true ,
32+ "**/.gradle" : true ,
33+ "**/.kotlin" : true
34+ },
35+ "files.watcherExclude" : {
36+ "**/.gradle/**" : true ,
37+ "**/build/**" : true ,
38+ "**/.kotlin/**" : true
39+ },
40+
41+ // Trim trailing whitespace (Spotless requirement)
42+ "files.trimTrailingWhitespace" : true ,
43+ "files.insertFinalNewline" : true ,
44+
45+ // File associations
46+ "files.associations" : {
47+ "*.gradle.kts" : " gradle"
48+ }
49+ }
You can’t perform that action at this time.
0 commit comments