vscode-java icon indicating copy to clipboard operation
vscode-java copied to clipboard

Code Completion Hint Box miss some of the object methods

Open tianfudhe opened this issue 3 years ago • 1 comments

Issue Type: Bug

I add dependency hutool-all in maven, i.e.,

<dependency>
  <groupId>cn.hutool</groupId>
  <artifactId>hutool-all</artifactId>
  <version>5.8.4</version>
</dependency>

and write

package com.tianfudhe;
import cn.hutool.json.JSONObject;
public class App {
  public static void main( String[] args ) {
    JSONObject obj=new JSONObject();
    obj.set("data", new JSONObject());
    obj.getJSONObject("data");
    System.out.println( "Hello World!" );
  }
}

when I type obj. the candidate method getJSONObject does not pop up in HintBox, even though obj.getJSONObject is valid.

Extension version: 1.8.0 VS Code version: Code 1.69.1 (b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a, 2022-07-12T08:21:24.514Z) OS version: Windows_NT x64 10.0.22000 Restricted Mode: No Remote OS version: Linux x64 5.10.102.1-microsoft-standard-WSL2

System Info
Item Value
CPUs AMD Ryzen 7 5800H with Radeon Graphics (16 x 3194)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.36GB (7.01GB free)
Process Argv --folder-uri=vscode-remote://wsl+Ubuntu/home/tianfu/Documents --remote=wsl+Ubuntu --crash-reporter-id ade2656e-b88c-4d58-a0cb-ce0a38015e24
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 5.10.102.1-microsoft-standard-WSL2
CPUs AMD Ryzen 7 5800H with Radeon Graphics (16 x 3193)
Memory (System) 7.76GB (5.07GB free)
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
vscaat:30438848
vsclangdc:30486549

tianfudhe avatar Jul 15 '22 16:07 tianfudhe

I cannot reproduce it on my machine

image

jdneo avatar Jul 18 '22 02:07 jdneo

This issue has been closed automatically because it needs more information and has not had recent activity. Please reach out if you have or find the answers we need so that we can investigate further.

github-actions[bot] avatar Jan 25 '24 10:01 github-actions[bot]