Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stop Brackets Editor from wrapping my code (HTML,CSS,JS or PHP)

How can i stop Brackets editor from wrapping my code onto the next-line. If my code line is too long for my screen, i prefer to scroll horizontally rather than have my editor fold or wrap it, making it had for me to understand my own code blocks.

I have tried looking for extensions...that didn't work. I also tried to look for settings which seem to be non existent or minimal.

like image 708
Lukesoft Avatar asked May 19 '15 11:05

Lukesoft


People also ask

How do I stop CSS content wrapping?

If you want to prevent the text from wrapping, you can apply white-space: nowrap; Notice in HTML code example at the top of this article, there are actually two line breaks, one before the line of text and one after, which allow the text to be on its own line (in the code).

How do you stop wrapping in HTML?

To prevent the text from wrapping, you can use the CSS white-space property with the “nowrap” or “pre” value.

Is Brackets good for JavaScript?

Brackets has good support for JavaScript, CSS, HTML, and Node. js. It also has nice features such as inline editing of CSS related to an HTML ID (Quick Edit). In addition, Brackets features a clean UI and a live preview for web pages you are editing.

Is Brackets good for HTML?

Brackets is the workhorse for developing HTML and CSS projects. There is a lot of overlap in the world of text editors, and we actually use several, as they are useful for different things.


1 Answers

There's View > Word Wrap toggle which you can use to disable this option.

like image 83
IceWave Avatar answered Sep 23 '22 10:09

IceWave