Search code examples
javascriptnotepad++text-editor

Split lines to make the code more comprehensible in notepad++


I am trying to modify a js file (It's the first time I try it) and I got something very difficult to understand for me, a mess of inline code with no breaks.

screenshot

I need it to be clean to be able to understand it, so I've been looking for a solution to break up the text into lines that represents something. I tried to split the lines where the semicolon are, but it didn't solved much.

I remember there where a program that was able to do something similar with css (I can't remember it's name).

Is it possible to do it with notepad++? if not, do you know which program can actually do it?

Thank you


Solution

  • Try using a code beautifier for your javascript, it is currently in 'minified' version.

    Example: https://beautifier.io/