ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

best code snippet tool that works with any program

(1/2) > >>

kmkmdon:
Hi everyone.

Wondering what you guys are using, if any, for storing code snippets. I'd like to able to type a keyword and hit a special keyboard shortcut and voila, my code snippet is pasted into whatever application window I'm typing in. It would be best if it would let you define parameters that can change within the snippet. I mainly need this when I write ad-hoc SQL queries but love to be able to use it in any application.

Any suggestions? Thanks

c.gingerich:
Phrase Express is the one I hear most often

kmkmdon:
I was looking for a for free / open source version. The closest simple app I got word expander http://www.wordexpander.net which does not support variables unfortunately. The other option is ArsClip http://www.joejoesoft.com/vcms/97/ but it is more of a clipboard manager application though it has permanent clip feature with variables and also hard to grasp at once. Others are AutoHotKey type applications.

There does not seem to be any simple dedicated free snippet code manager with variable support out there. Maybe @mouser or someone from this community will take the challenge.

rjbull:
other option is ArsClip http://www.joejoesoft.com/vcms/97/ but it is more of a clipboard manager application though it has permanent clip feature with variables and also hard to grasp at once.-kmkmdon (August 20, 2014, 02:58 PM)
--- End quote ---
ArsClip is great, but I haven't tried it with variables.  There are many threads on DC about text expanders...  some of them heated.

There does not seem to be any simple dedicated free snippet code manager with variable support out there.-kmkmdon (August 20, 2014, 02:58 PM)
--- End quote ---
You might check out Konrad Papala's Ka Type In, which is free, but I don't know if its concept of variables matches yours, and it's getting quite old:
Ka Type In lets you define frequently used text snippets, ready to be typed into any application, document, web form. Just create a set of items, like e-mail addresses, zip code, phone number, etc. and you'll never have to type it again. The application can also auto-complete sentences, for example you can enter "Bes" and hit Ctrl+; (customizable) to expand it to "Best regards...".

In addition, you can create more sophisticated templates - with variables, which will cause a form to be shown, enabling you to setup those variables.
--- End quote ---

kmkmdon:
just checked out Ka Type In. That's exactly the type of application I was looking for. Unfortunately it worked in notepad but failed in SSMS query window. Any other suggestion similar to this?

Navigation

[0] Message Index

[#] Next page

Go to full version