Development/Tips
VS Code에서 chatGPT 사용하기
2mukee
2023. 5. 15. 21:53
320x100
320x100
https://www.youtube.com/shorts/o9K5rS3o4zw
ChatGPT - EasyCode
라는 익스텐션인데, 로그인 없이 바로 사용을 할 수 있다고 합니다.
설치하고 try with account를 눌러서 사용하면 되네요
설치하면 VS Code 좌측에 아이콘이 표시되는데, 거기서 사용하시면 됩니다.
can you make web server with js?
라고 물어보니까
아래의 코드를 보여주네요
이거 물건입니다.
const http = require('http');
const server = http.createServer((req, res) => {
res.statusCode = 200;
res.setHeader('Content-Type', 'text/plain');
res.end('Hello, World!');
});
server.listen(3000, () => {
console.log('Server running on port 3000');
});300x250
728x90