TeamSQL / desktop-app

This repository is currently being used for hosting the official issue & bug tracker of TeamSQL Desktop App.
102 stars 6 forks source link

Multi-Cursor or Multiple Cursors and Select Next, Support in Query Editor #488

Closed JamesHamiltonDotCodes closed 5 years ago

JamesHamiltonDotCodes commented 5 years ago

Multi-Cursor and Select Next Support

One feature I've wished and hoped for in any SQL browser/editor is the ability to edit SQL code in a similar way that I can with Atom.io and Sublime text.

This would be a very powerful feature if added to TeamSQL and would make a lot of DBAs and Developers so happy and thankful for increased efficiency and productivity: Animated Image, Demo Select Next and Multi-Cursors in an SQL Query Link to Demo Animated Gif: https://imgur.com/a/FBvqwt1

Multi-Cursors sometimes called Multiple Cursors is a very useful feature that I use daily in Atom.io editor as well as in Sublime Text 3. I also use another feature in atom editor called Select Next which is another way I am able to start to select and use multiple cursors in Atom. Usage example:

Say I wanted to correct all instances of the words orderTable in a sql query and change to orderTbl. If it worked like Atom or Sublime, I could highlight the first occurrence of the word orderTable, pressed Cmd+D to highlight the next occurrence, continue to do so, then use the left arrow key to change my multiple selections into multiple cursors.

This is a fabulous example of multi-cursors in action in atom: Animated Image, Showing Multiple Cursors

This is an example of using Select Next feature to create multiple text selections: Animated Image, Showing Select Next

Related Links: Multi-Cursor Package from Atom.io: https://atom.io/packages/multi-cursor Multi-Cursor Plus Package Atom.io https://atom.io/packages/multi-cursor-plus You-Tube Demo Multi-Cursors in Sublime: https://www.youtube.com/watch?v=5UyWX5nhgck Multiple-Selection/Multi-Cursors Keyboard Shortcut Documentation in Sublime: https://www.sublimetext.com/docs/3/multiple_selection_with_the_keyboard.html

JamesHamiltonDotCodes commented 5 years ago

seems this feature is in team sql -- thank you -- i just found the new sql editor that i will be forever using!!!

AWESOME! :-)