1. ChatGPT를 VSCODE에디터에서 직접 사용할 수 있게해주는 확장프로그램이다.


2.  https://platform.openai.com/account/api-keys

create new secret key를 생성하고 키값을 복사한다.

 

OpenAI API

An API for accessing new AI models developed by OpenAI

platform.openai.com


3. VSCODE 환경설정에 들어간다.


4. aicode 검색을해서 복사한 키값을 GptKey에 입력한다.

그리고 바로아래 Language 에 사용할 언어를 입력한다. KOREAN

 


5. 그리고 사용해보자.

control + alt + shift + z :  자동주석

control + alt + shift + r :  코드리팩토링

control + alt + shift + c :  코드리뷰

control + alt + shift + g : 자연어명령을 코드로 생성해줌

control + alt + shift + m : 메시지응답


ctrl + alt + shift + g

+ Recent posts