A module that uses ES6 in a smart editor (such as WebStorm) introduces a module, first import {} from "fs";
and then jump the cursor back to curly braces {}
to write the desired module, because there is a smart prompt at this time.
is there any way to introduce the write module smoothly without jumping the cursor?
< hr >add:
like ptyhon is from xxx import xxx
, this design can avoid the problem of jumping cursor. The main purpose of asking this question is:
- Why did the International Standards Organization design the format
import from
in the first place?
- how to improve this problem
about how to improve this question
, a solution has been found in WebStorm. Sf limits the time for questioners to answer, and will supplement the answer later.
you are welcome to add the solution in other editors and question 1
;
Thank you.