# vs-shell-format
**Repository Path**: mirrors_opencollective/vs-shell-format
## Basic Information
- **Project Name**: vs-shell-format
- **Description**: the shellscript、Dockerfile、properties ...... format extension
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-09-25
- **Last Updated**: 2026-03-08
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# star 🚀 ⭐️ ⭐️ ⭐️ ⭐️ ⭐️
Issue
[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 |
---
| | | | |
| -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|  |  |  |  |
|  |  |  |  |
---
| build | release |
| :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| [](https://foxundermoon.visualstudio.com/vs-shell-format/_build/latest?definitionId=1&branchName=master) | [](https://dev.azure.com/foxundermoon/vs-shell-format/_build/latest?definitionId=4&branchName=master) |
[](https://gitter.im/vs-shell-format/community)
---

## 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
### [self source code](https://github.com/foxundermoon/vs-shell-format)
### [shfmt](https://github.com/mvdan/sh)
**Enjoy shellscript!**