"Donald F. McLean" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Say you have:
>
> "ab|cd"
>
> (where | is the cursor location)
>
> Invoke break string function and get:
>
> "ab" + | + "cd"

If you want this feature now, you can implement it with this live template:

  Abbreviation:  +
  Description:   break string
  Template text: " + "           [the quotes are part of the template]
  Expand with:   Default (Tab)
  Context:       Java string

Then, if you have --> "ab|cd"

you can type "+" and hit tab and get --> "ab" + "cd"


Some similar live templates:

  Abbreviation:  +v
  Template text: " + $V$ + "

  turns this --> "ab|cd"
  into this  --> "ab" + | + "cd"



  Abbreviation:  ,
  Template text: ", "

  turns this --> "ab|cd"
  into this  --> "ab", "cd"



  Abbreviation:  ,v
  Template text: ", $V$, "

  turns this --> "ab|cd"
  into this  --> "ab", |, "cd"


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to