Notepad++ randomize, sort lines random

Notepad++ randomize, sort lines random

Notepad++ randomize lines

Using Notepad++, it is very simple to randomize a list of lines, going from an organized list to a random one, as seen above.

To do so, make sure you have installed Python Script plugin – if not, see Notepad++ install Python Script plugin with Plugin Manager. We will then install the RandomizeLines.py for Notepad++ from github.

Open RandomizeLines.py details on github, and copy the content in your clipboard.

Create a file RandomizeLines.py in your local Notepad++ folder > plugins > PythonScript > scripts folder

Open this file for example with Notepad++, and paste the code from RandomizeLines.py details on github

Restart Notepad++, and, in the file containing the lines to randomize open (and eventually text selected if you don’t want to randomize the whole file), select the option RandomizeLines in menu Plugins => Python Script => Scripts

And enjoy the result !

Shuffle lines in text file Windows

The best way to shuffle lines in text file on Windows, is to use notepad++ shuffle lines tool.

Download Notepad++, install the Python shuffle lines in file files, and use Notepad++ to randomize lines in any text file.

How to sort in Notepad++

You can easily sort in Notepad++ by using the TextFX > TextFX tools > sort lines, either case sensitive or not, and ascending or descending.

How to randomize files in a folder

It is not possible to randomize files in a folder, as the folder display is ordered by the column you want in Explorer. However, you can assign them random names, which will make them appear sorted at random.

Randomizing Files in a Folder

How to sort text in Notepad++

In order to sort text in Notepad++, install the plugin TextFX tools. Then, select the text you want to sort in Notepad++, and go to menu TextFX > TextFXTools > Sort lines.

By selecting the sort lines case sensitive option, the text will be sorted taking in consideration the case of the letters. If the output unique option is selected, same text with different case will be kept. Be selecting the sort lines case insensitive option, if two lines have the same text with different case, they will be treated as being the same text.

Remove Duplicates, Remove Blank Lines, and Sort Data in Notepad++

Read more

Similar articles

Comments (16)

Keith Brooks, 2018-08-19
Так вот как мы это делаем, отлично знаем
Fernando Warner, 2018-08-19
Tive um ótimo tempo lendo essas informações, mantenha o bom trabalho
Harriet Sanders, 2018-08-19
あなたのコンテンツを読んだり、投稿を続けたりすることを愛する
Kelly Burgess, 2018-08-19
偉大な、それはまさに私が探していたものです、今私は準備ができています
Leland Poole, 2018-08-19
좋아, 그게 내가 찾고 있던 바로 그거야, 이제 나는 준비 됐어.
Marion Myers, 2018-08-19
Basit, açık ve iyi açıklanmış, çok teşekkürler
Karen Morgan, 2018-08-19
Exactly what I was looking for, perfect
Aaron Torres, 2018-08-19
Tam olarak aradığım şey mükemmeldi
Cynthia Lopez, 2018-08-19
Trang web tuyệt vời, hãy tiếp tục
Diane Carter, 2018-08-19
Sí, eso es lo que necesitaba
Incheria, 2018-08-19
Մեծ կայքը, խնդրում ենք շարունակել
VETSSEROROARDj, 2018-08-19
ありがとう、それは純粋な天才です、ありがとう
ferrava2, 2018-08-19
Bra bit av information, tack för delningen
racmebabyX, 2018-08-19
وای، این واقعا ساده است، آن را امتحان کن
Vigentinom, 2018-08-19
Tapak hebat, sila teruskan
pervencasv, 2018-08-19
ਵਾਹ, ਇਹ ਅਸਲ ਵਿੱਚ ਇਹ ਬਹੁਤ ਅਸਾਨ ਹੈ, ਹੁਣ ਇਸਦੀ ਕੋਸ਼ਿਸ਼ ਕਰੇਗਾ

Leave a comment