Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel detect #5965

Closed
Guilherme-fagundes opened this issue May 19, 2023 · 7 comments
Closed

Laravel detect #5965

Guilherme-fagundes opened this issue May 19, 2023 · 7 comments
Labels
kind:feature A feature request needs:triage Requires attention from one of the committers PHP [ci] enable extra PHP tests (php/php.editor)

Comments

@Guilherme-fagundes
Copy link

Description

When using larabel, the blade template is not supported, and the facades options do not appear in the controllers. I believe this could be implemented or improved

Use case/motivation

I want netbeans to be on the same level as phpstorm

Related issues

No response

Are you willing to submit a pull request?

No

@Guilherme-fagundes Guilherme-fagundes added kind:feature A feature request needs:triage Requires attention from one of the committers labels May 19, 2023
@junichi11 junichi11 added the PHP [ci] enable extra PHP tests (php/php.editor) label May 20, 2023
@Chris2011
Copy link
Contributor

For blade there is a plugin for this: https://github.com/haidubogdan/netbeans-php-blade-plugin we should treat this like other PHP frameworks to add blade support just if we enable this framework. But this should be part of a laravel plugin.

@parallels999
Copy link

It would be great if it had full laravel support

@Chris2011
Copy link
Contributor

@parallels999 someone needs to define what full laravel support means. If you want to help to make Apache NetBeans better, please form a document what helps all of us to dive into it. As I mentioned above there is already a plugin for this, with good support (I guess) please test it and make tickets at the other repo if it is related to the plugin.

@parallels999
Copy link

The plugin only handles blade files, for example, on laravel there is view paths point separated view('root.folder.blade_file')
There is no Ctrl + Click, no folder autocomplete, for that path, because it is only an string for netbeans
The blade plugin does a great job with these types of paths, but only on blade directives on a blade file
image

please form a document what helps all of us to dive into it

That would be the main problem, I don't think anyone has enough knowledge to do it. If I had more knowledge I would be happy to do it.

@parallels999
Copy link

parallels999 commented Apr 1, 2024

CTRL + Click
use
autocomplete paths
screenshot-view
config paths, there is files with array, so they are array assoc paths laravel/laravel/config
screenshot-config
route paths, laravel has route files, laravel/laravel/routes
screenshot-route
Translations and translation parameters, Laravel/laravel/lang/en
screenshot-trans

Laravel also has a list of commands to create models, controllers and others, for example

php artisan make:model Flight

code templates for laravel could be added

@Chris2011
Copy link
Contributor

@parallels999 this would be better to make a discussion ticket. Or, we also have a wiki, just create an account and add a detailed paper there: https://cwiki.apache.org/confluence/display/NETBEANS/Feature+Request+Outlines

@Chris2011
Copy link
Contributor

Closing this in favor of this discussion: #7231

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:feature A feature request needs:triage Requires attention from one of the committers PHP [ci] enable extra PHP tests (php/php.editor)
Projects
None yet
Development

No branches or pull requests

4 participants