Skip to content

Unused code not being faded out #313207

@dnorrstrand

Description

@dnorrstrand
Image Image

Type: Bug

Import a variable or a function from another module or declare a variable within a function block and leave it unused. The variable name should be faded out.

VS Code version: Code 1.117.0 (Universal) (10c8e55, 2026-04-21T16:12:14-07:00)
OS version: Darwin arm64 25.4.0
Modes:

System Info
Item Value
CPUs Apple M3 (8 x 2400)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x106b [Google Inc. (Apple)], DEVICE=0x0000 [ANGLE (Apple, ANGLE Metal Renderer: Apple M3, Version 26.4.1 (Build 25E253))], DRIVER_VENDOR=Apple, DRIVER_VERSION=26.4.1 ACTIVE
Machine model name: Mac
Machine model version: 15.3
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: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 2, 2, 3
Memory (System) 16.00GB (0.22GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (20)
Extension Author (truncated) Version
copilot-chat Git 0.45.1
intellij-theme arz 1.11.0
vscode-markdownlint Dav 0.61.2
dotenv-vscode dot 0.28.1
prettier-vscode esb 12.4.0
vscode-rdbg Koi 0.2.2
feather-vscode mel 1.0.1
vscode-language-babel mgm 0.0.40
fluent-icons mig 0.0.19
vscode-containers ms- 2.4.3
remote-containers ms- 0.454.0
vscode-js-profile-flame ms- 1.0.9
material-product-icons PKi 1.7.1
developer-theme-dark Raj 5.0.0
vscode-yaml red 1.22.0
bootstrap-product-icons rub 1.0.2
php-debug xde 1.40.1
php-pack xde 1.0.3
material-theme zhu 3.19.0
php-intellisense zob 1.3.3

(5 theme extensions excluded)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions