Show HN: Codeulator lets you pair with ChatGPT in Visual Studio and VS Code
by p031985s on 7/18/2023, 3:51:41 PM
Hey there...
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
Hey there...
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