Change:
registerEditorAction(PrevWordHighlightAction); registerThemingParticipant((theme, collector) => { <del> let selectionHighlight = theme.getColor(editorSelectionHighlight); </del> <ins> const selectionHighlight = theme.getColor(editorSelectionHighlight); </ins> if (selectionHighlight) { collector.addRule(`.monaco-editor .focused .selectionHighlight { background-color: ${selectionHighlight}; }`); collector.addRule(`.monaco-editor .selectionHighlight { background-color: ${selectionHighlight.transparent(0.5)}; }`); } <del> let wordHighlight = theme.getColor(editorWordHighlight); </del> <ins> const wordHighlight = theme.getColor(editorWordHighlight); </ins> if (wordHighlight) { collector.addRule(`.monaco-editor .wordHighlight { background-color: ${wordHighlight}; }`); } <del> let wordHighlightStrong = theme.getColor(editorWordHighlightStrong); </del> <ins> const wordHighlightStrong = theme.getColor(editorWordHighlightStrong); </ins> if (wordHighlightStrong) { collector.addRule(`.monaco-editor .wordHighlightStrong { background-color: ${wordHighlightStrong}; }`); } <del> let selectionHighlightBorder = theme.getColor(editorSelectionHighlightBorder); </del> <ins> const selectionHighlightBorder = theme.getColor(editorSelectionHighlightBorder); </ins> if (selectionHighlightBorder) { <del> if (theme.type === 'hc') { collector.addRule(`.monaco-editor .selectionHighlight { border: 1px dotted ${selectionHighlightBorder}; box-sizing: border-box; }`); } else { collector.addRule(`.monaco-editor .selectionHighlight { border: 1px solid ${selectionHighlightBorder}; box-sizing: border-box; }`); } </del> <ins> collector.addRule(`.monaco-editor .selectionHighlight { border: 1px ${theme.type === 'hc' ? 'dotted' : 'solid'} ${selectionHighlightBorder}; box-sizing: border-box; }`); </ins> } <del> let wordHighlightBorder = theme.getColor(editorWordHighlightBorder); </del> <ins> const wordHighlightBorder = theme.getColor(editorWordHighlightBorder); </ins> if (wordHighlightBorder) { <del> if (theme.type === 'hc') { collector.addRule(`.monaco-editor .wordHighlight { border: 1px dashed ${wordHighlightBorder}; box-sizing: border-box; }`); } else { collector.addRule(`.monaco-editor .wordHighlight { border: 1px solid ${wordHighlightBorder}; box-sizing: border-box; }`); } </del> <ins> collector.addRule(`.monaco-editor .wordHighlight { border: 1px ${theme.type === 'hc' ? 'dashed' : 'solid'} ${wordHighlightBorder}; box-sizing: border-box; }`); </ins> } <del> let wordHighlightStrongBorder = theme.getColor(editorWordHighlightStrongBorder); </del> <ins> const wordHighlightStrongBorder = theme.getColor(editorWordHighlightStrongBorder); </ins> if (wordHighlightStrongBorder) { <del> if (theme.type === 'hc') { collector.addRule(`.monaco-editor .wordHighlightStrong { border: 1px dashed ${wordHighlightStrongBorder}; box-sizing: border-box; }`); } else { collector.addRule(`.monaco-editor .wordHighlightStrong { border: 1px solid ${wordHighlightStrongBorder}; box-sizing: border-box; }`); } </del> <ins> collector.addRule(`.monaco-editor .wordHighlightStrong { border: 1px ${theme.type === 'hc' ? 'dashed' : 'solid'} ${wordHighlightStrongBorder}; box-sizing: border-box; }`); </ins> } });

Discussion:
VSCode Version: 1.21 OS Version: macOS Currently border style for selection and word highlight are dotted. It's possible to make it like it's with which is straight lines? Selection () <img width="36" alt="image" src="https://user-"As you can see it's dotted. Word highlight (/) <img width="264" alt="image" src="https://user-"As you can see it's dotted. Find match () <img width="64" alt="image" src="https://user-"As you can see border lines are straight, this is how it needs to look like in selection and word highlight borders.
Same problem is with . As I can see only is working as expected.
Same issue on ubuntu 17.10, since the recent update (1.21) the styling's been broken.
This issue is theme specific, doesn't exist on Monokai or other themes. I reckon this only concerns OneDark Pro.
This doesn't exist in Monokai because Monokai theme doesn't use border for search since there's no such color specified in theme. As you can see in this issue I'm talking about new colors introduced in VS Code 1.21 which borders text, but the problem is border are dotted instead of straight line. So this isn't OS or theme specified, the problem is VS Code and only one color works properly () which uses lines for border instead of dots.
I found here it's . Should I make a PR in proper places to change from to ? /cc
I also see is while others are . Is that correct? I would also like to suggest to use border solid for . /cc
! With different border styles, we get this issue above in the screenshot. We definitely need solid style. Right now it looks like garland :D
since you're working with colors, what do you think? The idea is from Atom with plugin. It's really weird to see the dotted or dashed border styles. If needed I can create a PR.
We can do solid border styles for anything except high contrast. In the high contrast theme, the same color is used for all of these decorations and the only distinguishable trait is the border style.
I'm very happy!!! What about which have , it's correct? Also, you forgot to set to too.

If you want I can create a PR.
:+1: for a PR
Thanks. I will start to work on it right now!
Already done in Please review If everything is OK with PR please include it in next release (1.22.0).
this won't make it into 1.22. Only critical fixes at this point.
Maybe 1.22.1? Anyways thanks for explaining it, I really appreciate your and your team work on VS Code.