{"action":"created","issue":{"url":"https://api.github.com/repos/Haehnchen/idea-php-laravel-plugin/issues/30","labels_url":"https://api.github.com/repos/Haehnchen/idea-php-laravel-plugin/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/Haehnchen/idea-php-laravel-plugin/issues/30/comments","events_url":"https://api.github.com/repos/Haehnchen/idea-php-laravel-plugin/issues/30/events","html_url":"https://github.com/Haehnchen/idea-php-laravel-plugin/issues/30","id":60466613,"number":30,"title":"Navigation to view in custom view folder without namespace Problem","user":{"login":"Samyyno1","id":2117838,"avatar_url":"https://avatars.githubusercontent.com/u/2117838?v=3","gravatar_id":"","url":"https://api.github.com/users/Samyyno1","html_url":"https://github.com/Samyyno1","followers_url":"https://api.github.com/users/Samyyno1/followers","following_url":"https://api.github.com/users/Samyyno1/following{/other_user}","gists_url":"https://api.github.com/users/Samyyno1/gists{/gist_id}","starred_url":"https://api.github.com/users/Samyyno1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samyyno1/subscriptions","organizations_url":"https://api.github.com/users/Samyyno1/orgs","repos_url":"https://api.github.com/users/Samyyno1/repos","events_url":"https://api.github.com/users/Samyyno1/events{/privacy}","received_events_url":"https://api.github.com/users/Samyyno1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Haehnchen/idea-php-laravel-plugin/labels/todo","name":"todo","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-10T08:38:43Z","updated_at":"2015-12-05T12:47:31Z","closed_at":"2015-12-05T12:47:31Z","body":"When i have a view in a custom folder like `app/someFolder/views` and add that folder in the settings without a namespace and then use an `@include(\"app.somFolder.views.myview\")` and then try to navigate to that view using `ctrl + click` then I get a `Not found` message. BUT if i change the include like so `@include(\"::app.somFolder.views.myview\")` it works, but then processing of the template doesn't work. After looking into the sourcecode I found the problem: \r\nIn the file `/src/de/espend/idea/laravel/view/ViewCollector.java` on line `83` there is a check wether the `namespace` entry is NULL. If i don't enter any namespace in the configuration then the namespace isn't NULL because it is represented as namespace=\"\" in the `laravel-plugin.xml` resulting in not being null.\r\nMy current workaround is to edit the `laravel-plugin.xml` and remove the empty namespace attribute what \"fixes\" the problem.\r\nChanging the source to check whether the namespace is empty or not instead of checking for just NULL would be cleaner since the user has no possebility whatsoever to set the namespace to NULL only using the settings."},"comment":{"url":"https://api.github.com/repos/Haehnchen/idea-php-laravel-plugin/issues/comments/162178859","html_url":"https://github.com/Haehnchen/idea-php-laravel-plugin/issues/30#issuecomment-162178859","issue_url":"https://api.github.com/repos/Haehnchen/idea-php-laravel-plugin/issues/30","id":162178859,"user":{"login":"Haehnchen","id":1011712,"avatar_url":"https://avatars.githubusercontent.com/u/1011712?v=3","gravatar_id":"","url":"https://api.github.com/users/Haehnchen","html_url":"https://github.com/Haehnchen","followers_url":"https://api.github.com/users/Haehnchen/followers","following_url":"https://api.github.com/users/Haehnchen/following{/other_user}","gists_url":"https://api.github.com/users/Haehnchen/gists{/gist_id}","starred_url":"https://api.github.com/users/Haehnchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haehnchen/subscriptions","organizations_url":"https://api.github.com/users/Haehnchen/orgs","repos_url":"https://api.github.com/users/Haehnchen/repos","events_url":"https://api.github.com/users/Haehnchen/events{/privacy}","received_events_url":"https://api.github.com/users/Haehnchen/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T12:47:31Z","updated_at":"2015-12-05T12:47:31Z","body":"fixed"}}