Horizontal scroll bar in the sublime text3, how to activate?

Asked

Viewed 1,567 times

3

I use Sublime text 3 in my cakephp projects. By default the html files in cake have the extension . ctp and when I need to tinker with a file. ctp where I have a very large line of code it gives a line break instead of giving me the option of a horizontal scroll bar as is done with the files . PHP

Does anyone know what I can do to enable the scroll bar for files with extension . CTP?inserir a descrição da imagem aqui

1 answer

5


I wanted to comment, but I’m not allowed.

Go to the menu VIEW and turn off the option WORD WRAP.

inserir a descrição da imagem aqui

Or you can define "word_wrap": false, in your sublime settings file Settings - User (Preferences.sublime-Settings).

Exemplifying how it would look:

{
    "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
    "font_size": 11,
    "word_wrap": false,
    "ignored_packages":
    [
    ]
}
  • Thank you very much guy, it worked out here. In 10 minutes I accept your reply.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.