1

I'm editing the file ~/subdir/hello.html which contains the following line:

<script src="js/hogan.js"></script>

Is there a command in PHPStorm to quickly open ~/subdir/js/hogan.js when keyboard cursor is inside double quotes?

2
  • 1
    Your code has a lot of typos but if you correct it to <script src="js/hogan.js"></script> you can Ctrl+Click on the name. Commented Sep 11, 2018 at 16:38
  • @ÁlvaroGonzález, right. Both work, Ctrl+Click is "go to declaration". Fixed the code. Commented Sep 11, 2018 at 17:35

1 Answer 1

2

Ah, I found that "Navigate to implementation(s)" (Ctrl-Alt-B) does the trick in this case, as well as "Navigate to declaration" (Ctrl-Click or Ctrl-B)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.