Giter VIP home page Giter VIP logo

laravel-goto-controller's Introduction

๐Ÿ‘‹ Am Muhammed aka.@ctf0, a self taught musician/designer/writer & developer from Cairo/Egypt.

๐ŸŒฑ Building Bridges.

๐Ÿ“ซ Get in touch @[email protected]

laravel-goto-controller's People

Contributors

ctf0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

laravel-goto-controller's Issues

Extension not working anymore

Hi,

For last couple of months I noticed that extension is not working for me.

Routes are written in old traditional way:
Route::get('admin/users', 'AdminController@users');

But are not underlined anymore and not clickable.

VSC Version: 1.74.3
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T16:57:40.428Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 5.15.85-1-MANJARO
Sandboxed: No

Doesn't work with `::class`-style routes

I'm unable to make it work with the ::class based syntax of Laravel. I'm using Laravel 10.9.0. My routes look like this:

Route::get('/', [IngredientController::class, 'index']);

Clicking on the controller name takes me to the controller file, but clicking on method name doesn't do anything. I'm using VSCode 1.78.2. I have also checked routelistcommand setting and it is correctly set to artisan route:list --json.

I have tried both api.php and web.php and it doesn't work in either.

Command failed with exit code 1 at OUTPUT

Hello,

I've got at OUTPUT console

Command failed with exit code 1: php artisan route:list --columns=uri,name,action,method --json
The "--columns" option does not exist.

looking at the description, this happen because the extension thinks the laravel version is below 9.
but the laravel version is actually 9.*

at composer.json
"laravel/framework": "^9.19",

php artisan --version
Laravel Framework 9.52.7

Best regards

Not working on all resourse route

I have declared these two routes with namespace, but in one it recognizes it, but when I add a new route, with new namespace, it doesn't recognize the got route, any option to reload or something?

I already tried:

  • restart code
  • reinstall the extension

image

P.D:

  • Fedora 36 x86_64
  • Gnome Xorg
  • Code Version: 1.69.2

Dont work with groups?

example:

Route::name('shared.')->prefix('/shared')->middleware('auth')->controller(SharedController::class)->group(function () {
    Route::get('/states', 'states')->name('states');
    Route::get('/convenios', 'convenios')->name('convenios');
});

Not working, I think

I am using Laravel 8 and no link is shown in my routes.

For example:

Route::middleware(['auth:sanctum', 'verified', 'profile:admin,user'])->post('/list', 'App\Http\Controllers\List@select_data');

When I hover over the controller App\Http\Controllers\List@select_data no link appear. Or am I using it wrongly? The github README lack some usage information.

Thanks.

How to use ?

I have installed please help me with how can I use it.

Support more route format

I found that it can also be used in the Hyperf framework. Can you support this format: "Router::get('/bar', 'FooController::bar');" with double colons separating the components?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.