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

add setclipbord function #9

Merged
merged 1 commit into from Oct 27, 2021
Merged

Conversation

ShortArrow
Copy link
Contributor

やったこと

翻訳結果をクリップボードにコピーする機能を追加しました。

やらないこと

他の機能の変更はありません。

できるようになること(ユーザ目線)

replace()、translate()と同じ結果がクリップボードにコピーされます。
下記のような作業を行うときにひと手間減ります。
例として、i18-nextで使用する翻訳ファイルのdiffを示します。

{
"はい": "Yes"
- "いいえ": ""
+ "いいえ": "No"
}

できなくなること(ユーザ目線)

なし

動作確認

  1. npm run compileし、vscodeデバッガにてExtentionを選択し実行。
  2. konjac-apiを自身のgAppsにInstallしAPIのURLを設定。
  3. 右クリックメニューから setclipbord 機能を実行
  4. 翻訳結果が貼り付けられるか確認
  5. コマンドバーから実行して同様の結果が得られるか確認

その他

Pull Request の仕方が間違っていましたらご指摘ください。

Copy link
Owner

@wata wata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ShortArrow ありがとうございます!

@wata wata merged commit 9bf874a into wata:master Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants