vscode-extension-auto-import
vscode-extension-auto-import copied to clipboard
Improve support for multiline import
This extension is really awesome! If it can also support for multiline import, it will be perfect.
Let's say original I've the following import statements at the top.
import React from 'react'
import {
View,
Text,
} from 'react-native';
When I put a new component in the render function (let's say <MyComponent />
), the auto import will generate the new import in wrong place.
import React from 'react'
import {
import MyComponent from './MyComponent';
View,
Text,
} from 'react-native';
Expected:
import React from 'react'
import {
View,
Text,
} from 'react-native';
import MyComponent from './MyComponent';
+1