Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code fix to auto-import custom types / variables functions #14765

Open
Tracked by #14766
anthony-c-martin opened this issue Aug 7, 2024 · 0 comments
Open
Tracked by #14766

Code fix to auto-import custom types / variables functions #14765

anthony-c-martin opened this issue Aug 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@anthony-c-martin
Copy link
Member

If I know the name of a custom type that I've defined elsewhere (e.g. ContainerImage), when I type the following I'm going to get an error because ContainerImage hasn't been imported:

param image ContainerImage

It would be really nice to get a code fix on ContainerImage to automatically add the import for me:

import { ContainerImage } from '../shared/types.bicep'

param image ContainerImage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants