ide-php icon indicating copy to clipboard operation
ide-php copied to clipboard

Functions don't fold completely when HEREDOC is used

Open mrthebob opened this issue 5 years ago • 1 comments

Prerequisites

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

  1. Create a function/method
  2. Add a heredoc string
  3. 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

mrthebob avatar Oct 21 '20 05:10 mrthebob

Was this not the right place to raise this issue? Still have it. 100% reproduceable - all the time.

mrthebob avatar May 11 '21 23:05 mrthebob