martes, diciembre 30, 2014

Personalizar Sublime Text 3

Les comparto mi configuración perzonalizada para Sublime-Text-3.

Entre las que destacan.
  • Desactivar el ajuste de línea.
  • Cambiar de color las pestañas con archivos modificados.
  • Eliminar espacios en blanco al final de las lineas, despues de guardar.
  • Mostrar en la barra de estado el tipo de codificación
  • Resaltar la linea en donde se encuentra el cursor.
  • Remarcar el recuadro en el minimapa.

Así se ve la configuración personalizada.
Solo hay que entrar en Menú --> Preferences --> Settings - User y pegar las siguientes líneas.



// Settings in here override those in "Default/Preferences.sublime-settings",
// and are overridden in turn by file type specific settings.

{
    // Adds whitespace up to the first open bracket when indenting. Requires
    // auto_indent to be enabled.
    "indent_to_bracket": true,

    // Disables horizontal scrolling if enabled.
    // May be set to true, false, or "auto", where it will be disabled for
    // source code, and otherwise enabled.
    "word_wrap": "false",


    // Controls auto pairing of quotes, brackets etc
    "auto_match_enabled": true,

    // Set to true to draw a border around the visible rectangle on the minimap.
    // The color of the border will be determined by the "minimapBorder" key in
    // the color scheme
    "draw_minimap_border": true,

    // Always visualise the viewport on the minimap, as opposed to only
    // showing it on mouse over
    "always_show_minimap_viewport": true,

    // If enabled, will highlight any line with a caret
    "highlight_line": true,

    // Valid values are "smooth", "phase", "blink" and "solid".
    "caret_style": "smooth",

    // Set to false to not highlight angle brackets. This only takes effect if
    // match_brackets is true
    "match_brackets_angle": true,

    // Controls how the indent guides are drawn, valid options are
    // "draw_normal" and "draw_active". draw_active will draw the indent
    // guides containing the caret in a different color.
    "indent_guide_options": ["draw_active"],

    // Set to true to removing trailing white space on save
    "trim_trailing_white_space_on_save": true,

    // Makes tabs with modified files more visible
    "highlight_modified_tabs": true,

    "show_tab_close_buttons": true,

    // Display file encoding in the status bar
    "show_encoding": true,

    // Display line endings in the status bar
    "show_line_endings": true,
}



HAPPY CODING!

.