Skip to content

Delegate declarations inherit the bold property from F# Functions/Methods #3111

@asik

Description

@asik

EDIT: I ended up writing several bugs with delegate coloring and tooltips here, let me know if this should be split in multiple issues.

Issue 1
In Options -> Fonts and Colors, I have "F# Functions/Methods" set to use Bold:
image

When declaring a delegate, part of the declaration seems to inherit that setting:
image

Here delegate of string is displayed in a bold font for no apparent reason. If I uncheck the bold option for F# Functions/Methods, it is displayed normally.

Issue 2
In addition, the type definition uses the color from "User Types - Classes" rather than "User Types - Delegates".

Issue 3
In addition, delegates have no coloring at the point of use:
image
They should use the color defined by "User Types - Delegates".

Issue 4
In addition, their tooltips are poor and not consistent with tooltips for most types:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-LangService-ColorizationBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions