microsoft / vscode-gradle

Manage Gradle Projects, run Gradle tasks and provide better Gradle file authoring experience in VS Code
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-gradle
MIT License
124 stars 51 forks source link

Classpath to source code of Gradle subprojects are not found #1475

Open mykeemueller opened 7 months ago

mykeemueller commented 7 months ago

Type: Bug

If you open a Java file of a subproject (Gradle project has two sub projects) VSCode does not find that file on the classpath and will show the following error: xyz.java is not on the classpath of project runtime, only syntax errors are reportedJava(32)

File structure: grafik

Error: grafik

Extension version: 3.13.5 VS Code version: Code 1.86.2 (903b1e9d8990623e3d7da1df3d33db3e42d80eda, 2024-02-13T19:40:56.878Z) OS version: Windows_NT x64 10.0.22631 Modes: Remote OS version: Linux x64 5.10.102.1-microsoft-standard-WSL2

System Info |Item|Value| |---|---| |CPUs|12th Gen Intel(R) Core(TM) i9-12900H (20 x 2918)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|63.68GB (38.82GB free)| |Process Argv|--crash-reporter-id af33eeef-d8d8-46bc-8521-c9a8e97bd260| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Debian| |OS|Linux x64 5.10.102.1-microsoft-standard-WSL2| |CPUs|12th Gen Intel(R) Core(TM) i9-12900H (20 x 2918)| |Memory (System)|31.19GB (28.00GB free)| |VM|0%|
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscoreces:30445986 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:30899288 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 2e7ec940:30968132 pythontbext0:30879054 accentitlementsc:30887149 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:30973185 d34g3935:30971562 edj9j583:30969295 a89i1917:30973842 ccp2r6:30958158 dsvsc020:30973508 666c4381:30973075 ```
mykeemueller commented 7 months ago

I add here also the used gradle configurations files gradle-conf.zip