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

Extension not working together with the Kotlin extension #756

Open zrno opened 3 years ago

zrno commented 3 years ago

Issue Type: Bug

https://github.com/fwcd/vscode-kotlin/issues/35

Extension version: 3.5.0 VS Code version: Code 1.50.0 (93c2f0fbf16c5a4b10e4d5f89737d9c2c25488a3, 2020-10-07T06:10:52.432Z) OS version: Windows_NT x64 10.0.18362

System Info |Item|Value| |---|---| |CPUs|Intel(R) Xeon(R) CPU E3-1240 v6 @ 3.70GHz (8 x 3696)| |GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|15.92GB (3.72GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
badsyntax commented 3 years ago

Thanks for highlighting this issue, as i wasn't aware of it. I'll take a look at fixing this.

badsyntax commented 3 years ago

I tested this with:

both extensions attempt to resolve gradle dependencies on activation:

there doesn't appear to be any conflict here, and everything seems to work:

Screenshot 2020-10-14 at 11 46 38

@zrno can you be more specific about what issue you're seeing? thanks.

zrno commented 3 years ago

Sorry I was not the original reporter of the other issue, I just wanted to link to the existing issue

ogtega commented 2 years ago
Screen Shot 2022-09-19 at 11 04 46 AM

@badsyntax I did notice .kts scripts would get syntax highlights through fwcd.kotlin but throw errors regarding some things related to the Gradle API.

Perhaps adding the command "Create a Gradle Kotlin Project" might be a nice add-on too.