Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/foxundermoon/vs-shell-format

the shellscript、Dockerfile、properties ...... format extension
https://github.com/foxundermoon/vs-shell-format

bash-format dockerfile dotenv hosts hostsfile properties shell-extension shell-format shfmt vmoptions vscode-extension vscode-plugin

Last synced: about 2 months ago
JSON representation

the shellscript、Dockerfile、properties ...... format extension

Awesome Lists containing this project

README

        

[Get it on the VS Code Marketplace!](https://marketplace.visualstudio.com/items?itemName=foxundermoon.shell-format)

# supported file types or languages

| language | extension | describe |
| ----------- | ------------------------ | --------------------- |
| shellscript | .sh .bash | shell script files |
| dockerfile | Dockerfile | docker files |
| ignore | .gitignore .dockerignore | ignore files |
| properties | .properties | java properties files |
| jvmoptions | .vmoptions , jvm.options | jvm options file |
| hosts | /etc/hosts | hosts file |
| bats | .bats | Bats test file |

---

| | | | |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| ![version](https://img.shields.io/visual-studio-marketplace/v/foxundermoon.shell-format?style=flat-square) | ![downloads](https://img.shields.io/visual-studio-marketplace/d/foxundermoon.shell-format?style=flat-square) | ![install](https://img.shields.io/visual-studio-marketplace/i/foxundermoon.shell-format?style=flat-square) | ![ratings](https://img.shields.io/visual-studio-marketplace/stars/foxundermoon.shell-format?style=flat-square) |
| [![Financial Contributors on Open Collective](https://opencollective.com/vsformat/all/badge.svg?label=financial+contributors)](https://opencollective.com/vsformat) ![LICENSE](https://img.shields.io/badge/license-mit-blue.svg) | ![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg) | ![star](https://img.shields.io/github/stars/foxundermoon/vs-shell-format.svg) | ![forks](https://img.shields.io/github/forks/foxundermoon/vs-shell-format.svg) |

---

| build | release |
| :-------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| [![CI](https://github.com/foxundermoon/vs-shell-format/actions/workflows/CI.yml/badge.svg)](https://github.com/foxundermoon/vs-shell-format/actions/workflows/CI.yml) | [![RELEASE](https://github.com/foxundermoon/vs-shell-format/actions/workflows/CD.yml/badge.svg)](https://github.com/foxundermoon/vs-shell-format/actions/workflows/CD.yml) |

[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.svg)](https://gitter.im/vs-shell-format/community)

---

![screenshot](https://github.com/foxundermoon/vs-shell-format/raw/master/image/shell_format.gif)

## usage

shift+option+f

shift+command+p then type `Format Document`

## dependencies

- [shfmt](https://github.com/mvdan/sh#shfmt)

## custom configuration

- `shellformat.path` the shfmt fullpath example [mac,linux]: `/usr/local/bin/shfmt` [windows]: `C:\\bin\\shfmt.exe`
- `shellformat.flag` shfmt -h to see detailed usage.

---

## Links

### [source code](https://github.com/foxundermoon/vs-shell-format)

### [shfmt](https://github.com/mvdan/sh)

**Enjoy shellscript!**

## Contributors

### Code Contributors

This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].

### Financial Contributors

Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/vsformat/contribute)]

#### Individuals

#### Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/vsformat/contribute)]