Skip to content

Conversation

@rmuir
Copy link
Member

@rmuir rmuir commented Nov 3, 2025

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.

Screen_Shot_2025-11-02_at_18 38 56 Screen_Shot_2025-11-02_at_18 58 14 Screen_Shot_2025-11-02_at_19 03 33

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 @SuppressForbidden from WrapperDownloader which breaks javac when
the wrapper is used. This file will need to be excluded via some other
mechanism.

Fix outdated 'java 23' in gradlew error code.
Not sure why this failed, not sure either how it works :)
@rmuir rmuir marked this pull request as ready for review November 3, 2025 12:51
@rmuir
Copy link
Member Author

rmuir commented Nov 3, 2025

Thanks for the assist @dweiss!

The same caveats around the vscode setup also exist here:

  • Goal here is a MINIMAL correctly-working setup.
  • Codebase is large and it is resource-intensive to index it.
  • You might get a high CPU warning from codespaces, it is normal.
  • Fancy features such as Debugger and Testing (beaker icon) aren't yet supported: use the CLI.

@rmuir rmuir merged commit 4e73f5b into apache:main Nov 3, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants