Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加命令行拼音输入 #10

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ All notable changes to the "google-pinyin" extension will be documented in this

Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.

## 0.1.7 - 2024-10-24

### Added

- Add ability to switch between half-width and full-width punctuation
- New status bar icon shows the current punctuation mode

## 0.1.6 - 2024-06-23

### Added

- Send a notification when pinyin input is enabled/disabled
- Add support for pinyin input in the integrated terminal
- Make sure to set "terminal.integrated.commandsToSkipShell" as described in the README

## [Unreleased]

- Initial release
57 changes: 53 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,59 @@

`"ctrl+space"` to enable/disable pinyin

`"1"-"8"` to choose th n-th
`"1"-"9"` to choose the n-th candidate

`"space"` to choose the first
`"space"` to choose the first candidate

`"enter"` to input the english
`"enter"` to type exactly the input (ignore pinyin)

`"-"`, `"+"` to turn to the prev/next page
`"-"`, `"+"` to turn to the prev/next page of candidates

To enable pinyin input in the integrated terminal, add the following values to "terminal.integrated.commandsToSkipShell" in settings.json (create the key if it doesn't exist):
```json
"terminal.integrated.commandsToSkipShell": [
"google-pinyin.toggle",
"google-pinyin.width",
"google-pinyin.typing-terminal.a",
"google-pinyin.typing-terminal.b",
"google-pinyin.typing-terminal.c",
"google-pinyin.typing-terminal.d",
"google-pinyin.typing-terminal.e",
"google-pinyin.typing-terminal.f",
"google-pinyin.typing-terminal.g",
"google-pinyin.typing-terminal.h",
"google-pinyin.typing-terminal.i",
"google-pinyin.typing-terminal.j",
"google-pinyin.typing-terminal.k",
"google-pinyin.typing-terminal.l",
"google-pinyin.typing-terminal.m",
"google-pinyin.typing-terminal.n",
"google-pinyin.typing-terminal.o",
"google-pinyin.typing-terminal.p",
"google-pinyin.typing-terminal.q",
"google-pinyin.typing-terminal.r",
"google-pinyin.typing-terminal.s",
"google-pinyin.typing-terminal.t",
"google-pinyin.typing-terminal.u",
"google-pinyin.typing-terminal.v",
"google-pinyin.typing-terminal.w",
"google-pinyin.typing-terminal.x",
"google-pinyin.typing-terminal.y",
"google-pinyin.typing-terminal.z",
"google-pinyin.typing-terminal.comma",
"google-pinyin.typing-terminal.period",
"google-pinyin.typing-terminal.enumperiod",
"google-pinyin.typing-terminal.exclamation",
"google-pinyin.typing-terminal.question",
"google-pinyin.typing-terminal.colon",
"google-pinyin.typing-terminal.semicolon",
"google-pinyin.typing-terminal.lparen",
"google-pinyin.typing-terminal.rparen",
"google-pinyin.typing-terminal.lbracket",
"google-pinyin.typing-terminal.rbracket",
"google-pinyin.typing-terminal.lbrace",
"google-pinyin.typing-terminal.rbrace",
"google-pinyin.typing-terminal.langle",
"google-pinyin.typing-terminal.rangle"
]
```
Loading