phptools-docs
phptools-docs copied to clipboard
Laravel Blade Editor
Hello again.
About the new version 1.44.14927 (pre-release)... (great additions by the way)...
Sugestions
- [ ] Space inside double curly braces:
{{ $nice }}not{{$meh}}. - [ ] Blade Snippets. Autocomplete for directives, global functions, etc.
- [ ] Autocomplete for route names.
- [ ] Blade Formatter. This would be awesome too, full blade format support.
- [ ] Go To Controller or Livewire componente or Blade component class, inside the view.
@trollfalgar: thank you for your feedback and your suggestions.
It is all planned;
One question -
Space inside double curly braces ...
What does it mean? is it related to the Blade Formatter?
@trollfalgar: thank you for your feedback and your suggestions.
It is all planned;
One question -
Space inside double curly braces ...
What does it mean? is it related to the Blade Formatter?
Would be perfect auto space in two situations:
- When type
{{or{!!, etc, automatically close with}}or!!}and add two spaces inside with the cursor at the middle to add the content. - When formating, basically add spaces around the content inside the braces.
There is a extension we are using just to do this: Laravel Blade Spacer.
Other feature interesting, is wrapper selected text inside a blade directive. Something like that:
Hello, I received a false positive on blade.php file with this code: @lang('pagination.message', ['actionText' => $actionText]) The error reported: Syntax error: unexpected token ','PHP(PHP2014) Thanks
Hello, I received a false positive on blade.php file with this code: @lang('pagination.message', ['actionText' => $actionText]) The error reported: Syntax error: unexpected token ','PHP(PHP2014) Thanks
I received this error too with @component directive.
Hello, I received a false positive on blade.php file with this code: @lang('pagination.message', ['actionText' => $actionText]) The error reported: Syntax error: unexpected token ','PHP(PHP2014) Thanks
I received this error too with @component directive.
Same error with @can directive
just released 1.44.14950 - fixes @can, @component, @lang (and some other tags with commas)