I am trying to use https://github.com/erichard/SublimePHPCompanion. But I'm having a hard time with the import_namespace command. I have set the key bindings as:
{ "keys" : ["f4"], "command": "import_namespace" }
But when I execute this command, its not generating proper namespaces. For example, in app/Foo.php, it generates the following namespace:
namespace C:\wamp\www\laravel\test1\app;
where it should be:
namespace App;
Again, in app/Http/controllers/FooController.php, it generates the following namespace:
namespace Http\Controllers;
where it should be:
namespace App\Http\Controllers;
Does any one know how to make this command work properly?