Skip to content

Select only the name of the declaration when going to it from reference (Ctrl+Click) #32

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
micaelgallego opened this issue Mar 12, 2016 · 9 comments

Comments

@micaelgallego
Copy link

In JDT when going to declaration, only the name of the element is selected. In TypeScript.java, all class or method is selected. I think the behavior should be the similar to JDT.

@angelozerr
Copy link
Owner

It's tsserver which works like this. VSCode have the same behaviour.

@micaelgallego
Copy link
Author

In cases like this, when tssserver behaves differently from JDT, do you plan to let tsserver default behavior or tweak it to be similar than JDT?

@angelozerr
Copy link
Owner

I don't want to tweak tsserver because this tsserver comes from the installed typescript that user can install it. I sugguest you that you create an issue at https://github.com/Microsoft/TypeScript/issues

@micaelgallego
Copy link
Author

If you plan to use tsserver behavior when it is different than JDT, then you can close this issue.

@angelozerr
Copy link
Owner

I suggest you that you create an issue to TypeScript and you link it to this issue.

@micaelgallego
Copy link
Author

I know, but the tsserver behavior is not anything that need to be fixed. It is only that eclipse uses other convention when goes to definition. For this reason maybe it has no sense to create an issue for TypeScript

@angelozerr
Copy link
Owner

As I said you, I don't want to tweak tsserver.

@micaelgallego
Copy link
Author

Your opinion is ok for me. You can close this issue then.

@angelozerr
Copy link
Owner

Ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants