Skip to content

Auto-completing attributes adds 'Attribute' suffix #2041

@saul

Description

@saul

When auto-completing attribute names, the 'Attribute' suffix is automatically added, but is against .NET conventions.

Repro steps

  1. Start writing an attribute above a function (e.g., [<AutoOp)

  2. Notice that the autocompletion list suggests AutoOpenAttribute (and will type this when you accept the suggestion)

Expected behavior

Autocompletion should recognise that the caret is within an attribute specifier, and so should drop the Attribute suffix. So the suggestion should be AutoOpen instead of AutoOpenAttribute.

Actual behavior

Autocompletion suggests AutoOpenAttribute.

Known workarounds

Hit enter, then remove the Attribute suffix.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions