An open API service indexing awesome lists of open source software.

https://github.com/trianguloy/collapseclosingtags

Jetbrains plugin to collapse XML closing tags so that they are displayed as </>
https://github.com/trianguloy/collapseclosingtags

jetbrains jetbrains-plugin plugin

Last synced: 4 months ago
JSON representation

Jetbrains plugin to collapse XML closing tags so that they are displayed as </>

Awesome Lists containing this project

README

          

# Collapse Closing Tags (Jetbrains plugin)

[![Verify plugin](https://github.com/TrianguloY/CollapseClosingTags/actions/workflows/verify.yml/badge.svg)](https://github.com/TrianguloY/CollapseClosingTags/actions/workflows/verify.yml)
[![Version](https://img.shields.io/jetbrains/plugin/v/18020.svg)](https://plugins.jetbrains.com/plugin/18020)
[![Downloads](https://img.shields.io/jetbrains/plugin/d/18020.svg)](https://plugins.jetbrains.com/plugin/18020)

This plugin allows collapsing ending xml tags:

From:

![pre](https://github.com/TrianguloY/CollapseClosingTags/blob/main/pre.png?raw=true)

To:

![post](https://github.com/TrianguloY/CollapseClosingTags/blob/main/post.png?raw=true)

They are implemented using the IDE folding features, so you can use the collapse/expand actions and its keywords.

Additionally, it includes an entry in the right-click menu to collapse all detected tags in the file (if any).

## Installation

- Using IDE built-in plugin system:

Settings/Preferences > Plugins > Marketplace > Search for "Collapse Closing
Tags"
>
Install Plugin

- Manually:

Download the [latest release](https://github.com/TrianguloY/CollapseClosingTags/releases/latest) and install it manually using
Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

---
Plugin originally based on the [IntelliJ Platform Plugin Template](https://github.com/JetBrains/intellij-platform-plugin-template), but later removed to simplify everything.