[Feature Request] Customizing via sublime-settings. #85

Closed
ghost opened this Issue Oct 11, 2012 · 4 comments

Comments

Projects
None yet
1 participant
@ghost

ghost commented Oct 11, 2012

In my SublimeREPL.sublime-settings I have:

{
    "font_size": 18.0,  
    "vintage_start_in_command_mode": false,
    "lineNumbers": false
}

But when a load the repl, I don't get any of these. Are they supposed to work like this?

Owner

wuub commented Oct 11, 2012

Nope. This file is used only for customization of SublimeREPL settings: https://github.com/wuub/SublimeREPL/blob/master/SublimeREPL.sublime-settings

Most of the time repl views follow global SublimeText settings. There are only few exceptions. We turn off features that are annoying in the repl context. Those are mostly related to indentation detection and auto complete: https://github.com/wuub/SublimeREPL/blob/master/sublimerepl.py#L154

@ghost

ghost commented Oct 11, 2012

Thanks for clearing that up.

I've changed the issue to a feature request in hope that the sublime-settings file could be used to change any setting.

Owner

wuub commented Oct 28, 2012

As soon as 1.2.2 is released you will be able to place this in your SublimeREPL.sublime-settings file.

{
# (...)
    "repl_view_settings": {
        "translate_tabs_to_spaces": false,
        "auto_indent": false,
        "smart_indent": false,
        "indent_subsequent_lines": false,
        "detect_indentation": false,
        "auto_complete": false,
        "font_size": 18.0,  
        "vintage_start_in_command_mode": false,
        "line_numbers": false
    }
}

@wuub wuub closed this Oct 28, 2012

@ghost

ghost commented Oct 28, 2012

Most awesome. Thanks for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment