Comment

Comment by pookeh

Still no auto-import on Typescript. The main reason I use Webstorm over VSCode currently.

What I am talking about:

  * new Foo|

  * <Ctrl+Space>

  * (Automatically inserted by editor top of the file where imports are) import {Foo} from "../relativePath/to/Foo.ts"

  * new Foo(param);|
Working on a large TS codebase without this is absurd. Webstorm is way ahead of VSCode in this area, including things like multiple named imports like:

  * import {Foo, Bar} from "../../foobar.ts"
Additionally, things like refactoring filename that affect the all imports that reference that filename -- not sure if that got added in VSCode recently tho.
parent pookeh 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton