Skip to content
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

There should be link to source and who says #45

Open
paulvi opened this issue Jul 12, 2015 · 5 comments
Open

There should be link to source and who says #45

paulvi opened this issue Jul 12, 2015 · 5 comments

Comments

@paulvi
Copy link

paulvi commented Jul 12, 2015

There should be link to source and who says

e.g. Link to JSDoc declaration (what about if it in in other file?)

and "tern-lint. [configure project](configure project)"

docs https://github.com/angelozerr/tern-lint/wiki/Validation-JSDoc

@paulvi paulvi changed the title The should be link to source and who says There should be link to source and who says Jul 13, 2015
@angelozerr
Copy link
Owner

I'm sorry I don't understand your issue?

@paulvi
Copy link
Author

paulvi commented Aug 15, 2015

It should be clear that the message comes because tern-lint module is enables (There should be link to project Properties page)

and should be link to source line that defines type of variable (because it may be other file or user could quickly navigate to check/correct)

@angelozerr
Copy link
Owner

e.g. Link to JSDoc declaration (what about if it in in other file?)

Ok I understand. No it's not possible. Once tern compute type, you cannot know the source where type comes from. It does that to avoid having a lot of instance of type. For instance for string type, you have just one instance of string type and not a string type instance where JS content or JSDoc declares string.

As it is a tern issue, I close this issue.

@paulvi
Copy link
Author

paulvi commented Aug 18, 2015

Technically tern issue should be created and referenced from here. This one should not be closed.

@angelozerr
Copy link
Owner

I have already discussed about this topic with author of tern, and he has no the intention to support it. I reopen this issue, but I'm afraid this issue will never done.

@angelozerr angelozerr reopened this Aug 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants