Lucas Alber

Results 91 comments of Lucas Alber

Can you provide a minimal example where that issue occurs?

Thanks! Can you confirm that running JUnit tests and jumping to test classes still work?

What exactly do you mean with missing tests?

Ok, I opened an issue to keep track of that. For the PR, I see errors like `org.eclipse.core.internal.resources.ResourceException(/1920_latin_d9388dfc)[372]: java.lang.Exception: Project '1920_latin_d9388dfc' is not open.` in the console. Might have to...

``` openjdk 22 2024-03-19 OpenJDK Runtime Environment (build 22) OpenJDK 64-Bit Server VM (build 22, mixed mode, sharing) ``` The "project" is just an empty folder with a `Test.java` file.

Sadly not, I am also getting ``` jdtls: ERROR: Jul 6, 2024, 11:11:15 AM BadLocationException null org.eclipse.jface.text.BadLocationException at org.eclipse.jface.text.ListLineTracker.getLineOffset(ListLineTracker.java:197) at org.eclipse.jface.text.AbstractLineTracker.getLineOffset(AbstractLineTracker.java:252) at org.eclipse.jface.text.AbstractDocument.getLineOffset(AbstractDocument.java:868) at org.eclipse.jdt.ls.core.internal.handlers.WorkspaceDiagnosticsHandler.convertRange(WorkspaceDiagnosticsHandler.java:475) at org.eclipse.jdt.ls.core.internal.handlers.WorkspaceDiagnosticsHandler.toDiagnostic(WorkspaceDiagnosticsHandler.java:420) at org.eclipse.jdt.ls.core.internal.handlers.WorkspaceDiagnosticsHandler.lambda$7(WorkspaceDiagnosticsHandler.java:394) at...

Note to self: I'll merge it, but the issues need to be investigated in the future.

Maybe this can be done dynamically without explicitly specifying the dependencies. I experimented a bit with `MetaPathFinder` and I believe by using something like this (similar for 3.8): ```py import...

What do you recommend? "Fixing" it in LSP or creating an issue in ruff?