Skip to content

Auto selection of of component name after creating a function component . #250

Open
@aafrinabid

Description

@aafrinabid

issue
This has been the issue that I have been facing for quite a while for some it may not be that much of an issue but for me personally, it's been tough cause as you can see when we try to backspace the whole code gets altered and inside the div tag there is no need of the FirstName so its actually tough every time to click the mouse if you don't want to alter anything.
Step to reproduce

  1. Create a file of FirstName.js
    2.Now inside that file type "rfce"
  2. Now whole function component gets created thanks to this extension but after creating the function name is selected, inside the div tag the function name is given which I personally think is unnecessary is also selected, and at exports also it is selected now usually if you have nothing to change you have to use the mouse to deselect every selected code now if you type enter all code gets altered

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