Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/34j/vscode-composite-formatter

VSCode Formatter that Runs Multiple Formatters.
https://github.com/34j/vscode-composite-formatter

formatter vscode vscode-extension vscode-formatter

Last synced: about 2 months ago
JSON representation

VSCode Formatter that Runs Multiple Formatters.

Awesome Lists containing this project

README

        

# VSCode Composite Formatter

[![GitHub](https://img.shields.io/github/license/34j/vscode-composite-formatter?logo=github&logoColor=%23181717)](https://github.com/34j/vscode-composite-formatter)
[![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/mikoz.composite-formatter?logo=visual-studio-code&logoColor=%23007ACC)](https://marketplace.visualstudio.com/items?itemName=mikoz.composite-formatter)
[![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/mikoz.composite-formatter)](https://marketplace.visualstudio.com/items?itemName=mikoz.composite-formatter)

VSCode Formatter that Runs Multiple Formatters.

[![Install Now](https://img.shields.io/badge/-Install%20Now-107C10?style=for-the-badge&logo=visualstudiocode)](https://marketplace.visualstudio.com/items?itemName=mikoz.composite-formatter)

## Features

- Runs multiple formatters.

## Extension Settings

This extension contributes the following settings:

- `composite-formatter.formatters`: `string[]` An array of formatter ids, like `[\"ms-python.python\"]`.
- `composite-formatter.language`: `string` [Language id](https://code.visualstudio.com/docs/languages/identifiers#_known-language-identifiers), like `typescript`, `python`, `*`.
- `composite-formatter.scheme`: `string` Uri scheme, like `file`, `untitled`.
- `composite-formatter.pattern`: `string` A glob pattern that is matched on the absolute path of the document. Use a relative pattern to filter documents to a workspace folder, like `**​/*.{ts,js}` or `*.{ts,js}`.

## Notes

- It is not possible for a single extension to provide more than one Composite Formatter for the same language. This is a VSCode specification.
- An request for this feature has moved to backlog. ([Support multiple formatters for a single file · Issue \#142904 · microsoft/vscode](https://github.com/microsoft/vscode/issues/142904))