You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Kotlin syntax for a double-quote char literal is '"'. Enter this by typing '"'. This syntax is highlighted incorrectly in vscode. It's highlighted as if the double-quotes somehow trump the single-quote char literals, which they should not.
Here is some Kotlin source code that illustrates the problem.
val a = '"'
val dummy1 = 1
val b = '"'
val dummy2 = 2
Here is an image showing the incorrect syntax highlighting in vscode:
Compare to an image of some correct highlighting from Android Studio:
Extension version: 1.7.1
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS version: Windows_NT x64 10.0.19042
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (8 x 3410)
Issue Type: Bug
The Kotlin syntax for a double-quote char literal is
'"'
. Enter this by typing '"'. This syntax is highlighted incorrectly in vscode. It's highlighted as if the double-quotes somehow trump the single-quote char literals, which they should not.Here is some Kotlin source code that illustrates the problem.
Here is an image showing the incorrect syntax highlighting in vscode:
Compare to an image of some correct highlighting from Android Studio:
Extension version: 1.7.1
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS version: Windows_NT x64 10.0.19042
System Info
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
A/B Experiments
The text was updated successfully, but these errors were encountered: