sublime_text icon indicating copy to clipboard operation
sublime_text copied to clipboard

One json to rule all configs

Open ryuukk opened this issue 1 year ago • 2 comments

Problem description

When i write a plugin, i don't want to write 54545454 different files for configs

It bloats the folder structure, it's hard to identify the right file to edit, just let me open one single file and do my edits there

Preferred solution

a single file: my-plugin.sublime

{
    // correspond to: my-plugin.sublime-commands
    "commands": {
    },

    // correspond to: my-plugin.sublime-settings
    "settings": {
    },

    // correspond to: my-plugin.sublime-menu
    "menu": {
    },

    // etc..
}

Alternatives

Can't think of an alternative

Additional Information

No response

ryuukk avatar Jun 20 '24 11:06 ryuukk

The advantage of multiple files though, is that you can override them individually. E.g. from my User/ package I may want to override another package's menus, commands displayed in the palette, etc.

giampaolo avatar Jul 01 '24 07:07 giampaolo