0

I opened my php file and suddenly I see all the code in 1 line.

I'm using Notepad++

How can I fix it? Is there any option in the menu that I can use?

Thanks

3 Answers 3

2

Sounds like the file was last edited on Linux. Look on the Edit menu. There should be an item named "EOL conversion". That will convert back to Windows line endings.

2
  • I fix it manually, but when I view the file source (CTRL+U) I see all the code in 1 line...
    – Roi
    Oct 10, 2013 at 13:29
  • Ctrl-U in your browser? (as opposed to Notepad++)
    – ct_
    Oct 10, 2013 at 13:31
0

This might help

and this

Look for similar questions on SO always before posting one.

0

You can go to View and select Word Wrap.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.