'Netbeans customize laravel blade commands color
I have been working on a Laravel project and was able to implement the code completion from the IDE Helper. What I am trying to find is a way to customize the color scheme for BLADE commands. Right now they are treated by Netbeans as plain HTML texts.
@extends('components.basic')
@section('html-title')
Welcome to Laravel
@endsection
@section('main-content')
<h1>Hello World!</h1>
@endsection
Solution 1:[1]
Hi as Netbeans is a open source app, it depends on the community to have overall features.
So, I've worked on developing a plugin for it :) . It works for netbeans > 12.2 and it's on github https://github.com/haidubogdan/netbeans-php-blade-plugin
and the latest release at the moment (2022-04-18) is : https://github.com/haidubogdan/netbeans-php-blade-plugin/releases
The plugin file which needs to be installed in netbeans is the *.nbm file.
Note: It's still a work in progress, so features like auto-formatting or identation for blade files is not implemented yet. Due to this it's not ready to be deployed as a official plugin for the moment.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Bogdan Haidu |