Question

I'm trying to edit in column selection mode on Rubymine but I have some lines I wish to skip. In the code below I would like to edit both "to_change" at the same time. I wish to duplicate the cursor and every edit action will occur in them both. In this code if I will select the start of both "to_change" and press '#', the code here:

def a
  to_change
end

def b
  to_change
end  

will turn to

def a
  #to_change
end

def b
  #to_change
end  
Was it helpful?

Solution

Multiple selection/editing is not supported yet, you can follow this feature request.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top