skip
skip copied to clipboard
LLM-friendlier syntax for `SKIP INSERT`
When I attempted to have an LLM agent write some multi-line code with SKIP INSERT, it simply refused to believe that it should write the code like this:
// SKIP INSERT:
// var count by remember {
// mutableStateOf(100)
// }
It would repeatedly try to convert the code to this:
// SKIP INSERT:
var count by remember {
mutableStateOf(100)
}
That is, the LLM assumed that the code was commented out.
I think it would be better to offer another syntax for embedding multi-line Kotlin in Swift. Perhaps something like:
// SKIP INSERT:
let _ = #```
var count by remember {
mutableStateOf(100)
}
```#