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

CTRL + Click Support for Dependencies #57

Open
machineghost opened this issue Oct 19, 2015 · 0 comments
Open

CTRL + Click Support for Dependencies #57

machineghost opened this issue Oct 19, 2015 · 0 comments

Comments

@machineghost
Copy link

If I have:

define(['foo'], function(foo) {
    foo.bar();
});

and I CTRL + Click on bar, IntelliJ will take me to the definition of bar (unless there are multiple bars in my codebase, in which case it will let me pick which one I want).

However, if I CTRL + Click on foo IntelliJ will simply take me to the top line (the function(foo) part). In theory though the plugin should know exactly which file is associated with foo ('foo.js'), so it should be able to take me to that file instead.

The RequireJS plug-in is already really great (I love how it can catch typos in my dependency paths), but it would be even greater if it could handle the CTRL + Click case for Require dependencies. Any chance of that happening?

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

1 participant