mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-07 07:16:41 +01:00
678aeb1c87
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>