Close Except/Like Plugin

Introduction

This plugin allows you to close a group of documents based on their extension and path.

Using the Close Except/Like Plugin

Assumed you have these documents opened in Kate:

/tmp/subfolder/test.h
/tmp/test.cpp
/tmp/test.txt

Then you have the following options to close documents as displayed in the screenshot:

Use the checkbox in the last item of the list to enable or disable a confirmation dialog. The selected option will be applied to both close actions.

Menu Structure

FileClose Except

Close all open documents, except those which match the path or file extension selected from the submenu.

FileClose Like

Close all open documents which match the path or file extension selected from the submenu.