d8376f191e
VS Code will show color previews in code completion if there's a hex value at the start or end of the documentation (or a few other fields, but documentation seems lease intrusive here). This change will compute and include the hex color if the client indicates it supports the Color completion kind. Fixes https://github.com/Dart-Code/Dart-Code/issues/3941 Change-Id: I94a81993ce5ad95d8cdce2fd61dc7b139710a659 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/382604 Reviewed-by: Keerti Parthasarathy <keertip@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Keerti Parthasarathy <keertip@google.com>