TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Codeulator lets you pair with ChatGPT in Visual Studio and VS Code

2 点作者 ghughes将近 2 年前
Codeulator is a plugin that gives ChatGPT the magical ability to join a VS Live Share session and collaborate on your code in real-time. It enables read&#x2F;write access to your shared Visual Studio or VS Code workspace, including all files and terminal output.<p>The intent is to streamline coding tasks that you&#x27;re already accomplishing with ChatGPT - except now you can forget about copy&#x2F;pasting chunks of code, having to tell the AI what changes you&#x27;re making, etc. It&#x27;s built to facilitate complex requests while working within ChatGPT&#x27;s limited context window. (If you&#x27;re curious: we use various strategies to mitigate this issue, e.g. a draft-then-commit model for writes, and heuristics to selectively apply lossy compression when ChatGPT wants to read a large amount of code, among other tricks.)<p>Codeulator is great for: implementing features across multiple files; fixing broken code and tests; analyzing and asking questions about a codebase.<p>Demo video: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=zYr17WbDIcc">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=zYr17WbDIcc</a><p>I&#x27;ll be keeping an eye on this post, so please try it out and report any feedback.

1 comment

p031985s将近 2 年前
Hey there...<p>i wan to use your tool, but it doesn&#x27;t work, GPT try to write and it say done and the document never changes, and many errors.<p>{ &quot;liveShareUrl&quot;: &quot;<a href="https:&#x2F;&#x2F;prod.liveshare.vsengsaas.visualstudio.com&#x2F;join?9BC52B81155BBB89007CB3D022673CC195EF" rel="nofollow noreferrer">https:&#x2F;&#x2F;prod.liveshare.vsengsaas.visualstudio.com&#x2F;join?9BC52...</a>&quot;, &quot;path&quot;: &quot;_exe&#x2F;Class&#x2F;debug.php&quot;, &quot;analysisGoal&quot;: &quot;List all functions in the file&quot; } An error occurred while executing the plugin.<p>&#x2F;&#x2F;&#x2F;&#x2F;&#x2F;&#x2F;&#x2F;&#x2F;&#x2F;&#x2F; { &quot;liveShareUrl&quot;: &quot;<a href="https:&#x2F;&#x2F;prod.liveshare.vsengsaas.visualstudio.com&#x2F;join?9BC52B81155BBB89007CB3D022673CC195EF" rel="nofollow noreferrer">https:&#x2F;&#x2F;prod.liveshare.vsengsaas.visualstudio.com&#x2F;join?9BC52...</a>&quot;, &quot;path&quot;: &quot;_exe&#x2F;Class&#x2F;debug.php&quot;, &quot;operations&quot;: [ { &quot;order&quot;: 1, &quot;op&quot;: &quot;insert&quot;, &quot;params&quot;: { &quot;anchorText&quot;: &quot;}&quot;, &quot;newCode&quot;: &quot;\n\n public function write() {\n &#x2F;&#x2F; Function body goes here\n }&quot;, &quot;relativePosition&quot;: &quot;after&quot;, &quot;indentSpaces&quot;: 0, &quot;indentTabs&quot;: 0 } } ] }<p>&#x2F;&#x2F;&#x2F;&#x2F;&#x2F;&#x2F;&#x2F;&#x2F;&#x2F; Draft ID: 1<p>--- _exe&#x2F;Class&#x2F;debug.php +++ _exe&#x2F;Class&#x2F;debug.php @@ -1,8 +1,12 @@ -&lt;?php -class debug { - private $logDirectory; - - public function __construct($logDirectory) { - $this-&gt;logDirectory = $logDirectory; - } -} +&lt;?php +class debug { + private $logDirectory; + + public function __construct($logDirectory) { + $this-&gt;logDirectory = $logDirectory; + } + + public function write() { + &#x2F;&#x2F; Function body goes here + } +}<p>But if a open the file, it has any change.<p>I hope it can be helpful...<p>Thank you.<p>David