Adam Bien's Weblog

Using Netbeans v6.1 as a HTML Editor

In the past I used a mix of Ultraedit, JEdit to keep my homepage up to date. Since the upgrade to Vista, the old ultraedit version doesn't work any more, the jedit editor has some problems with context menu. Because Netbeans v6 is open most of the time anyway - I tried to use as as a plain (HTML) editor - and it works surprisingly well. Instead of setting up a project, I just use the favorites (you have to open the view with Strg+3 or menu -> window -> favorites). In the favorites view, you have just to add the root of your homepage with the context menu (right mouse click: "Add To Favorites"). 

After this initial setup, you will be able to use the HTML editor with full "auto completion" and documented HTML-tags. The context menu "view" opens the browser for preview, which is convenient as well.

The HTML editor is really fast, with nice syntax highlighting and CSS support. Beyond that you can even preview the images - just double clicking on it. Netbeans 6.1 comes even with JavaScript support, which is handy.

NEW workshop: HTML 5 and JavaScript Essentials, Three days in April 2017: from Java EE 7 Architectures over Microservices to Performance, Troubleshooting and Monitoring
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.


A book about rethinking Java EE Patterns


Yes, it works fine for HTML editing. I'm using it as well. The reason is the same as yours - to lazy to switch to different application

Posted by Lukas on March 13, 2008 at 01:32 PM CET #

Hi Lukas,

it is really working very well. There is even a Vista feature (the first useful :-)), which makes it even better: you can easily map in Vista FTP-Folders as folders. You can refer then to this folder from favorites as well.
Thanks for your comment!,


Posted by Adam Bien on March 13, 2008 at 01:53 PM CET #

Thanks for reminding me of the "Favorites" feature in NetBeans. I was being mentioned during NetCAT but never looked into the usefulness. Now I just might use NetBeans for non-java HTML crafting.

Posted by Allan Lykke Christensen on March 16, 2008 at 01:34 AM CET #


no problem -> just send me your NetCAT T-shirt :-).

"Favorites" is a really great feature - I use it since a participant of a JUG talk mentioned it...



Posted by on March 16, 2008 at 04:38 PM CET #

Thanks for the info on the favorites, should make site editing much easier on NB. I currently use Jedit for most of my html.

To make NB a complete solution for me, is there a good php plugin for syntax highlighting etc?

Posted by Chris Marsh on March 17, 2008 at 09:50 PM CET #

Hi Chris,

I am no php programmer but i have seen that Netbeans does have PHP plugins. I am using the development version of 6.1. Check under Tools-Plugins.


Posted by mircea on March 17, 2008 at 11:17 PM CET #


Posted by Jorge on April 22, 2008 at 10:19 PM CEST #

Thanks for leaving this post, I thought the 'projects' function was a bit annoying when using Netbeans, so thanks for pointing out how to use *Favourites*, Much appreciated and it works well.



Posted by Andrew on November 19, 2008 at 01:09 AM CET #


I found your post looking to see if there was a visual HTML editor plug in for NetBeans.

I use NetBeans a lot too and use it for some plain HTML sites as well.

I'd like to suggest an improvement to using Favorites that I found.

One of the reasons I wanted to use NetBeans was to use the built in versioning system support such as SVN. If you just use Favorites, you can't use versioning.

Now that NetBeans 6.5 has support for PHP projects, you can create a PHP project for HTML websites and get more features such as version support and being able to test your website from within netbeans.

If you don't want to create a seperate project for each website, you can create one project and create subdirectories for each one. But I would recommend creating a separate project for each. It's not that big a deal.

Posted by HTNMMO on December 27, 2008 at 05:57 AM CET #

Hi there, thanks for your info. I'm using Notepad++ to edit HTML but may give this editor a try.

Posted by CuocThiSEO - VietSEOGuy on January 09, 2009 at 04:25 PM CET #

I just went to the NetBeans download page. Which package do I choose to get the HTML editor, because I can't see HTML anywhere.

Posted by Seb on April 12, 2010 at 09:06 PM CEST #

it is really working very well. There is even a Vista feature (the first useful :-)), which makes it even better: you can easily map in Vista FTP-Folders as folders. You can refer then to this folder from favorites as well.
Thanks for your comment!,

Posted by streamlight flashlights on June 10, 2010 at 05:08 PM CEST #

this is quite useful
with regards

Posted by sreelakshmi prasad on April 12, 2012 at 03:16 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
Online Workshops
...the last 150 posts
...the last 10 comments