Code Snippets

17 Feb 2011

I would love to some day see a code snippet function in the compiler. Many IDEs contain this feature. There are many things that (for example) I always add into a new program when I start one. It would be great to have a snippet slide out drawer (whatever you want to call it) where I can double click a named snipped (or right click to edit) and that would insert my snippet code where the cursor is.

This would allow me to set up my new programs the way I like to start out, duplicate functions that I have written in other programs, quickly add in my favourite starting comment format, etc., all without having to track it down in code somewhere and use copy and paste.