如何将Laravel的旧路由样式自动更改为使用VSCODE的Laravel 9中的新样式?

发布于 2025-01-24 21:28:09 字数 506 浏览 0 评论 0原文

您好,我面临的问题是将Laravel项目的旧路由样式更改为新样式。但是,由于我的路由文件的大小,我将花费大量时间来更改所有这些。因此,我希望示例正则代码使用查找/替换为VSCODE自动进行vscode。

旧样式图像:

“在这里输入图像描述”

图像新样式想要:

”在此处输入图像描述”

Hello I am facing a problem which is to change the old routing style of a laravel project to the new style. But due to the size of my routing file it will take me a lot of time to change all this. So I would like a sample regex code to use find/replace fonction into vscode to do it automatically.

Old style image :

enter image description here

Image new style wanted:

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

半暖夏伤 2025-01-31 21:28:09

我通过使用vscode的查找/替换函数找到了解决方案,例如

”在此处输入图像说明”

I found the solution by using the find/replace function of vscode like this

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文