Skip to content

Highlighting for type arguments in documentation comment references: [Map<K, V>] (vscode) #77

Open
@jonasfj

Description

@jonasfj

Example

  /// Create a [Map<K, V>] from all elements.
  ///
  /// This is a short-hand for [Map.fromEntries].
  Map<K, V> toMap() => Map<K, V>.fromEntries(this);

On Github (as illustrated above)

image

In VSCode

image

@DanTup it's unclear to me if this is a vscode bug, or?

In generated dartdoc

Just to show that writing [Map<K, V>] in a documentation does work as expected.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions