Skip to content

Go to declaration with Ctrl/Cmd + click #530

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
s-panferov opened this issue Aug 17, 2015 · 3 comments
Closed

Go to declaration with Ctrl/Cmd + click #530

s-panferov opened this issue Aug 17, 2015 · 3 comments

Comments

@s-panferov
Copy link

Hello! In our company several people migrated from WebStorm to Atom+AtomTypescript, and everything is amazing except one thing. There is a cool thing in WebStorm when you can press ctrl/cmd button, hover an item in the code and make a click:

kxgbp6f7hc

It is much faster and simpler than current F12 workflow. The other difference is that F12 in atom-typescript at first goes to an import declaration, and then goes to a real declaration. This requires to press F12 several times and it's a little bit annoying, especially on mac keyboards, when Fn key is in the bottom left side of a keyboard and F12 key is in the top right.

Is there any way to implement the same behaviour as in WebStorm?

@blakeembrey
Copy link
Member

Related: #482 and #448

@Cu3PO42
Copy link
Member

Cu3PO42 commented Aug 17, 2015

Also relevant: #520

Since the TypeScript language services will point to the import declaration first, this is what Atom Typescript does.

@basarat
Copy link
Member

basarat commented Aug 18, 2015

As mentioned. I'll just link the issues to your queries:

There is a cool thing in WebStorm when you can press ctrl/cmd button, hover an item in the code and make a click:

If anyone wants to work on this use #448 as a reference.

The other difference is that F12 in atom-typescript at first goes to an import declaration, and then goes to a real declaration

If anyone wants to work on this you can work on either the our code base : #520 or upstream at Microsoft/TypeScript

🌹

@basarat basarat closed this as completed Aug 18, 2015
@TypeStrong TypeStrong locked and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants