Undesired unfolding after each save

Hello, working with vue project, each time i save any .js file - any parts i have folded got unfolded, i also lose custom folding regions I have defined. What is happening and how to stop it? I suspect it is something to do with ESLint. Thank you! 

5 comments
Comment actions Permalink

Do you have any "on save" actions configured? Please check Settings | Tools | Actions on Save

0
Comment actions Permalink

Removing to run Prettier on save has solved the issue. However, prettier is not being run now and the solution is only half satisfactory :/

0
Comment actions Permalink

Any ideas what might cause Prettier processing on SAVE to lose folding?

0
Comment actions Permalink

in this case the file is modified by external process, it's not clear how to preserve the folding state in such case

0

Please sign in to leave a comment.