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
164
stars
62
forks
source link
Look if the element is in some index file higher up the hierarchy #107
I use vscode for react and I have bundled all my frontend-components exports in an index file. so that I can just
import {Button,Modal} from 'frontend';
if I use the extension it prints:
import Button from '../../../frontend/graphics/Button';
which is longer and will not accumulate the imports.
It would be great if the former would be possible.
I use vscode for react and I have bundled all my frontend-components exports in an index file. so that I can just
import {Button,Modal} from 'frontend';
if I use the extension it prints:
import Button from '../../../frontend/graphics/Button';
which is longer and will not accumulate the imports.It would be great if the former would be possible.