Skip to content

Commit bbe3a50

Browse files
committed
update configs
1 parent acf5571 commit bbe3a50

4 files changed

Lines changed: 24 additions & 13 deletions

File tree

.vscode/extensions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"recommendations": [
33
"streetsidesoftware.code-spell-checker",
44
"davidanson.vscode-markdownlint",
5-
"vscjava.vscode-java-pack"
5+
"vscjava.vscode-java-pack",
66
]
7-
}
7+
}

.vscode/settings.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,17 @@
66
"java.format.comments.enabled": false,
77
"java.inlayHints.parameterNames.enabled": "none",
88
"files.encoding": "utf8",
9-
"java.home": "/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home",
109
"java.jdt.ls.vmargs": "-Dfile.encoding=UTF-8",
1110
"javac-linter.javac": "javac -Dfile.encoding=UTF-8",
1211
"java.configuration.updateBuildConfiguration": "interactive",
13-
"cSpell.words": ["fiware", "makeour", "ngsi", "Ngsiv"]
14-
}
12+
"cSpell.words": [
13+
"Dfile",
14+
"fiware",
15+
"libexec",
16+
"makeour",
17+
"ngsi",
18+
"Ngsiv",
19+
"vmargs"
20+
],
21+
"java.compile.nullAnalysis.mode": "automatic"
22+
}

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@ Set `xxxx.code-workspace` env and use it.
1616

1717
```json
1818
{
19-
"java.test.config": {
20-
"env": {
21-
"TEST_COGNITO_USER_POOL_ID": "",
22-
"TEST_COGNITO_CLIENT_ID": "",
23-
"TEST_COGNITO_USERNAME": "",
24-
"TEST_COGNITO_PASSWORD": ""
19+
"settings": {
20+
"java.jdt.ls.java.home": "/opt/homebrew/opt/openjdk@21/libexec/openjdk.jdk/Contents/Home",
21+
"java.test.config": {
22+
"env": {
23+
"TEST_COGNITO_USER_POOL_ID": "",
24+
"TEST_COGNITO_CLIENT_ID": "",
25+
"TEST_COGNITO_USERNAME": "",
26+
"TEST_COGNITO_PASSWORD": ""
27+
}
2528
}
2629
}
2730
}

default.code-workspace

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"settings": {
88
"files.autoGuessEncoding": true,
99
"files.encoding": "utf8",
10-
"java.home": "/Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home",
10+
"java.jdt.ls.java.home": "/opt/homebrew/opt/openjdk@21/libexec/openjdk.jdk/Contents/Home",
1111
"java.jdt.ls.vmargs": "-Dfile.encoding=UTF-8",
1212
"java.configuration.updateBuildConfiguration": "interactive",
1313
"java.test.config": {
@@ -19,4 +19,4 @@
1919
}
2020
}
2121
}
22-
}
22+
}

0 commit comments

Comments
 (0)