atom-fold-comments
atom-fold-comments copied to clipboard
Autofold is not working for me
If autofold is supposed to automatically fold comments when I open new files, its not working for php files for me.
Manual folding by calling the command with the command palette works fine.
Actually toggling it once also made new files fold comments, so it kind of works but not as I expected.
@nextgenthemes I'm sorry that it's not working as expected! You are very welcome to take a look at the code and make a pull request if you feel like there would be a benefit from changing the behavior - this is open source!
Not a JS programmer, I am better with PHP. Obviously this is open source, I stick to reporting on this one if you don't mind.
What I expect is that when the autofold option it turned on that new files/projects opened ... actually start with comments folded. I can only guess how it works, it seems you have have to trigger it once every time when you open a new project or something. I just had to manually trigger it again.
Or maybe the trigger to folding everything is for the entire project?
@nextgenthemes I definitely don't mind, but I do not have the same issue, nor do I have time to fix this for you - sorry! You'd have to take a shot at it anyway or see if maybe someone else is willing to help.
I have the same issue with block comments in a C source file. Autofold does not work, but using toggle, fold all or unfold all works fine.
@PositivePaulo ok, so what is your plan, given the context of this thread?