Sublime Forum

Sublime navigation -go to definition - not one but multiple

#1

Sorry for language mistakes. When i place mouse on class Controller in Sublime (Php file, Laravel framework) … for example in piece of code

<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ResetsPasswords;

class ResetPasswordController extends Controller {....}

I have multiple choice to “jump to definition” not “one”. is it possible to fix it problem “multiple choice” to one … maybe addition package.
Thanks

0 Likes

#2

This happens because Sublime Text found several files which seem to define Controller in your project. As the Goto definition functions work on scope names only, they can’t decide which one is the correct one.

0 Likes

#3

Thanks. Everything is OK when i find that alt+“left mouse click” works good after installation SublimeCodeIntel plugin.

0 Likes