Avatar of Ricky Nguyen
Ricky Nguyen
Flag for Australia asked on

VS Code ugly display of route:list

Hi Experts,

I not sure what I've done to my editor but its showing really messed up formatting of my route:list. Please see below image of what happens when I run php artisan route:list.

route-list.PNG
Does anyone know how to fix this? How do I get the columns to be distributed correctly?

Thanks,
Ricky
LaravelPHPEditors IDEs

Avatar of undefined
Last Comment
ste5an

8/22/2022 - Mon
ste5an

Use a smaller font or a larger screen or deactivate wrap long lines..
Ricky Nguyen

ASKER
Hi ste5an,

Thanks for your reply but I don’t believe that’s the problem. As you can see the font is small already.

How do you deactivate wrap long lines?

The table display sensibly not too long ago but not sure if I’ve touched something with VS code settings for it to begin displaying the table like that.
Regards,
Ricky
ste5an

A the terminal you can only fix it by changing the font size, cause the terminal does line wraps when needed.

The only meaningful thing: pipe the commands result to a file and view that file in VS Code.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Ricky Nguyen

ASKER
Hi ste5an, thank you for your input.

When I run the following, my terminal can display the route:list properly again without having to change the font size.
php artisan optimize:clear
php artisan config:clear

Open in new window

Cheers,
Ricky
ASKER CERTIFIED SOLUTION
ste5an

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.