|
|
|
Show HN: Codeulator lets you pair with ChatGPT in Visual Studio and VS Code
(codeulator.com)
|
|
2 points
by ghughes
1064 days ago
|
|
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/write access to your shared Visual Studio or VS Code workspace, including all files and terminal output. The intent is to streamline coding tasks that you're already accomplishing with ChatGPT - except now you can forget about copy/pasting chunks of code, having to tell the AI what changes you're making, etc. It's built to facilitate complex requests while working within ChatGPT's limited context window. (If you'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.) Codeulator is great for: implementing features across multiple files; fixing broken code and tests; analyzing and asking questions about a codebase. Demo video: https://www.youtube.com/watch?v=zYr17WbDIcc I'll be keeping an eye on this post, so please try it out and report any feedback. |
|
i wan to use your tool, but it doesn't work, GPT try to write and it say done and the document never changes, and many errors.
{ "liveShareUrl": "https://prod.liveshare.vsengsaas.visualstudio.com/join?9BC52...", "path": "_exe/Class/debug.php", "analysisGoal": "List all functions in the file" } An error occurred while executing the plugin.
////////// { "liveShareUrl": "https://prod.liveshare.vsengsaas.visualstudio.com/join?9BC52...", "path": "_exe/Class/debug.php", "operations": [ { "order": 1, "op": "insert", "params": { "anchorText": "}", "newCode": "\n\n public function write() {\n // Function body goes here\n }", "relativePosition": "after", "indentSpaces": 0, "indentTabs": 0 } } ] }
///////// Draft ID: 1
--- _exe/Class/debug.php +++ _exe/Class/debug.php @@ -1,8 +1,12 @@ -<?php -class debug { - private $logDirectory; - - public function __construct($logDirectory) { - $this->logDirectory = $logDirectory; - } -} +<?php +class debug { + private $logDirectory; + + public function __construct($logDirectory) { + $this->logDirectory = $logDirectory; + } + + public function write() { + // Function body goes here + } +}
But if a open the file, it has any change.
I hope it can be helpful...
Thank you.
David