Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/34j/vscode-composite-formatter
- Owner: 34j
- License: mit
- Created: 2022-09-02T14:50:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-22T11:31:07.000Z (over 2 years ago)
- Last Synced: 2024-10-07T16:22:16.327Z (3 months ago)
- Topics: formatter, vscode, vscode-extension, vscode-formatter
- Language: TypeScript
- Homepage:
- Size: 57.6 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
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))