Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yokawasa/vscode-jaconv
VS Code extension that performs half-width (“Hankaku”) - full-width (“Zenkaku”) conversion for Japanese “kana” and ascii
https://github.com/yokawasa/vscode-jaconv
hankaku hebon hiragana jaconv japanese katakana normalization romaji typescript vscode vscode-extension zenkaku
Last synced: 21 days ago
JSON representation
VS Code extension that performs half-width (“Hankaku”) - full-width (“Zenkaku”) conversion for Japanese “kana” and ascii
- Host: GitHub
- URL: https://github.com/yokawasa/vscode-jaconv
- Owner: yokawasa
- Created: 2019-08-21T11:49:53.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-30T02:23:06.000Z (7 months ago)
- Last Synced: 2024-04-30T03:23:48.774Z (7 months ago)
- Topics: hankaku, hebon, hiragana, jaconv, japanese, katakana, normalization, romaji, typescript, vscode, vscode-extension, zenkaku
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=yokawasa.vscode-jaconv
- Size: 1.14 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# vscode-jaconv
VS Code extension that performs half-width (“Hankaku”) - full-width (“Zenkaku”) conversion for Japanese “kana” and ascii using [jaconv](https://github.com/kazuhikoarase/jaconv) node.js module.![](assets/vscode-jaconv.gif)
Thanks to [@kazuhikoarase](https://github.com/kazuhikoarase) for a great module ([jaconv](https://github.com/kazuhikoarase/jaconv))! 🙏🙏
## Installation
- Open the `Command Palette` of VS Code with `Ctrl + P` or `Cmd + P`(MacOS)
- And type: `ext install yokawasa.vscode-jaconv`or find at [Marketplace](https://marketplace.visualstudio.com/items?itemName=yokawasa.vscode-jaconv)
## Usage
Select text that you want to convert, then execute `JaConv Commands` command from command palette.
![](assets/command-palette.png)
Choose one of the sub commands (quick pick items) that will actually perform half-width (“Hankaku”) - full-width (“Zenkaku”) conversion for the selected text.
![](assets/subcommands.png)
## Command & Sub Commands
| Command | Shortcut | Description |
| --- | --- | --- |
| `JaConv Commands` | `Ctrl+Shift+r`
(Mac: `Cmd+Shift+r`) | Show Quick Pick Items - a list of jaconv sub commands || Sub Command | Description |
| --- | --- |
|`toHebon` | Convert full-width Hiragana to half-width Ascii with Hebon-style letters|
|`toKatakana`| Convert full-width Hiragana to full-width Katakana |
|`toHiragana`| Covert full-width Katakana to full-width Hiragana|
|`toHanAscii`| Convert full-width Ascii to half-width |
|`toZenAscii`| Convert half-width Ascii to full-width |
|`toHanKana` | Convert full-width Katakana to half-width |
|`toZenKana` | Convert half-width Katakana to full-width |
|`toHan` | Convert full-width Ascii & Katakana to half-width |
|`toZen` | Convert half-width Ascii & Katakana to full-wiwdth|
|`normalize` | Convert full-width Ascii to half-width, and half-width Katakana to full-width |## Change Log
See [Change Log](CHANGELOG.md)## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/yokawasa/vscode-jaconv