naokazuterada / MarkdownTOC

SublimeText3 plugin which generate a table of contents (TOC) in a markdown document.
https://packagecontrol.io/packages/MarkdownTOC
MIT License
301 stars 48 forks source link

Open settings side-by-side with one command instead of separately in two commands #163

Closed mariohuq closed 3 years ago

mariohuq commented 3 years ago

Purpose

See, how internal Settings open. There is one menu item:

settings menu

And it opens default settings and user-specified:

image

This is done with edit_settings command (in .sublime-menu file):

{
    "command": "edit_settings",
    "args": { "base_file": "${packages}/.../....sublime-settings" },
    "caption": "Settings"
}

This can be implemented for MarkdownTOC too!

How important it is

Not so important but easy to implement

Ideal implementation


{
    "command": "edit_settings",
    "args": { "base_file": "${packages}/.../....sublime-settings" },
    "caption": "Settings"
}