Open cassandraMetro opened 7 years ago
Hello, I've found out some more info on that issue. Issue is present in normal mode and fakevim mode.
Steps to reproduce:
open new file in editor
paste the following code into it: package main import "fmt" func main() { fmt.Print("aaa") } func somefunc() { fmt.Print("bbb") }
now click on small triangle on the left of somefunc to collapse that function.
now put the cursor somewhere in the middle of aaa
insert " character
the somefunc() gets uncollapsed now.
the same happens if you put the cursor right behind Print( and insert { or (
If you are working on a large file with 20 collapsed functions and all of them are un-collapsed just because you edit one line. It takes you 2 minutes to collapse all functions again...
Hope it helps :-)
Axel
Hello, liteide supports "folding" parts of the code (i.e. functions, if's, switch statements,...) by clicking on the small triangle in the left column (near the line numbers). But very often all collapsed parts get unfolded so I have to collapse them again. Could you please have a look on it? Thank you !
Using liteide X31; fakevim is activated.
Thank you! Axel