Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Feature Request

Anonymous
2011-02-21
2013-05-20

  • Anonymous
    2011-02-21

    It would be really nice if immediately after a say a left curly bracket was entered and a right curly bracket was automatically inserted that that ctrl-right moved the new right curly bracket one word along. So if I had some code like…

    $value = function(0);

    and wanted to change it to
    if ($cond) {
        $value = function(0)
    }

    if could go the start of the line insert the condition and the opening {, and then I could then do  ctrl-rights  till the right bracket had gone past the statement.

    Steve

     
  • Oliver Trosien
    Oliver Trosien
    2011-02-21

    Now, if you had the code
    "$value = function(0);"
    and wanted to wrap that into an if statement, just add
    "if (cond)" 
    on top, select the statements you want to wrap (shift + down) and press curly brace… It's just as easy as that.

    Oliver

     

  • Anonymous
    2011-02-22

    When I do that all I get is a pair of {}s at the start of the line. As we me may be getting in to bug territory here then I should say I'm on Fedora 13, eclipse 3.5.2  EPIC 0.6.35.