Jared Heinrichs

  • Technology Blog
  • Winnipeg Computer Repair
  • Winnipeg Photographer
  • Cooking With Jared
You are here: Home / Programs / Netbeans / How to use Dreamweaver snippet like features in Netbeans

Jun 7, 2010 By Jared Heinrichs Leave a Comment

How to use Dreamweaver snippet like features in Netbeans

This post will cover how to use Dreamweaver like snippet feature in the Netbeans IDE. I recently found out about Dreamweaver snippets and fell in love with them.

First off “Snippets” in Netbeans are called “Code Templates” but I will use the two terms interchangeably. *NOTE* The one thing I wish Netbeans did have is drag and drop access to it’s snippets. Dreamweaver has this functionality and I find it very useful.

Let’s go setup your first Netbeans Code Template.

Go to “Tools-Options”.

image

Then go to “EDITOR – Code Templates”. Make sure you specify the programing language you want to the template to be valid in. I’ve selected HTML in our case.

image

Click “New” button. After you do that window will popup. It will ask you what you want to type to use the code snippet. I chose “form”. Hit Ok.

image

You should now see “form” has been created. You must now enter the code that you want to be automatically displayed when you type “form”

image

Fill out the code you want to use.

image

Make sure to note what the “Expand Template on:” key is. In my case I select “Tab”.

image

Hit OK.

Now try it out.

In the body of the HTML document type “form” and then hit the TAB key. Voila! Instant form with barely any coding at all! 🙂

For some extra reading you might like this as well: Netbeans Code Template Module Tutorial

Filed Under: Netbeans Tagged With: How To

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Board Game Rules
  • Camera
  • Computer Hardware
    • Blackberry
    • drivers
    • iPad
    • Magic Jack
    • USB
  • Damn Small Linux
  • Exam Notes
  • Facebook
  • FREE Flashcards
  • Games
    • PC
      • League of Legends
    • Wii
    • xbox 360
  • Music
  • Networking
    • Cisco Certification
    • Mitel
    • Palo Alto Firewall
  • News
    • Google
    • Microsoft
  • Operating System
    • Active Directory (2003)
    • Android
    • Command Prompt
    • Damn Small Linux
    • Group Policy
    • Hyper-V
    • IIS
    • ISA 2006
    • Mac OS X
    • Microsoft Exchange Server
    • Powershell
    • Security
    • SME Server
    • Terminal Server 2003
    • Ubuntu Linux
      • Adito Web SSL VPN
      • OpenVpn-als
      • Webmin
    • Virtual Machine Manager
    • Windows 2003 SBS
    • Windows 2003 Server
    • Windows 2008
    • Windows 2008 R2
    • Windows 2012R2
    • Windows 7
    • Windows 8
    • Windows Command Line
    • Windows Deployment Services
    • Windows Server Backup
    • Windows Vista
    • Windows XP
  • Phones
  • Photography
  • Photos
    • Animals
    • Misc
    • Nature
    • Portraits
  • Portfolio
  • Programming
    • CSS
    • HTML
    • jQuery
    • MySQL
    • PHP
    • Script
  • Programs
    • Acrobat
    • Acrobat Reader
    • Adobe Dreamweaver
    • Adobe Illustrator
    • Adobe Photoshop
    • Anti-virus Software
    • Antivirus
    • Backup Exec
    • Bittorent
    • Blackberry BESADMIN
    • Internet Explorer 9
    • Lightroom
    • Microsoft Office
    • Netbeans
    • Onenote
    • Outlook
    • Shelby
    • Sysprep
    • Trend
    • Video Editing
    • Visual Studio
    • Windows Live Writer
    • WireShark
    • XP Mode
    • Zarafa
  • Recipe
  • Review
  • Software Links
  • Troubleshooting
  • Uncategorized
  • Videos
  • Web Applications
    • Brage
    • Google
    • Spiceworks
    • Wordpress
  • Web Browsers
    • Internet Explorer
  • Web Server
    • XAMPP
  • Winnipeg
    • ISP

Try searching this site!

Copyright © 2021 Winnipeg Web Design