Skip to content

Option to disable default exports (use named exports)? #293

Open
@andrei-ce

Description

@andrei-ce

Hi all,

as a suggestion I would like to either have a snippet or have a configuration setting for exporting react components as named imports only, without the default keyword. I know this is a personal preference but not having to delete the default keyword all the time would same some time.

As an example, adding the config below to VS Code's settings.json saved me a lot of time and I wish there was something to turn off default exports:
"reactSnippets.settings.importReactOnTop": false,

Either way, thanks this is already a great extension!

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