-
Notifications
You must be signed in to change notification settings - Fork 917
include php blade plugin in php cluster #7618
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
base: master
Are you sure you want to change the base?
Conversation
|
First of all, thank you for your contribution!
Unfortunately, it's too late. The feature freeze date is July 26th. Please write all features of this module with screenshots here as well. (not only the link) Please add unit tests for features. e.g. code completion, indexer, navigator, parser, lexer, formatter etc. (also see: CslTestBase.java) Did you submit an ICLA? Probably, it takes a lot of time to review this. |
php/php.blade/src/org/netbeans/modules/php/blade/editor/BladeBracesMatcher.java
Outdated
Show resolved
Hide resolved
php/php.blade/src/org/netbeans/modules/php/blade/editor/BladeDeclarationFinder.java
Outdated
Show resolved
Hide resolved
php/php.blade/test/unit/src/org/netbeans/modules/php/blade/syntax/antlr4/BladeUtils.java
Outdated
Show resolved
Hide resolved
php/php.blade/test/unit/src/org/netbeans/modules/php/blade/syntax/antlr4/BladeUtils.java
Outdated
Show resolved
Hide resolved
|
Hi, |
php/php.blade/test/unit/src/org/netbeans/modules/php/blade/syntax/antlr4/BladeUtils.java
Show resolved
Hide resolved
php/php.blade/src/org/netbeans/modules/php/blade/ui/options/BladeOptionsPanel.form
Show resolved
Hide resolved
php/php.blade/src/org/netbeans/modules/php/blade/ui/options/BladeOptionsPanel.java
Show resolved
Hide resolved
php/php.blade/src/org/netbeans/modules/php/blade/ui/options/BladeOptionsPanelController.java
Show resolved
Hide resolved
php/php.blade/src/org/netbeans/modules/php/blade/ui/options/Bundle.properties
Outdated
Show resolved
Hide resolved
php/php.blade/test/unit/src/data/testfiles/coloring_lexer/issues/issue61/issue61.blade.php
Show resolved
Hide resolved
...t/unit/src/org/netbeans/modules/php/blade/syntax/antlr4/BladeAntlrColoringLexerTestBase.java
Outdated
Show resolved
Hide resolved
...t/unit/src/org/netbeans/modules/php/blade/syntax/antlr4/BladeAntlrColoringLexerTestBase.java
Outdated
Show resolved
Hide resolved
|
How did you generate icons? (Are there icons based on something?) |
php/php.blade/src/org/netbeans/modules/php/blade/editor/ResourceUtilities.java
Outdated
Show resolved
Hide resolved
php/php.blade/src/org/netbeans/modules/php/blade/editor/ResourceUtilities.java
Outdated
Show resolved
Hide resolved
php/php.blade/src/org/netbeans/modules/php/blade/editor/EditorStringUtils.java
Outdated
Show resolved
Hide resolved
php/php.blade/src/org/netbeans/modules/php/blade/editor/EditorStringUtils.java
Outdated
Show resolved
Hide resolved
php/php.blade/src/org/netbeans/modules/php/blade/editor/EditorStringUtils.java
Outdated
Show resolved
Hide resolved
php/php.blade/src/org/netbeans/modules/php/blade/editor/indexing/PhpIndexUtils.java
Show resolved
Hide resolved
php/php.blade/src/org/netbeans/modules/php/blade/editor/indexing/QueryUtils.java
Outdated
Show resolved
Hide resolved
php/php.blade/src/org/netbeans/modules/php/blade/editor/indexing/QueryUtils.java
Outdated
Show resolved
Hide resolved
php/php.blade/src/org/netbeans/modules/php/blade/editor/indexing/QueryUtils.java
Show resolved
Hide resolved
…mpletion handler, parse, blade typed text interceptor
…ests, added more lexer tests
…ntainer class + refactor
…list, add license header in form files
…crease antlr version to 4.13.0
…d tokens, rename braces golden file for unix detection
…th standard parser flow
…ude work in progress components editor config
…rm file, move snippet parser outside of antlr package
…est blade functionality with external plugin, cleanup
afb7f17 to
2f91e30
Compare
Laravel is one of the most used frameworks in php, yet it still doesn't have support in Netbeans. (#7531 , #7231).
Mostly the main missing support is for blade templates syntax.
I've started to work on a plugin https://github.com/haidubogdan/netbeans-php-blade-plugin 3 years ago.
After using antlr as a lexer and parser, I found that scaling the plugin was much maintainable.
It's not the cleanest code, but I realized that I will always reach to the 99% finish status if I don't do the first pull request.
TODO
Main features
Custom directives
Project -> Properties -> Laravel Blade -> Custom Directives
Just add the php file where you added the custom directive implementation as in https://laravel.com/docs/10.x/blade#extending-blade.
Views folder
If you use blade templates outside of the generic laravel framework or have custom templates folders you can configure them for a project.
This will help the yield and view path completion
Global declaration finder for views paths
Possiblity to go to declaration finder for string parameters inside
render,make,viewmethods.Reformat and indentation
Experimental formatting and indenting
blade components
Limited completion and declaration finder
Config to set paths of the components class implementation for autocomplete & declaration finder.