Skip to content

Option to enable annotations for functions that are related to conformances of protocols #1730

@MahdiBM

Description

@MahdiBM

Is your feature request related to a problem? Please describe.
There should be an option so we can ask the VSCode extension to enable showing inlay hints or such, for properties that are for conformances to protocols.

So basically if a type is conforming to CustomStringConvertible, there would be annotations near the var description: String indicating this is for conformance to CustomStringConvertible.

So we have a way to easily make sure a function is related to a conformance. It can help a lot when dealing with any protocols you're not too familiar with.

I'd enable this by default too but It's fine by me either way.

Describe alternatives you've considered
The compiler and all could go for adding a keyword like override but I don't think that's necessary considering we can solve the problem at tooling level.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions