In version 2.8.3, inserting a CSS variable via autocomplete removes an existing trailing semicolon.
This issue does not occur in version 2.8.2.
Environment
- VSCode: 1.107.1
- OS: Windows 11 (25H2)
Steps to Reproduce
- Prepare the following CSS code, where
| indicates the cursor position:
- Trigger autocomplete and insert --color.
Expected Behavior (v2.8.2)
The semicolon at the end of the line should be preserved:
.foo {
color: var(--color);
}
Actual Behavior (v2.8.3)
The semicolon is removed after insertion:
.foo {
color: var(--color)
}
In version 2.8.3, inserting a CSS variable via autocomplete removes an existing trailing semicolon.
This issue does not occur in version 2.8.2.
Environment
Steps to Reproduce
|indicates the cursor position:Expected Behavior (v2.8.2)
The semicolon at the end of the line should be preserved:
Actual Behavior (v2.8.3)
The semicolon is removed after insertion: