I need to assign a custom extension to be recognized as a twig file in netbeans (\'blade.php\' as \'twig\' file and give me syntax highlighting and code completion appropria
As I can see the problem is more NetBeans-centric, so I would also suggest you to file a bug report to the NetBeans community.
Maybe in the future they can fix that issue. You may also link that question so they can see the user reactions.