Skip to content

add helpful hints in error message if unknown decorator #1773

@iscai-msft

Description

@iscai-msft

I think it would be helpful when you get "Unknown identifier" / "Unknown decorator" errors to include a line like "make sure you're using the libraries you need to use" or something along those lines, to point people to either adding a using statement, or fully qualifying their identifier / decorator

Metadata

Metadata

Assignees

No one assigned

    Labels

    compiler:coreIssues for @typespec/compilerideIssues for VS, VSCode, Monaco, etc.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions