Skip to content

2.0.0

Latest
Compare
Choose a tag to compare
@akatopo akatopo released this 24 Sep 17:38

New Features

  • Updated to work with the new Sublime Text 4 completion API

Bug Fixes

  • Fixed extraneous @ left when using auto_complete_selector and auto_complete_triggers settings (only in ST4, ST3 API doesn't allow replacing a trigger with another symbol)
  • Fixed missing : on Tab-completion in ST4
  • Fixed broken Tab-completion after @ in ST4

Note: If you define emojiCompletions/commitEmojiCompletions in the GithubEmoji user preferences:

  • and are still using Sublime Text 3, you need to add 3 to the key name: emojiCompletions3/commitEmojiCompletions3

  • and upgraded to Sublime Text 4, you need to add back the first colon : to the completion values in emojiCompletions, e.g.

    [":smiley: 😃\tsmiling face with open mouth", "smiley:"] becomes

    [":smiley: 😃\tsmiling face with open mouth", ":smiley:"]

    ...and remove the first colon : from the completion values in those keys in commitEmojiCompletions that don't start with a colon (since the colon will be automatically added by the plugin), e.g.

    ["version tag 🔖\t:bookmark:", ":bookmark:"] becomes

    ["version tag 🔖\t:bookmark:", "bookmark:"]

    but the keys starting with a colon are fine, e.g.

    [":bookmark: 🔖\tversion tag", ":bookmark:"] doesn't change

    ...and create a copy of commitEmojiCompletions under the name of commitEmojiCompletionsAuto and add the first commercial at @ to the completion triggers, e.g.

    [":bookmark: 🔖\tversion tag", ":bookmark:"] becomes

    ["@:bookmark: 🔖\tversion tag", ":bookmark:"] and

    ["version tag 🔖\t:bookmark:", ":bookmark:"] becomes

    ["@version tag 🔖\t:bookmark:", ":bookmark:"]

    this is needed to make autocompletion triggered via auto_complete_selector and auto_complete_triggers not leave an extraneous @