Skip to content

Is it possible to run cargo build from opened Cargo.toml? #179

Closed
@pravic

Description

@pravic

Currently I need to open some .rs file to access Cargo build commands from Sublime despite of I already have Cargo.toml file opened.

Quick search pointed me to the selector property of build description. Is it possible to place 2 selectors there, like source.rust|source.toml?

Currently as a workaround I copied Cargo.sublime-build as CargoToml.sublime-build with source.toml selector in there, because it seems that "Build System -> Cargo" command is global-wide in Sublime, not syntax-specific.

Sublime Text Version

Sublime Text 3 (Build 3131)

Rust Enhanced Version

1.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions