-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Open
Labels
editor-wrappingEditor line wrapping issuesEditor line wrapping issuesfeature-requestRequest for new features or functionalityRequest for new features or functionality
Milestone
Description
- VSCode Version: 1.15.1
- OS Version: Windows 10 x64
Steps to Reproduce:
- Settings:
"editor.wordWrap": "on",
"css.colorDecorators.enable": true
- Code example:
.form-control:focus { border-color: #141d36; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 4px rgba(165,128,57,0.6); -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 4px rgba(165,128,57,0.6); }
With colorDecorators disabled word wrapping works fine. After enabling it wordWrap completely ignores the width of added decorators and wrapes the code as they are not there what makes parts of the code to be pushed out of viewport.
I think it would be better to just underline the colors accordingly instead adding new elements next to it.
Also it would be great to add some margin between wrapped code and minimap (or whatever is on the right).
Reproduces without extensions: Yes
usernamehw, eamodio, trevyn, lnicola, ogoffart and 200 moreroyeradames, ufoscout, shirshak55, Mubelotix, fabrice102 and 15 more
Metadata
Metadata
Assignees
Labels
editor-wrappingEditor line wrapping issuesEditor line wrapping issuesfeature-requestRequest for new features or functionalityRequest for new features or functionality