soates / Auto-Import

vscode extension that will automatically finds, parses and provides code actions for all available imports. Only currently works with files in your folder and TypeScript.
MIT License
165 stars 62 forks source link

Repeating the import line twice #114

Open rinshankolayil opened 3 years ago

rinshankolayil commented 3 years ago

When i am trying to import external library, auto import works well but the line of importing repeating twice. Can you please guide me to prevent the two lines into single line of the imported file. Please refer the images i am adding here, in the first image i am trying to import the class test

one

In the second image, i can see two import lines of same external library, one line in the top of page and second line is in the mouse cursor position.

two

In my view, it is better to auto complete the line in the position of mouse cursor instead of the first line. Because some programmers might prefer to keep same order of lines.

nathanhannig commented 3 years ago

Same is happening for me, very irritating issue