freshbitsweb / laravel-traveller

VS Code extension to travel through your Laravel app by just clicking on links.
5 stars 0 forks source link

Not working in api.php file #6

Closed ilejohn closed 3 years ago

ilejohn commented 4 years ago

I love the preview and I've installed the extension but when I go to my routes in the api.php file, it isn't working as the demo shows it should. Please what could be wrong?, is there a setup neccesary for its implementation or is there another extension taking precedence over it?

gauravmak commented 4 years ago

Can't say anything. There is no setup required. Try in a fresh Laravel app and also check Console for any errors.

ilejohn commented 4 years ago

ok, do you know of possible setup from other extensions that could hinder it from working. e.g alt + click may possibly be responding to another shortcut command on another extension and so hinder that of laravel-traveller

gauravmak commented 4 years ago

Nop. Please update here if you find anything, thanks.

ThaDaVos commented 4 years ago

I am having the same issue - no links shown, not in api.php and not in web.php - can't find any errors or logging by the extension

ThaDaVos commented 4 years ago

I just found this in the global log: image at: .vscode-server/extensions/freshbitsweb.laravel-traveller-1.10.1/dist/extension.js:6:111055 Why not have a log specific for the extension like many others do?

ilejohn commented 4 years ago

I recently had to re install my OS and so downloaded vscode afresh and also installed the extension and still not working. This time around it shows loading... when I hover round the controller@action parameter of the Route method in the api.php file

gauravmak commented 4 years ago

Can you guys please share your route file contents? Keep it to a minimum routes that's not working.

mohammad6006 commented 3 years ago

web.php and api.php not work

[2020-11-09 19:06:23.225] [exthost] [error] [freshbitsweb.laravel-traveller] provider FAILED
[2020-11-09 19:06:23.234] [exthost] [error] TypeError: Cannot read property 'kind' of undefined
    at E.traverseChildren (c:\Users\mohammad\.vscode\extensions\freshbitsweb.laravel-traveller-1.10.1\dist\extension.js:6:111055)
    at E.parse (c:\Users\mohammad\.vscode\extensions\freshbitsweb.laravel-traveller-1.10.1\dist\extension.js:6:110217)
    at y.provideDocumentLinks (c:\Users\mohammad\.vscode\extensions\freshbitsweb.laravel-traveller-1.10.1\dist\extension.js:6:112473)
gauravmak commented 3 years ago

@mohammad6006 Can you please share your route file contents? Keep it to a minimum routes that's not working.

mohammad6006 commented 3 years ago

@mohammad6006 Can you please share your route file contents? Keep it to a minimum routes that's not working.

<?php

use Illuminate\Support\Facades\Route;

Route::get('/','frontController@homePage')->name('homePage');
gauravmak commented 3 years ago

Works well for me. And looking at AST, I don't anticipate the error property kind of undefined.

Screenshot-from-2020-11-13-16-45-20

ilejohn-official commented 3 years ago

Kindly uninstall and then do a fresh install video tutorial on this from start to stop and share the link. As you can see, complaints are coming from different people. Thanks @gauravmak

gauravmak commented 3 years ago

@ilejohn-official here it is https://streamable.com/xb79g3

ilejohn-official commented 3 years ago

@ilejohn-official here it is https://streamable.com/xb79g3

Thanks