Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to get HTML tag autocompletion in Netbeans IDE?

I just installed Netbeans 6.7 for Ruby and one of the things that bugs me is I have to type both the opening and closing HTML tags even though it seems to recognize that I have completed the opening tag.

Is it possible to configure it to automatically type the closing HTML tag for you, as some other IDEs do?

like image 883
Joe O'Driscoll Avatar asked Oct 13 '09 05:10

Joe O'Driscoll


People also ask

How do I turn off suggestions in NetBeans?

If you go into NetBeans > Tools > Options > Editor > Code Completion, you can check or uncheck "Auto Popup Completion Window" for whatever Languages you want.


2 Answers

I don't recall how to configure it as it's been a while since I've used NetBeans (switched to TextMate), but I do remember that I would get html autocompletion. Perhaps NetBeans is not recognizing the file as HTML and therefore the HTML functions aren't available. Make sure it's recognized the file as RHTML/ERB. If you're typing HTML inside an RB file, you might not have access to HTML functionality.

like image 186
insane.dreamer Avatar answered Sep 23 '22 23:09

insane.dreamer


I know this question is old, and this didn't exist at the time, but Netbeans 7.3 has great HTML support now, with auto complete and documentation.

like image 21
lopsided98 Avatar answered Sep 22 '22 23:09

lopsided98