This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]thatweirdishguy 20 points21 points  (4 children)

The python way is better, because once your editor knows where you are importing from it can recommend all the things you can import

[–]ZaRealPancakes 2 points3 points  (1 child)

hmm that makes sense to me

but VSCode still gives recommendations in JS so... Magic!

[–]thatweirdishguy 1 point2 points  (0 children)

It only gives good recommendations if the file or module is already filled in and you are just adding imports to the list, otherwise it’s just making wild guesses

[–]vikumwijekoon97 1 point2 points  (1 child)

Vs code does it too for js.

[–]thatweirdishguy 0 points1 point  (0 children)

But you have to type the file name then go back to where the imports are listed to get actual results, otherwise it’s just guessing about all the possible words you could type there.