Skip to content

enhancement idea: use sublime.find_resources to pick up recommended AutoSetSyntax rules from other packages #21

@keith-hall

Description

@keith-hall

Hi,

Thanks for this really useful plugin. Sometimes I am developing syntax definition packages, and update my local User AutoSetSyntax.sublime-settings user_syntax_rules (and I plan to contribute those here as default_syntax_rules when time permits). But I had the idea, how cool it would be if AutoSetSyntax would automatically pick up "recommended" syntax rules from other packages (i.e. by using sublime.find_resources for specifically named files), and inject them between the default_syntax_rules and user_syntax_rules. So users can still override the behavior even on a project basis. The advantage would be:

It would be easier to manage my packages because I would be able to see what rules it ships with, rather than having to go to the AutoSetSyntax package's settings and manually look for what rules apply for my packages...

Hopefully with all the debugging tools AutoSetSyntax supplies, it wouldn't make maintenance harder for you if a package ships rules which confuse users...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions