「AI/Copilot/Github」の版間の差分
提供: 初心者エンジニアの簡易メモ
(→自動追記してもらう方法) |
(→自動追記してもらう方法) |
||
行18: | 行18: | ||
} | } | ||
</pre> | </pre> | ||
+ | |||
+ | ==referencesを削除する== | ||
+ | vscodeの検索で、"editor.codeLens"を入れて、"Editor: Code Lens"のチェックを外せばよい。 | ||
+ | |||
+ | 参考:https://qiita.com/unsoluble_sugar/items/6985aba97a5a89ca609f | ||
==参考== | ==参考== | ||
https://www.kagoya.jp/howto/it-glossary/develop/githubcopilot/ | https://www.kagoya.jp/howto/it-glossary/develop/githubcopilot/ |
2025年4月17日 (木) 04:24時点における版
github_copilotとは
エディタ上で常にアドバイスしてくれるAI
設定方法
https://github.com/settings/copilot
VSCodeでの使い方
- VSCodeメニューのCode/基本設定/拡張機能を選択
- 検索に"copilot"をいれ、"Github Copilot"をインストール
- VSCodeのCopilotからgithubへログインする
自動追記してもらう方法
適当にVSCodeで、以下のようなコード"public void Helloworld()"を書くと、灰色文字で、追加情報を貰える、問題なければ"承諾"すれば、記述される。
public void Helloworld() { Debug.Log("Hello World"); }
referencesを削除する
vscodeの検索で、"editor.codeLens"を入れて、"Editor: Code Lens"のチェックを外せばよい。
参考:https://qiita.com/unsoluble_sugar/items/6985aba97a5a89ca609f
参考
https://www.kagoya.jp/howto/it-glossary/develop/githubcopilot/