據 AlphaMoat 統計,截至 2026-10,Chrome 外掛 VSCode Chatgpt Easy Copy 使用者數為 37,環比 +12.1%,評分 1(1 人評價),在全部 10,555 款 AI 瀏覽器外掛中排名第 6,462 位,在「程式設計開發」分類(720 款)中排名第 428 位。
VSCode Chatgpt Easy Copy 是什麼
VSCode Chatgpt Easy Copy is a simple utility that copies code, text, and files from VSCode into ChatGPT's textarea using commands, removing the copy-paste round trip between editor and browser. Two components work together: the Chrome extension and a VSCode extension installed from the marketplace, both of which must be running. The VSCode side starts a websocket server on port 8765, the extension connects to it, and on command the selected text or file contents travel over the websocket to Chrome, where a service worker injects a function that fills ChatGPT's prompt textarea and sends. A content script pings the service worker every 20 seconds to keep it active even when VSCode is closed, and the worker retries connection every second, so opening VSCode reconnects automatically. Only one open ChatGPT tab receives a command when several are open, and refresh guidance covers the rare idle disconnect. It is built for developers who constantly move code into ChatGPT for explanation, review, or debugging.
- 01One-command copy of code or files into ChatGPT
- 02Websocket link between VSCode and the browser
- 03Automatic send after the prompt textarea is filled
- 04Keepalive pings to hold the service worker active
- 05Works with a companion VSCode extension
展開 Chrome 商店完整介紹▾
Directly copy selected code or files from vscode to a chatgpt tab in browser VSCode Chatgpt Easy Copy is a simple utility to make it slightly convenient to copy code/text and files from vscode into chatgpt's textarea using commands. There are two components in the utility - this chrome extension and a vscode extension. Both must be installed and running for it to work. The vscode counterpart can be installed from the extension marketplace or manually following the instructions at https://github.com/nikhils98/vscode-chatgpt-easy-copy/tree/main
- How it works?
The vscode extension initializes a websocket server at port 8765 on startup which the chrome extension connects to. On execution of a command, the selected text or contents of file(s) are sent to the chrome extension, via websocket, which manipulates chatgpt's DOM to input in the prompt textarea and send.
More information about the vscode extension can be found at https://github.com/nikhils98/vscode-chatgpt-easy-copy/tree/main/vscode
-- Service Worker This is where the crux of the logic resides for the chrome extension. It's a background script managing the websocket connection to the vscode extension and responsible for injecting a function to manipulate chatgpt's DOM when a command is received.
It uses chrome's scripting api (https://developer.chrome.com/docs/extensions/reference/api/scripting#description) to inject the function in runtime and requires host permissions for chatgpt to do so. A service worker can become inactive after 30s of idle time so to prevent that a keepalive message is sent to the websocket server every 20s.
In most circumstances, the service worker should be active as long as chatgpt or vscode is running but if it gets inactive at some point, you can try one of the following:
1. Refresh chatgpt tab. 2. Reload the extension from Extensions page. After reload, chatgpt tab must be refreshed as well.
-- Content Script: Ping Server Worker This runs only when chatgpt is open. It sends a ping message to the service worker every 20s to keep it active when vscode isn't open. Essentially if you open vscode after the service worker had become inactive, opening a tab of chatgpt will make it active again.
- Note:
1. At least one tab of chatgpt must be open. If multiple tabs are open, command is sent to only one. 2. You may see an error related to Websocket connection failure in extension console especially if installed manually. This will be the case when vscode is not running. It can be ignored as the service worker retries connection every second so when you run vscode it should connect.
外掛檔案
使用者增長趨勢
「程式設計開發」分類下的熱門外掛
Instant Data Scraper extracts web data into Excel or CSV using AI to detect relevant content.
+ 對比Stop phishing attempts at the point of click
+ 對比Blackbox is an AI coding assistant that answers programming questions and helps you work with code, GitHub, and on-page context directly in your browser.
+ 對比Ui.Vision records browser macros, replays them locally without coding, and adds computer vision, OCR and a built-in AI assistant.
+ 對比Fiktu AI Batch Save downloads web images in batches and uses AI to turn descriptions into collection rules.
+ 對比Browse safer with cloud-based antivirus that blocks phishing, malware, and harmful websites.
+ 對比資料月份:2026-10 · 使用者數與評分來自 Chrome 應用商店公開資料,按月聚合更新。口徑說明見資料方法。