-
Notifications
You must be signed in to change notification settings - Fork 320
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
filename#L1-L2的問題 #172
Comments
看上去像是解析出问题了,有更全的 /write 我试试? |
測試起來是在DevInsCompiler 的 val propElement = id.nextSibling?.nextSibling 例如下面這段 /write:src/test/java/org/example/service/SpringRestServiceTest.java#L3-L4 ```java package org.example.service; import org.example.GradleProjectApplication; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; import static org.junit.jupiter.api.Assertions.*; @SpringBootTest public class SpringRestServiceTest { } ``` |
应该是之前支持 #L2C0-L3C12 的时候,引入了 bug: |
請問一下 DevInUsed 得用途是什麼呢?? |
auto-dev/exts/devins-lang/src/grammar/DevInParser.bnf Lines 39 to 50 in 7bb3d77
其中的 DevInUsed 指的就是
Lines 644 to 662 in 7bb3d77
|
原本 檔案名稱後面加上 #L1-L2 會針對指定的行數範圍去寫入內容,但是現在沒有作用
經過測試WriteInsCommand去呼叫LineInfo.fromString(argument)時
這個argument就沒有傳遞 #L1-L2,只有傳入filename而已
The text was updated successfully, but these errors were encountered: