Skip to content

[Cadence VS Code Plugin] Clarify Import Errors #477

Description

@briandoyle81

Issue to be solved

Our Cadence tutorials in the playground and possibly other resources teach to import contracts with:

import Contract from 0xDeployerAddress

This doesn't work when working locally, you must use:

import "Contract"

The existing error message should be updated to provide clarity:

Image

Suggested Solution

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions