mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-09 20:37:13 -05:00
Document two antipatterns fixed in #320913 so AI agents avoid them and Copilot Code Reviews flag them: - `.monaco-editor-background` must be opaque (never transparent), otherwise the reverse-rounded selection corners break and performance suffers. - Editor highlights should use regular decorations with inlineClassName/className; registerDecorationType/setDecorationsByType is reserved for the ext host API. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>