Commit 4e73f5b
authored
build: vscode improvements and devcontainer support (#15395)
Add devcontainer.json to support one-click development environment. It
installs java 25, runs `gradlew eclipse`, and installs the correct
extensions. No popups or confirmations required. Only GitHub codespaces
has been tested.
Set "Standard" launch mode, the "Lightweight" mode initially started by
the default "Hybrid" setup will spew nonsensical diagnostic errors. This
is very confusing as it makes the setup appear broken, for a potentially
long time, until the "Standard" server is finished indexing (takes
~5mins on my machine).
Improve the completion speed, by reducing the amount of auto-imported
stuff (favorite static members).
Enable inlay hints for inferred variable types (`var` keyword), and
inferred parameter types (lambdas).
Remove telemetry popup for Red Hat Language Server. Local VSCode user
must still deal with 3 popups. but 3 is better than 4.
Remove ast-grep extension which errors-out if the binary isn't installed locally. User can install themselves if wanted.
Fix outdated 'java 23' in gradlew error code.1 parent 1e43d4f commit 4e73f5b
File tree
6 files changed
+48
-4
lines changed- .devcontainer
- .vscode
- build-tools/build-infra/src/main/java/org/apache/lucene/gradle/plugins/licenses
- help
6 files changed
+48
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| 8 | + | |
7 | 9 | | |
8 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
32 | 42 | | |
33 | 43 | | |
34 | 44 | | |
| |||
0 commit comments