Open yoshigev opened 1 week ago
Type: Bug
When entering a JSON object as the value for a @default tag, the first opening curly bracket is treated as part of the code.
@default
For example:
class X { /** * @default { "a": 1 } */ foo: any; }
Is displayed as:
VS Code version: Code - Insiders 1.91.0-insider (b36286db80c68b7fdc6bfee2f55e0208c8833dfc, 2024-06-25T09:14:46.370Z) OS version: Modes:
System Info: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36Extensions (16)
Type: Bug
When entering a JSON object as the value for a
@default
tag, the first opening curly bracket is treated as part of the code.For example:
Is displayed as:![image](https://github.com/microsoft/vscode/assets/1838547/3797bd40-02a0-402e-bbb5-9e0146e806c7)
VS Code version: Code - Insiders 1.91.0-insider (b36286db80c68b7fdc6bfee2f55e0208c8833dfc, 2024-06-25T09:14:46.370Z) OS version:
Modes:
System Info: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Extensions (16)