3

Use PhraseExpress to Shorten Variables & Code [Tips & Tricks]

Posted December 8th, 2009 in Tips & Tricks and tagged , by John Coppedge

I am typically not doing a ton of programming, but when I do I like to use meaningful (long) variable names, and frequently mistype them.  Woe was me, until…

I type: pb# and the code is translated automatically.

image

The configuration is really simple:

image

So far I have used this mostly for shortening email addresses, company names, and URLs.  But when I fired up a DE tonight for some light code testing it hit me that this could be a huge time/pain saver for you heavy coders out there.

PhraseExpress is Windows only (Mac users can try TextExpander), free for non-commercial use, $49.95 otherwise. 

Note: PhraseExpress v7 was recently released, includes Windows 7 support and new features.

3 Responses so far.

  1. AmberNo Gravatar says:

    If you’re a Mac user, I find TextExpander to be super useful for the same thing!

  2. MichaelNo Gravatar says:

    Hi,

    thanks for mentioning our software.

    Just a quick hint: If you add {#cursor} between the tags, the cursor will automatically positioned between them.

    ;-)

    See http://manual.phraseexpress.com#cursor

    You can find even more tips and tricks about PhraseExpress in our blog at http://www.text-expander.com

    Michael
    PhraseExpress Team
    http://www.phraseexpress.com

  3. John CoppedgeNo Gravatar says:

    Thanks Michael, great tip!

    Changing my code block to:

    apex:pageBlock
    {#cursor} <<— cursor here after auto-text triggered
    /apex:pageBlock

Leave a Reply