CR
and LF
appear in type hint when there is newline character
#1944
Labels
bug
Something isn't working
CR
and LF
appear in type hint when there is newline character
#1944
Zig Version
0.14.0-dev.121+ab4c461b7
Zig Language Server Version
fbd8b9a
Client / Code Editor / Extensions
VsCode 1.90.2
Steps to Reproduce and Observed Behavior
OS:
Window 11
Define anonymous struct, enum or union like this:
And this is how type hint look like:
![image](https://private-user-images.githubusercontent.com/53971641/346891146-fdc0e6a1-167b-42c9-b11e-0c5e8dff2191.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3NDI4OTksIm5iZiI6MTczOTc0MjU5OSwicGF0aCI6Ii81Mzk3MTY0MS8zNDY4OTExNDYtZmRjMGU2YTEtMTY3Yi00MmM5LWIxMWUtMGM1ZThkZmYyMTkxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDIxNDk1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE5MDk2NjQwZjVkNDUwZTBlZDQxYTAxOWQ4YWM2ZDAwYmI4N2RlMDE2ODk4ZGQ2OTU3ZDFjYzA1ZDcwYWE4N2EmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.773UXCu3vLrQZqgQKPr0wsHPx8zGJuTSC3r9WHY82H8)
Expected Behavior
Ignore the newline character and display the fields in one line.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: