Skip to content

Project settings not being applied #44

@jpcirrus

Description

@jpcirrus

When worksheet settings are applied in .sublime-project they are not being applied.

To test: add the Python virtualenv settings from README.md to a project's settings, but change the prefix (and cmd path to the virtualenv python) to have an additional > like so:

"settings": {
    "worksheet_languages": {
        "Python": {
            "cmd": "/path/to/virtualenv/bin/python -i",
            "prompt": [">>> ", "\\.\\.+ "],
            "prefix": "# >> ",
            "error": ["Traceback ", "  File \"<stdin>\","]
        },
    }
}

Then evaluate a Python view and the project specific prefix is not used. This applies to the other settings as well. It also makes no difference if Sublime is started from the shell in an active virtualenv.

This is with ST2 2.0.2, build 2221 on OS X and sublime-worksheet a153ad8972

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions