Skip to content

Java Intellisense/autocomplete slow/not working #1064

Closed

Description

@imankur85

Issue Type: Bug

After a brief period of working, the Java intellisense either stops working or takes a lot of time to load suggestions.

Extension version: 0.48.0
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:35:15.005Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (4 x 2496)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.90GB (5.65GB free)
Process Argv
Screen Reader no
VM 0%

Activity

  1. snjeza commented on Sep 17, 2019

    @snjeza
    Collaborator

    Could you enable Java LS tracing and attach the logs from the output view (Java Language server)?
    See https://github.com/redhat-developer/vscode-java/wiki/Troubleshooting#turn-on-message-tracing-between-vs-code-and-the-java-language-server

    Does the issue occur when all other extensions are disabled?

  2. devyhia commented on Jun 11, 2020

    @devyhia

    I have the same problem. Intellisense is usually very fast; However, whenever I enable the debugger and java test runner the inntellisense slows down dramatically. For some reason, "Java Test Runner" plugin and the debugger plugin slow down the performance. Not sure how to go around debugging this.

  3. testforstephen commented on Jun 12, 2020

    @testforstephen
    Collaborator

    @devyhia When you observe performance issue, could you share the logs?

    Below is the command to get the log.
    F1 -> Java: Open Java language server log file

  4. jaoyina commented on Feb 1, 2021

    @jaoyina

    I have the issue too, for some classes, it is too slow, it displays the auto complete list after the cursor blinks 10 times.

  5. nikitades commented on Mar 12, 2023

    @nikitades

    Any updates on that?

  6. robstryker commented on Oct 29, 2026

    @robstryker
    Contributor

    microsoft/vscode-java-test#832 was closed as resolved. User comments indicate very much improved behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions