[Extension] Close Multiple Tabs

I like how other apps like Visual Studio Code have several ways to close multiple tabs at once so I made a plugin that does that for Aseprite too.

Admittedly, it’s a little janky since the Aseprite API for tabs isn’t that fleshed out yet. If the tab API is expanded on in the future, then I can update the extension to get rid of its quirks.

Download

You can download the latest version here.

Installation Steps

  • Must have Aseprite downloaded
  • Tested on Aseprite v1.3.14.4, may or may not work on earlier versions
  1. Download the .aseprite-extension file through the download link

  2. Double-click the file

  3. Click through prompts to install the plugin

How to Use

  1. Right-click on a tab in Aseprite

  2. You can add shortcuts for each option by going to Edit > Keyboard Shortcuts

Limitations

  • The plugin creates a dummy file and a dummy frame in order to determine which tabs it should close, then removes them
    • Sometimes you can see the dummy file being removed
    • This causes the active tab becomes “modified” after closing multiple tabs
  • If any of the closing tabs were modified, you cannot use the Cancel button in the save dialog - it will lead to an loop. You need to choose to Save or Don’t Save