4

I'm looking for a tool which can create, manage and store snippets. Moreover I want this tool can "write" snippets in any text-editor : notepad, SQL Server Management Studio, Visual Studio, Word etc. when typing shortcut.

For example,

  • I create a new snippet in my tool :
    • Shortcut : .fch
    • Snippet : foreach(var i in item) {}

I open Notepad and Word: if I tape ".fch" in one of these editors the .fch sequence is replaced by the snippet.

I don't want a tool which works with drag'n'drop.

Is there a tool like this?

1
  • Safe to assume Windows?
    – Daniel Beck
    Commented May 15, 2011 at 20:19

1 Answer 1

2

Okay, the one you want is autohotkey, it can create hotstring pretty fast and easy and it works exactly like you want.

Some example:

::.fch::foreach(var i in item) {}
3
  • I have a conflict with some soft with the TAB key, Is there any way to change the TAB key by another one ?
    – Florian
    Commented May 16, 2011 at 8:17
  • as default, you can use space, it expands too. Commented May 17, 2011 at 12:21
  • You can also use the hotstring macro to change the trigger characters ahkscript.org/docs/commands/_Hotstring.htm #Hotstring EndChars -()[]{}':;"/\,.?!n t Commented Feb 5, 2015 at 22:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .