These are chat archives for TypeStrong/atom-typescript

29th
Nov 2015
amit handa
@amit-handa
Nov 29 2015 04:16
In Atom, I type 'ctrl+]' to see declaration. what is the shortcut for returning from declaration ?
Basarat Ali Syed
@basarat
Nov 29 2015 10:43

cannot redeclare block-scoped variable <var-name>

@amit-handa use file modules : https://basarat.gitbooks.io/typescript/content/docs/project/modules.html to ensure each file isolated

In Atom, I type 'ctrl+]' to see declaration. what is the shortcut for returning from declaration ?

@amit-handa Use this package : https://github.com/TypeStrong/atom-typescript/blob/master/docs/packages.md#last-cursor-position in our list of packages we love. :rose:

amit handa
@amit-handa
Nov 29 2015 12:08
Thanks basarat ! Appreciate your book on typescript, its short and sweet.
amit handa
@amit-handa
Nov 29 2015 12:24
@basarat , how do I navigate using this package.
how do I see the declaration of the symbol ?
I understand I can navigate back using Alt+-.
Basarat Ali Syed
@basarat
Nov 29 2015 14:59

how do I see the declaration of the symbol ?

@amit-handa F12 ... also you can use the command palette to find the commands :rose:

amit handa
@amit-handa
Nov 29 2015 16:07
thanks, I do F12, after that, Alt+-, it doesnt go back. I have last-cursor package installed :(
Basarat Ali Syed
@basarat
Nov 29 2015 20:56
should work ... create issue with last-cursor if it doesn't :rose: