syntax highlight
- fix IDE freeze (#65) on ternary operator, short if expr
code completion
- fix static method completion with namespace context
- limited go to file + completion for vite assets (#64), decl finder fixes + refactor for Php
- fix comment highlight issue (#62) in directive php expression, improvements on php namespace completion
- fix livewire component formatting, display namespace path on class method completion
- detect namespace path on directives php expression
- fix directive completion before double quote html, add attr directive to completion list
- fix issue 57 formatting with optgroup
- configurable declaration finder for view paths
- fix extra
cursor
text on@foreach
autocomplete
- autotag completion is true by default
syntax highlight
- fix issue #61
@endcan
breaks javascript highlight
completion
- autocompletion for blade tags. These can be configured from Project -> Properties -> Laravel Blade
formatting
- fix indentation for some html tags
completion
- move directive completion to ComplentionHandler trigger for better template insert
- add version of blade laravel for some directives
Package & releases
- using github actions to do releases and nbm generation : https://github.com/haidubogdan/netbeans-php-blade-plugin/blob/main/.github/workflows/maven.yml
- deleting nbm folder as all versions will be available in releases
antlr parser
- disable BuildParserTree for memory efficiency
filesystem
- fix #53 file duplication issue with
blade.php
extension
lexer
- refactor
parser
- enable empty blocks
lexer
- highlight fix for ':' freezing php expression
comment
- adjusting comment block toggle for multi emebedded tokens
lexer
- highlight fix for ':' freezing php expression
misc
- fix post color highlight for directives with no argument
lexer
- highlight fix for string content with html tags and ':' symbol for directive php expression
custom directives
- declaration finder goes to the declaration of custom directive
- fixes for custom directives from multiple files
parser
- fix parser error message for empty can block body
debugging
- adding logs to measure time
completion, declaration finder
- remove lock file on complete to avoid stuck behaviour
completion
- quick update to enable component completion from hardcoded paths
parser
- cleaning tokens sent to parser to speed up parsing process [wip]
lexer
- optimisation for lexer tokenization
- fixing
@media
directive
parser
Too much tokenisation can hurt. If the token is not necessary for the parser it should be skipped.
- cleaning tokens sent to parser to speed up parsing process [wip]
- revert changes on lexer, add a simple error token when detecting
identifier:identifier
or(:
tokens
components
- add
App\\Livewire
in the namespace register
lexer
- fix freezing embedding usecases by splitting the php expression embeded tokens (usually it breaks with
(:
) #25
components
- work in progress for autocompleting components with hardcoded paths
it will search for components found in :
App\\View\\Components
App\\Http\\Livewire
Illuminate\\Console\\View\\Components
indenting
- quick fix for tab indent blocked after html tag #47
hints
- disable warning path for namespace include
@include('base::my_comp')
parser
- regression with
@empty
block tag
lexer, formatting
- fixing formatting issues due to self clossing tags or special composer tags which contain
::
symbols - fixing
@section
formatting issue due to lack of separation between block and inline context - include standard html keyword attributes
debug
- add coloring lexer
completion, lexer, parser, navigator, formatting
- added
@session
directive
lexer
- fix component tag coloring
formatting
- enabled by default
- fixed bugs ~(almost stable version)
lexer
- adding some livewire pluging directives
navigator
- fix missing
@can
directive from navigator - add identifier info in navigator
formatting
- blade formatting and indenting flow (needs to be enabled from Project Properties -> Laravel Blade)
completion, brace matching
- added
@switch
directive +@can
and@default
declaration finder
- fix issue with constnant declaration finder
utils
- added token view action for debugging purpose
general
Trying some performance updates
- clean unused imports
- change scope of ParserResult variable
- remove ParserResult blade Index
- remove Blade Properties Instance when project closed
completion
- adding
$loop
variable, refactor scopedLoopVariable
indexing
- revert to the previous index nr
package
- increase netbeans libraries package to start from netbeans 18
hints
- added blade language option in hints config (might require check and uncheck in the Options -> Editor -> Hints)
parser
- fix parser error display for
@php
$x = \new Date();
@endphp
lexer
pre-release
- display custom lexer without arguments (#34 )
completion
- recognize path after folder for include path autocomplete (#41 )
parser
- fix parser error for
@auth
with no param - fix parser error for inline
@if
with directive which can work with or without arguments (ex:@continue
) - fix inline php parser error with EOF
completion
- include in completion
@foreach
,@endforeach
brace match
- add brace dynamic match for custom directives blocks
lexer
- fix lexer highlight for custom directives which starts with
@end
and have arguments
parser
- fix parser error for
@can
,@canany
,@append
completion
- include in completion
@can
brace match
- add brace match for
@section
...@append
,@can
...@endcan
parser
- fix parser error for
@json
,@dd
,@aware
completion
- include in completion
@json
- remove param from some endtags directives
NB IDE framework
- use deprecated method
hasStructureScanner
to avoid parser error
Full refactor.
Using antlr instead of jflex for lexer and parser code.
More info about what was added or removed can be found in README.md
Php Lexer update. Detect simple string (without php embedding) before the freeze pattern. Autocomplete for styling and html directives "@class, @style, @required ..."
Lexer update (fix). If a string pattern which freezes netbeans embeddings (class:::value) is detected and it starts with quote symbol, it will be displayed as a string.
fix blade comment autocomplete bug, extra closing comment statement.
refactor views autocomplete. cleaning unused code. fixing issues on text interceptors. parser issues for @include type directives. don't interpret css code with directives (ex: @media)
first Released