Some details for @Ferie's answer:
I really could not install Cetriolo on Netbeans 8.2.
Manual installation instructions for Cucumber functions (since automatic installation is not available):
Download the .nbm file by clicking the Download button at http://plugins.netbeans.org/plugin/17939/cucumber-features
In Netbeans, go to Tools> Plugins> Downloaded> Add Plugins ... and open the .nbm file.
Click Install
After restarting Netbeans, you should see syntax highlighting in .feature files.
Here's a feature request for Netbeans to enable Behat support out of the box: https://netbeans.org/bugzilla/show_bug.cgi?id=226804
source share