Horizontal scrollbar in sublime text3, how to activate?

3

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

Does anyone know what I can do to enable the scroll bar for files with .CTP extension?

    
asked by anonymous 22.01.2015 / 19:57

1 answer

5

I wanted to comment, but I do not have permission.

Access the VIEW menu and disable the WORD WRAP option.

Oryoucanset"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":
    [
    ]
}
    
22.01.2015 / 20:00