Auto import feature
Webstorm have cool feature like auto import entities from indexed files
for example we are typing: new Foo() and WS prompt "import Foo from 'foo.ts'?" if we says yes, then it append to header import {Foo} from './deep/folder/path/foo'

Cool. Some guidance : https://github.com/TypeStrong/atom-typescript/blob/master/docs/quickfix.md
:warning: Its hard stuff that needs close attention ... so instead of marking up for grabs marking as wishlist as I value contributor time and effort :rose:
Great!
But why import foo = require('../foo') instead of import {foo} from '../foo'?
why import foo = require('../foo') instead of import {foo} from '../foo'?
import foo = is not the same as import {foo}. it is more like import * as foo :rose:
I have a PR (https://github.com/TypeStrong/atom-typescript/pull/791) submitted that adds a quick fix option for an "import from" statement.
I got a missing dependency "Cannot find name ", but get no quick fix suggestion. I am on version 7.16.1. Any advice?
Thanks for your work - this feature is much needed.
@amb-it-ion can you share the code snippet. Might be the canProvideFix check is not valid for your code https://github.com/TypeStrong/atom-typescript/pull/791/files#diff-8fa30ff973791698c79754125ec84700R39
+1
+1
+1
Please note that the TypeScript team is investigating a QuickFix api similar to Refactor api. Everyone is ofcourse is free to do whatever, this was just info :rose:
Sorry, guys but is it working right now? really want to use atom with TS, but without auto import feature like in Webstrom, feels really akward :)
+1
+1 This is the reason I stay with Webstorm. There is a package that does this for regular js. Could it be ported to work for ts?
+1
please 👍
If I understand correctly this PR adds this feature to the TS language service. If that is true I guess it is just a matter of connecting it.
+1
I"m a noob in atom but maybe https://atom.io/packages/typescript-modules-helper this one could be helpful.
i need it!
I need it too!! 😄
please please +1