To work on the Linux environment with Netbeans and Arduino, editiing a .c file is required in stead of a .ino file.
The work will be done in the .c file and for Arduino a symbolic link is used as the .ino
So if you would normally have a sketch called access_point.ino, then rename it to access_point.c. Then make a link for the .ino file with this command.
ln -s access_point.c access_point.ino
Now the coding features should work in the Netbeans IDE and Arduino gets its .ino file.
Resources for tighter integration (compilation and upload) http://playground.arduino.cc/Code/Netbeans https://dzone.com/articles/arduino-development-using