Eclipse has block selection? Awesome! err.. finally

Just noticed this “block selection” feature in eclipse. What this lets you do is select a block of text instead of just lines. Suppose you wanted to copy

1 class Hello:
2        def __init__(self):
3                  print “hello”

If you wanted to copy this, I’d put in vim and run :%s/^\(\d\+\)\s //g [Double check this]
to remove the line numbers or depending on how much I’d like to tinker, perl.. Now I can just do it in eclipse. Something I’ve wanted to do since my pre-regexp days..

Notepad++ has had this feature since forever, but its nice to see this in eclipse finally.
http://www.vasanth.in/2009/03/31/eclipse-tip-block-selection-mode/

Granted, it doesn’t really really add much for me personally, I’ve heard a bunch of people ditching eclipse for Notepad++, so here you go!
Cheers!

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Reddit
  • Slashdot
  • description
  • LinkedIn
  • Live
  • StumbleUpon
  • Technorati

Leave a comment

Your comment