ide-php
ide-php copied to clipboard
Functions don't fold completely when HEREDOC is used
Prerequisites
- [x] Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
When HEREDOC is used, if you try to fold a method, it only folds down to the closing heredoc and no further
Steps to Reproduce
- Create a function/method
- Add a heredoc string
- Attempt to fold the method
Expected behavior:
The method should fold completele
Actual behavior:
The method only folds down to the closing of the (first) heredoc within the function
Reproduces how often:
100%
Versions
Atom : 1.52.0 Electron: 6.1.12 Chrome : 76.0.3809.146 Node : 12.4.0
Additional Information
Was this not the right place to raise this issue? Still have it. 100% reproduceable - all the time.