build: vscode improvements and devcontainer support #15395
Merged
+48
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 (
varkeyword), 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.