Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/talljack/vscode-auto-space
Auto Add Space between Chinese and English
https://github.com/talljack/vscode-auto-space
space vscode-extension
Last synced: 12 days ago
JSON representation
Auto Add Space between Chinese and English
- Host: GitHub
- URL: https://github.com/talljack/vscode-auto-space
- Owner: Talljack
- License: mit
- Created: 2023-04-08T01:41:35.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-17T08:50:02.000Z (10 months ago)
- Last Synced: 2024-05-01T19:59:49.649Z (9 months ago)
- Topics: space, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=talljack.vscode-auto-space
- Size: 917 KB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Auto Add Space between Chinese and English
Auto add space between Chinese and English.
![autoAddSpace](https://user-images.githubusercontent.com/34439652/230905590-b70f26dd-8ea8-4d5b-a4ea-b414c259edee.jpg)
## Configuration
| key | default-value | type | description |
| ---------------------------- | ------------- | ------------------ | -------------------------------------------- |
| autoAddSpace.formatOnSave | true | boolean | Execute auto add space when on file save |
| autoAddSpace.formatOnDocument | false | boolean | Execute add space on Format Document command |
| autoAddSpace.spaceType | 'all' | 'all' \| 'comment' | Auto Add Space's type |
| autoAddSpace.excludedExtensions | [] | string[] | List of file extensions to exclude from processing (e.g., ['txt', 'md']). Do not include the dot in the extension. |### Excluding Files
You can exclude specific file types from being processed by adding their extensions to the `autoAddSpace.excludedExtensions` setting. For example:
```json
{
"autoAddSpace.excludedExtensions": ["txt", "md"]
}
```This will prevent the extension from modifying files with `.txt` and `.md` extensions, preserving their original content.
## CHALNGELOG
更多的更新日志请查看 [CHANGELOG](./CHANGELOG.md)
## License
[MIT](./LICENSE) License 2023 [Talljack](https://github.com/talljack)