From f54d5b45ed6b4b9112b5e6586835df0cec4f048c Mon Sep 17 00:00:00 2001 From: Yeray Diaz <6739793+yeraydiazdiaz@users.noreply.github.com> Date: Wed, 20 Mar 2024 22:12:06 +0000 Subject: [PATCH] Add menu Settings are not available otherwise unless the user knows where they're installed. --- CHANGELOG.md | 4 ++++ Main.sublime-menu | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 Main.sublime-menu diff --git a/CHANGELOG.md b/CHANGELOG.md index 92a3384..fa1c90a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Unreleased + +- Add settings menu + ## 1.0.0 (2024-03-10) - Add option to format JSON responses based on settings: diff --git a/Main.sublime-menu b/Main.sublime-menu new file mode 100644 index 0000000..c23de39 --- /dev/null +++ b/Main.sublime-menu @@ -0,0 +1,38 @@ +[ + { + "mnemonic": "n", + "caption": "Preferences", + "id": "preferences", + "children": [ + { + "mnemonic": "P", + "caption": "Package Settings", + "id": "package-settings", + "children": [ + { + "caption": "REST Client", + "children": [ + { + "caption": "Settings – Default", + "command": "open_file", + "args": { + "file": "${packages}/REST Client/REST.sublime-settings" + } + }, + { + "caption": "Settings – User", + "command": "open_file", + "args": { + "file": "${packages}/User/REST Client/REST.sublime-settings" + }, + }, + { + "caption": "-" + } + ] + } + ] + } + ] + } +]