Alex Rivera | Logout

Notepad++ Multi editing

Asked 2010-08-10T20:30:39.037
178

How can I have multiple cursors in Notepad++?

I will have a couple of tab delimited values . I need to write a query for all of these values. For example, if I get an Excel file with values like this:

1234 xyz pqr
2345 sdf kkk
...

I want to copy this whole piece of data into Notepad++ and write the query, inserting all the values at once.

Like this:

Insert into tbl (1234, xyz) where clm = 'pqr'
Insert into tbl (2345, sdf) where clm = 'kkk'
...

I used to do it with my previous text editor Ultraedit. Can this be done using Notepad++?

Edit
Report

1 Answer

1

Notepad++ only has column editing. This is not completely the same as multiple cursors.

Sublime Text has a marvelous implementation of this, might be worth checking out...
It's a relatively new editor (2011) that is gaining popularity quite fast: http://www.google.com/trends/explore#q=Notepad%2B%2B%2C%20Sublime%20Text&cmpt=q

Edit: Apparently somewhere around Notepad++ version 6.x multi-cursor editing got added, but there are still a few more advanced features for it in Sublime, like "select next occurrence".

answered 2013-02-19T08:52:48.903

Your Answer