Skip to content

Commit 62f33d0

Browse files
committed
Add .vscode/settings.json
1 parent e0a6cbc commit 62f33d0

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

.vscode/settings.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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+
}

0 commit comments

Comments
 (0)