Saltar a contenido

Ruby

Configuraciones

Aca se encuentran algunas recomendaciones sobre las configuraciones iniciales.

VScode

Siguiendo la guia de VScode. Pueden incluir en las configuraciones de vscode lo siguiente Ctrl+Shift+P o F1:

    // RUBY
    // PointerAlignment: Left, BeforeElse: true,
    //  BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false
    "ruby.format": "rubocop",
    "ruby.format": "misogi.ruby-rubocop",

Última actualización: 9 de enero de 2023