0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

VSCodeの拡張機能Genie AIを使ってみた

Posted at

ChatGPT-Genie AI

宇宙最強魔人:man_with_turban:
https://marketplace.visualstudio.com/items?itemName=genieai.chatgpt-vscode

設定

  • インストールしたら、とりあえずOpenAiのAPI Key(以下のリンクから取得)を設定。
    https://platform.openai.com/account/api-keys
  • このままでもいろいろできるけど、回答を日本語にしてほしいので質問文を日本語化。
    設定の諸々に「in japanese」を追加。以下は例。命令を日本語訳にするのでも良さそう。
Add comments for the following code -> Add comments for the following code in japanese

使ってみた

  • Add tests
    選択したコードのテストを追加

  • Find bugs
    選択したコードのバグを分析

  • Optimize
    選択したコードに提案を追加して改善

  • Explain
    選択したコードを説明

  • Add comments
    選択したコードにコメントを追加

こんな感じでサイドバーに出る。Insertとかできる。
キャプチャ.PNG

まとめ

コーディング効率化できそう!機密情報とかを送らないように注意。

残件
他の設定もあとで見る。
他にもコマンドあるので見ておく。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?