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

Extension not working together with the Kotlin extension

Open zrno opened this issue 3 years ago • 4 comments

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%

zrno avatar Oct 13 '20 20:10 zrno

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

badsyntax avatar Oct 14 '20 09:10 badsyntax

I tested this with:

  • gradle init (using kotlin as implementation language)
  • install vscode-gradle 3.5.0
  • install fwcd.kotlin 0.2.18

both extensions attempt to resolve gradle dependencies on activation:

  • vscode-gradle uses the gradle tooling api
  • fwcd.kotlin uses the gradle CLI

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.

badsyntax avatar Oct 14 '20 10:10 badsyntax

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

zrno avatar Oct 14 '20 19:10 zrno

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.

ogtega avatar Sep 19 '22 15:09 ogtega