-
Notifications
You must be signed in to change notification settings - Fork 885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Auto-Import #60
Comments
@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? |
this is a way of exponential growth for stackblitz. |
This is certainly a significant need. It makes learning with StackBlitz quite a bit harder to get started with and makes experienced devs less productive. |
come on guys nearly a year later... did my first stackblitz today is finding the import manually is really annoying! |
There's an online Angular editor called https://ng-run.com/, which looks like it's based on VSCode. It has an auto-import feature which might be something that could be added to StackBlitz - putting the link here for inspiration. StackBlitz is really top notch, and auto-import would definetly speed up development (and minimize time spent fixing import errors😉) |
any updates? |
I've just paid for Stackblitz, but I won't be able to use it without auto-import. |
@vargalas @andreElrico Yep, we are working on auto-imports! |
As soon as you guys have auto-imports and auto-complete for React, you have my business! |
auto import added to stackblitz ? |
auto import is still missing, Stackblitz is much faster than Codesandbox but this feature is really missing |
Huge +1 for this option, Stackblitz seems to give me the least amount of bugs / side-effects compared to replit and Codesandbox, but without this feature my productivity really takes a hit, especially when working with libraries with a huge amount of exports like three.js https://github.com/stackblitz/monaco-auto-import - Does this repo have anything to do with it? Hasn't been updated since 2018... |
4 years on and we still don't have auto imports :( |
Any luck in 2022? |
5 years on and we still don't have auto imports :( |
FYI: Auto-import is working for me now on typescript files. I tested by going to vite.new/vue-ts, opening Unfortunately It doesn't work on Vue/Volar script setup Vue 3 ts SFC components. But that should probably be filed as seperate issues... and this one seems fixed/done? |
Still doesn't work with vanilla JS packages though. For example, if I add I'd rather have this fixed than receive emails about viteconf 👀 |
With the addition of VS Code extension support in our new editor, this functionality can be achieved through the Auto-Import extensions mentioned by the OP @ExTheSea! ![]() Related Issue: #3 |
7 years on and we still don't have auto imports :( |
why such a long wait for auto-import ? |
First 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:
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.
The text was updated successfully, but these errors were encountered: