vscode-extension-auto-import icon indicating copy to clipboard operation
vscode-extension-auto-import copied to clipboard

Import always gets added after the last "import" in the file.

Open KevinHurts opened this issue 7 years ago • 3 comments

This is an issue when you use react and styled-jsx with scss imports. The import gets added after the @import of the scss file when it should just be added to the imports at the top of the file.

image

KevinHurts avatar Sep 12 '18 08:09 KevinHurts

Same problem

studentIvan avatar Nov 20 '18 11:11 studentIvan

the same happens in Angular Module definitions:

image

flobacher avatar Jan 13 '21 05:01 flobacher

I'm having the same problem as @flobacher, it would be nice to have an option to let import in the first line of the file, at least it's easier to fix, especially with eslint.

johncovv avatar Feb 05 '21 04:02 johncovv