-
Notifications
You must be signed in to change notification settings - Fork 31.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendering stops working for files with semantic tokens spanning more than one line #243923
Comments
Related issue on Calva: BetterThanTomorrow/calva#2757 |
To provide another test case: A Lua file containing the below example will also cause the same error: --[[
]] |
Appears to be related to: 082c5d8 |
Also happens in terraform files, where you have variable "break_rendering" {
description = <<EOF
breaks the rendering
EOF
type = bool
default = true
} This, however, with just a variable "renderings_fine" {
description = "renders fine"
type = bool
default = true
} Only happens in insiders, not GA (v1.98.2) Insiders version
Version: 1.99.0-insider (user setup) System information
Enabled extensions
A/B experimental info
|
Originally posted by @peku33 in #244266 I have the same issue with a very long SQL file (2700+ lines) using the SnowFlake plugin.
|
Fixed last week already with #244451! |
Awesome news, @hediet! Does that mean that it works with latest Insiders already? |
@PEZ yes exactly! It is fixed in Insiders. |
Awesome. Then I can start using Insiders again! 🙏 |
It is still an issue on |
I can confirm @peku33's observation. It's still an issue with latest Insiders. Though the repro is not as clear as it used to be. In fact I don't know the repro, just that some Calva users see the rendering of files stop to work with some content, and it does not happen with non-Insiders VS Code. |
Type: Bug
.clj
file with this text:[ 0, 0, 5, 10, 0 ]
, with character length 5 which spans the entire text.This doesn't happen in stable VS Code 1.98.2
Happens in 1.99.0-insider
Calva uses clojure-lsp as its language server, which produces tokens like these. Almost all Clojure files around has text like this and will not work with 1.99.0-insider.
VS Code version: Code - Insiders 1.99.0-insider (ea9b53f, 2025-03-18T05:04:34.769Z)
OS version: Darwin arm64 24.3.0
Modes:
System Info
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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (20)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: