Enable Auto-Import
See original GitHub issueFirst of all, this is an amazing project for prototyping Web applications or developing applications on devices not capable of handling full-fletched IDE’s (e.g. Raspberrys, Tablets, etc.). I’m also heavily looking forward to #9 as it’s otherwise quite tedious to create new components/services/etc.
Another suggestion that I couldn’t find (or i’ve just missed) is a better auto-import:
- Auto-complete can’t find Modules from dependencies you added (like the angular material modules)
- When creating a new component right now and adding it to the declaration array in the AppModule the editor can’t find the new component
- Even the angular classes like e.g. Component are not being found
- Not thoroughly tested but it seems that the React classes like Component are not available through Intellisense
For all of those you have to manually add the import { ... } from './....ts';
manually and without any file system auto-complete this can get quite tedious, especially when importing something from an external dependency.
I’m quite used to an auto-import behaviour from IntelliJ but even VSCode can support something like this with plugins like Auto-Import.
So as you were mentioning natively implementing VSCode plugin behaviour and what functionally is needed in #3 I feel this would be an important addition if possible.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:43
- Comments:17 (1 by maintainers)
Top GitHub Comments
@vargalas @andreElrico Yep, we are working on auto-imports!
@ExTheSea I totally agree & really love this idea. It’s super annoying to have to guess & check whether you’re importing the right thing from the right place all the time 😒
@claytonschneider wanna take this on?