1 Replies Last post: Feb 6, 2013 3:37 PM by Denis Zhdanov  
Robert Bude Newbie 2 posts since
Feb 6, 2013
Currently Being Moderated

Feb 6, 2013 2:51 PM

multiple replace operations on selected parts of java code ?

Hi,

 

i very often have to do some steps for this:

 

from

 

String lala = "Such a boring Question about a simple Replace-Operation";

 

to

 

public static String lala = error_such_a_boring_question_about_a_simple_replace_operation="error_such_a_boring_question_about_a_simple_replace_operation";

 

Is there a plugin to do some sed operations or so with a text selection, to be undependent and use tools like sed, grep and so on on text selections ?

Denis Zhdanov JetBrains 1,526 posts since
Oct 20, 2007
Currently Being Moderated
Feb 6, 2013 3:37 PM in response to: Robert Bude
Re: multiple replace operations on selected parts of java code ?

Hi Robert,

 

You can use built-in replace by regexp as a workaround:

replace.png

Regarding the plugin - check my answer at another thread.

 

Denis

More Like This

  • Retrieving data ...