-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/wirte 在1.75版之後失效 #143
Comments
应该是 bug 了 |
…andAction for better performance and error handling #143
@phodal 希望作者可以加入 針對不存在檔案可以自動產生檔案而不要報錯 |
@ymli0215 你要的这个功能应该加了,可以试试 |
@ 如果是有資料夾路徑的話
他就會報錯誤 Error running 'write.devin' Invalid file name: 'len/test2.java' 但我改成,檔案路徑沒有資料夾
|
哦,bug 了,我处理一下, |
…#143 Additionally, spike on TypeScript rename behavior in RenameLookupManagerListener.
前面没处理好,等这个 bug 跑完就可以下载了:https://github.com/unit-mesh/auto-dev/actions/runs/8627964871 |
@phodal 回報一下 這版測試,應該是程式中有用 File.separator 來處理,所以導致要分成windows/Mac兩種情況了
|
@ymli0215 那就只改成 / 方式 ? |
應該可以寫死/了,提供的範例全部都是 / 謝謝 |
没有失败,或者从这里下载:https://github.com/unit-mesh/auto-dev/releases/tag/v1.8.1 我刚好在测试一个 JB 市场的问题。 |
回報結果 已經測試完畢,新檔案/新資料夾都可以正常建立了 謝謝 |
@ymli0215 有新需求,欢迎来 issue |
@phodal 因為正在嘗試透過 agent 來做一些連續性的流程
我是透過nodejs來寫一個agent
|
新建个 issue? 方便区别,顺便给一下建议? |
上述的內容,在1.73版可以正常執行且寫入到檔案中
但1.75版之後就無法成功,會跳出chat panel,並出現下面的訊息,就是想透過chat來解決問題
You are a top software developer in the world, which can help me to fix the issue. When I use shell-like language and compile the script, I got an error, can you help me to fix it? Origin script: ```devin /write:len/README.md
public class Controller {
public void method() {
System.out.println("Hello, World!");
}
}
`` ` Script with result: #### : Must not change document outside command or undo-transparent action. See com.intellij.openapi.command.WriteCommandAction or com.intellij.openapi.command.CommandProcessor
看到比較有關的log是 : Read access is allowed from inside read-action (see Application.runReadAction())
嘗試把原有內容改成下方內容
雖然執行結果成功,但是並沒有真的寫文字到指定檔案中..
可以許願讓 /write 可以自動產生不存在的檔案嗎???
這樣可以讓產生test code的情境上更加方便,不用先新增檔案後才能去/write
The text was updated successfully, but these errors were encountered: