• 0

Sublime Text Multiple Cursors in Netbeans, Eclipse & Visual Studio


Question

Hi,

 

This is both a cry for multiple cursors and also a question about how multiple cursors really work. Sublime Text basically changed the game in terms of programming. However, it is still a pretty editor and not an IDE like Netbeans or Visual Studio. If I am not mistaking Sublime was created by a single programmer... whereas Visual Studio, Netbeans and Eclipse has an army of people behind it. Yet... I still cannot do the following:

 

I want to select the first four occurrences of the variable $test in one attempt.

$test = "123";
echo "garbage $test";
echo "garbage garbage";
echo "garbage $test";
echo "garbage $test";
echo "garbage garbage";
echo "garbage garbage";
echo "garbage $test";

Using Sublime Text it's pretty easy... you just select $test and press CMD/CTRL+D or whatever shot-cut you assigned to select one occurrence at a time. But in Netbeans, Visual Studio and Eclipse they have rectangular selection, smart selection or whatever.... why no one created an identical multiple cursor plugin already??

 

Now the other question is... how exactly multiple cursors work? What creates those new instances of each cursor? I might be able to create a plugin of my own... and share it with the world.

2 answers to this question

Recommended Posts

  • 0

There's multiple options for this for Visual Studio already.  (the Multi-Select plugin, CodeRush, ReSharper, etc have it too).  Been a while since I've used Eclipse, I think there's a plugin called something to the effect of "MultiCursor" if I remember right, I'd be surprised if there weren't others too.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Source: Reuters Clearly, not everyone cares about its CEO's shenanigans. 
    • Sgt Klinger just sounds wrong. I know he made sergeant before end of show, but will always know him as Corporal Klinger. Very sad to hear of Loretta's passing. She definitely helped make the show what it was. 
    • For some reason, Neowin has now pulled this disclaimer pointing out that this survey is utterly useless since it doesn't track the same user data over time (even though Valve has the real information, of course). What it really tracks, without revealing it, is what games are popular each month, who is too busy to answer a dumb survey from month to month, and which cultures (e.g. the Chinese are primarily on expired W10 machines) are gaming in force from wave to wave on whatever game is in vogue at the time. Therefore, these specific surveys, being voluntary and non-consistent, remain nothing but worthless clickbait garbage. They tell us nothing of useful substance regarding actual trends over time.
    • For some reason, Neowin has now pulled this disclaimer pointing out that this survey is utterly useless since it doesn't track the same user data over time (even though Valve has the real information, of course). What it really tracks, without revealing it, is what games are popular each month, who is too busy to answer a dumb survey from month to month, and which cultures (e.g. the Chinese are primarily on expired W10 machines) are gaming in force from wave to wave on whatever game is in vogue at the time. Therefore, these specific surveys, being voluntary and non-consistent, remain nothing but worthless clickbait garbage. They tell us nothing of useful substance regarding actual trends over time.
    • Microsoft will not prevent Windows 11 24H2 or 25H2 or 26H2 from stopping working on those who do not have NPU. This is something very specific to those who want to use Copilot+, only for content creators. Windows 11 works on all hardware released since 2019. It's been 6 years. Any 6-year-old PC has full support for Windows 11. NPU is already standard on mobile phone CPUs and will now be a new standard on PC and notebook CPUs.
  • Recent Achievements

    • Week One Done
      Epaminombas earned a badge
      Week One Done
    • Week One Done
      Prestige Podiatry Care earned a badge
      Week One Done
    • Week One Done
      rollconults earned a badge
      Week One Done
    • One Month Later
      lilred1938 earned a badge
      One Month Later
    • Week One Done
      lilred1938 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      132
    2. 2
      Xenon
      131
    3. 3
      ATLien_0
      123
    4. 4
      +Edouard
      103
    5. 5
      snowy owl
      94
  • Tell a friend

    Love Neowin? Tell a friend!