1

I've installed the Laravel IDE Helper Generator. It works like a charm, its autocomplete is awesome, but I was wondering: is it also possible "jumping" to files directly?

For example, in routes.php:

Route::get('/', function () {
    return view('welcome');
});

Is it possible going to the view welcome directly (without having to navigate through the treeview and open it by double click)?

5
  • Not, it is not. Because view is a function, not a file. Commented Oct 10, 2015 at 17:19
  • Have you installed and configured Laravel Plugin ? Commented Oct 10, 2015 at 17:27
  • I'm running Win7 x64 Commented Oct 10, 2015 at 17:29
  • 1
    You can press shift key twice and then write "welc" at popoup. It will take you to the file. Commented Oct 10, 2015 at 17:45
  • I found out that Ctrl+Shift+N opens a search dialog for files inside the projects, it also passes the "welcome" string to the dialog which is pretty nice as you can pick it pressing Enter .. would be perfect if this functionality would work with Ctrl-click on "welcome" Commented Oct 10, 2015 at 17:54

2 Answers 2

2

it's possible by enabling the laravel plugin inside phpstorm: Settings - Plugins Then under Settings - Other Settings - Enable plugin for this project

Ctrl-Click on "welcome" -> opens welcome.blade.php

Voila! :)

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

Comments

1

To navigate to a file inside your project as alternative i suggest:

⇧⌘O

To navigate to a class:

⌘O

To navigate t a symbol:

⌥⌘O

If you have a windows, just replace '⌘' to 'Ctrl'.

You can check for more shortcuts and tips.

3 Comments

But this is not answering the question :s
This is general navigation -- you still have to type file name/path. The OP, as I understood, have asked for much simpler and quicker -- just Ctrl+Click on "welcome" and corresponding file is opened (or possible alternatives offered).
its an alternative :/

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.